Repository navigation
test(workers): cover redirected shared worker startup - #44158
Conversation
This comment has been minimized.
This comment has been minimized.
🟢 All three failures predate this PRHi, I'm the Playwright bot. I checked the failed MCP run and found the same three failures on Details and evidenceThis covers MCP run 43966901964 at Pre-existing flake / infra All three
The PR job has the same three failures. They are confirmed pre-existing failures; this comparison does not establish whether they are intermittent or identify their root cause. No change to this PR is needed for these failures. Checked the failures on Linux by the Playwright bot - agent run |
This comment has been minimized.
This comment has been minimized.
🟢 Both failures predate this PRHi, I'm the Playwright bot. I checked the failed Details and evidenceThis covers run 43966896620 at Pre-existing flake / infra
These are confirmed pre-existing test failures, not demonstrated intermittent flakes. The - expect(byDefault['classname']).toBe('auth/a.test.js');
+ expect(byDefault['classname']).toBe(path.join('auth', 'a.test.js'));No change to the worker test is needed. The separate MCP failures already have a verdict in the earlier comment. Checked the failures on Linux by the Playwright bot - agent run |
| expect(text).toContain(`console.log('hello from the worker');`); | ||
| }); | ||
|
|
||
| it('WO-032 should run a shared worker after redirected dedicated workers', { |
There was a problem hiding this comment.
this should be after WO-031
There was a problem hiding this comment.
Moved WO-032 to the end of workers.spec.ts to keep the tests in numeric order. WO-031 is in browsercontext-service-worker-policy.spec.ts; the registry already lists WO-032 after it.
Revised on Linux - agent run
This comment has been minimized.
This comment has been minimized.
|
Moved Build and full lint passed. The worker tests and related files passed on Chromium, Firefox and WebKit on Linux: 97 passed, 8 skipped. Revised on Linux - agent run |
d085c9c to
30c0e75
Compare
Test results for "MCP"3 failed 5243 passed, 641 skipped Merge workflow run. |
Test results for "tests 1"2 failed 2 flaky23643 passed, 716 skipped Merge workflow run. |
Cover relative script redirects and helper imports for a SharedWorker started after classic and module workers. The reported stall did not reproduce on Linux with 1.65.0 or main, including 600 two-CPU runs per version; this adds coverage without claiming a fix.
A separate test is needed because the existing dedicated-worker redirect test asserts network events that SharedWorkers do not expose, while the SharedWorker restart test checks page lifecycle without redirects.
Issue: #44134
Triaged on Linux - agent run