Editor: Fix theme stylesheet injection in 'useAvailablePatterns' #130373
Annotations
3 errors and 1 notice
[chromium] › test/e2e/specs/interactivity/router-styles.spec.ts:292:6 › Router styles › should refresh the page when stylesheet loading fails:
test/e2e/specs/interactivity/router-styles.spec.ts#L308
1) [chromium] › test/e2e/specs/interactivity/router-styles.spec.ts:292:6 › Router styles › should refresh the page when stylesheet loading fails
Error: "page.unroute: Test ended." while running route callback.
Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })`
before the end of the test to ignore remaining routes in flight.
306 | await page.route( linkPattern, async ( route ) => {
307 | await route.abort( 'failed' );
> 308 | await page.unroute( linkPattern );
| ^
309 | } );
310 |
311 | // Navigate to the page with the Red block
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-styles.spec.ts:308:15
|
[chromium] › test/e2e/specs/interactivity/router-styles.spec.ts:292:6 › Router styles › should refresh the page when stylesheet loading fails:
test/e2e/specs/interactivity/router-styles.spec.ts#L0
1) [chromium] › test/e2e/specs/interactivity/router-styles.spec.ts:292:6 › Router styles › should refresh the page when stylesheet loading fails
Tearing down "page" exceeded the test timeout of 100000ms.
|
[chromium] › test/e2e/specs/interactivity/router-styles.spec.ts:292:6 › Router styles › should refresh the page when stylesheet loading fails:
test/e2e/specs/interactivity/router-styles.spec.ts#L315
1) [chromium] › test/e2e/specs/interactivity/router-styles.spec.ts:292:6 › Router styles › should refresh the page when stylesheet loading fails
Error: expect(locator).toHaveCSS(expected) failed
Locator: getByTestId('red-from-link')
Expected string: "rgb(255, 0, 0)"
Received string: "rgb(160, 12, 60)"
Timeout: 5000ms
Call log:
- Expect "toHaveCSS" with timeout 5000ms
- waiting for getByTestId('red-from-link')
2 × locator resolved to <p class="red-from-link" data-testid="red-from-link">Red from link</p>
- unexpected value "rgb(160, 12, 60)"
- waiting for" http://localhost:8889/?p=33&disable_server_directive_processing=true" navigation to finish...
313 |
314 | await expect( csn ).toBeHidden();
> 315 | await expect( red ).toHaveCSS( 'color', COLOR_RED );
| ^
316 | await expect( redBlock ).toBeVisible();
317 | } );
318 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-styles.spec.ts:315:23
|
🎭 Playwright Run Summary
1 flaky
[chromium] › test/e2e/specs/interactivity/router-styles.spec.ts:292:6 › Router styles › should refresh the page when stylesheet loading fails
1 skipped
224 passed (16.2m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
failures-artifacts
|
3.83 MB |
sha256:0cfc187069108dfef8336d18b5c96d8775f13629c6167fec01f2991cb0a58ad7
|
|
flaky-tests-report
|
2.62 KB |
sha256:77e62ece935a43d1c89dcaa4656589a8cc682c6875ad44703203ee39fad5ec2f
|
|