Skip to content

Add View button to navigation link blocks #129882

Add View button to navigation link blocks

Add View button to navigation link blocks #129882

Triggered via pull request August 12, 2025 11:24
Status Success
Total duration 29m 28s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
10s
Merge Artifacts
Report to GitHub
4m 30s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 8 notices
[chromium] › test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:114:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions: test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L127
2) [chromium] › test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:114:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('button', { name: 'Add block' }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('button', { name: 'Add block' }) 125 | name: 'Add block', 126 | } ); > 127 | await expect( blockAppender ).toBeVisible(); | ^ 128 | await blockAppender.click(); 129 | 130 | const blockListBox = page.getByRole( 'listbox', { name: 'Blocks' } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:127:33
[chromium] › test/e2e/specs/editor/blocks/navigation.spec.js:361:3 › Navigation block › Focus management › Focus management when creating navigation links: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › test/e2e/specs/editor/blocks/navigation.spec.js:361:3 › Navigation block › Focus management › Focus management when creating navigation links Error: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/index.php?rest_route=/wp/v2/navigation/ - user-agent: Playwright/1.54.2 (x64; ubuntu 24.04) node/20.19 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 19e5fe406f - content-type: application/json - content-length: 90 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1755171095%7CHcvAvALEhbztVsLpPNICat04uVbcuWBWPqdEHFdin1s%7Cd9f086127b9fe011e33291ff1150b84c332b1a65d5962cb05853a8d9c9946f8d; wp-settings-time-1=1754998296 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119 117 | 118 | try { > 119 | const response = await this.request.fetch( url, { | ^ 120 | ...fetchOptions, 121 | failOnStatusCode: false, 122 | headers: { at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39) at RequestUtils.deleteAllMenus (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/menus.ts:81:30) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:35:17
[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: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected) Locator: getByTestId('red-from-link') Expected string: "rgb(255, 0, 0)" Received string: "rgb(160, 12, 60)" 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
2 skipped 209 passed (5.6m)
🎭 Playwright Run Summary
2 flaky [chromium] › test/e2e/specs/editor/blocks/navigation.spec.js:361:3 › Navigation block › Focus management › Focus management when creating navigation links [chromium] › test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:114:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions 1 skipped 203 passed (7.8m)
🎭 Playwright Run Summary
1 skipped 209 passed (7.9m)
🎭 Playwright Run Summary
1 skipped 207 passed (7.4m)
🎭 Playwright Run Summary
1 skipped 209 passed (8.2m)
🎭 Playwright Run Summary
217 passed (8.5m)
🎭 Playwright Run Summary
3 skipped 189 passed (10.3m)
🎭 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.3m)

Artifacts

Produced during runtime
Name Size Digest
failures-artifacts
6.24 MB
sha256:e14d5165a83981e30995e6b1c2b2c188b05025cb0ebfe8fbed7eafb6575e461f
flaky-tests-report
3.96 KB
sha256:78bdf2a2f0c0c0514682524c0def07767321106cd6c6ba4df7abd87e5f7376ed