Skip to content

RTC: Add e2e block gauntlet #149716

RTC: Add e2e block gauntlet

RTC: Add e2e block gauntlet #149716

Triggered via pull request March 26, 2026 18:51
Status Success
Total duration 29m 33s
Artifacts 4

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
56s
Merge Artifacts
Report to GitHub
1m 41s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 8 notices
[chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling: test/e2e/specs/editor/various/publish-panel.spec.js#L33
2) [chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeFocused() failed Locator: locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]') Expected: focused Received: inactive Timeout: 5000ms Call log: - Expect "toBeFocused" with timeout 5000ms - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]') 9 × locator resolved to <button type="button" aria-expanded="true" aria-disabled="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button> - unexpected value "inactive" 31 | 32 | // Test focus is moved back to the Publish panel toggle button. > 33 | await expect( publishPanelToggleButton ).toBeFocused(); | ^ 34 | } ); 35 | 36 | test( 'should move focus back to the Publish panel toggle button after publishing and closing the panel', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:33:44
[chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling: test/e2e/specs/editor/various/publish-panel.spec.js#L33
2) [chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling Error: expect(locator).toBeFocused() failed Locator: locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]') Expected: focused Received: inactive Timeout: 5000ms Call log: - Expect "toBeFocused" with timeout 5000ms - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]') 9 × locator resolved to <button type="button" aria-expanded="true" aria-disabled="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button> - unexpected value "inactive" 31 | 32 | // Test focus is moved back to the Publish panel toggle button. > 33 | await expect( publishPanelToggleButton ).toBeFocused(); | ^ 34 | } ); 35 | 36 | test( 'should move focus back to the Publish panel toggle button after publishing and closing the panel', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:33:44
[chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted: packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted › Paragraph and Group blocks are available in the inserter TimeoutError: locator.getAttribute: Timeout 10000ms exceeded. Call log: - waiting for locator('[name="editor-canvas"]').contentFrame().getByText('Initial content') at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26 24 | : endSelectorOrLocator; 25 | > 26 | const startClientId = await startBlock.getAttribute( 'data-block' ); | ^ 27 | const endClientId = await endBlock?.getAttribute( 'data-block' ); 28 | 29 | if ( endClientId ) { at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:163:18 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:159:15
[chromium] › test/e2e/specs/editor/blocks/site-title.spec.js:45:7 › Site Title block › Cannot edit the site title as editor: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
2) [chromium] › test/e2e/specs/editor/blocks/site-title.spec.js:45:7 › Site Title block › Cannot edit the site title as editor Error: apiRequestContext.fetch: socket hang up Call log: - → POST http://localhost:8889/index.php?rest_route=/wp/v2/settings - user-agent: Playwright/1.58.2 (x64; ubuntu 24.04) node/20.20 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 72be28af7f - content-type: application/json - content-length: 21 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1774724298%7C8sP0rgij9uzRHfcJMIjFSutKxidQycKkA8tYrIDwpVX%7C6ea5438d66ef03823d1904edcf37275763b15528c27daeaed79b062f7350c610; wp-settings-time-1=1774551547 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.updateSiteSettings (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/site-settings.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/site-title.spec.js:14:22
[chromium] › test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:528:3 › Navigation block - Frontend interactivity › Legacy openSubmenusOnClick backward compatibility › Should render and migrate legacy openSubmenusOnClick blocks: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L615
1) [chromium] › test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:528:3 › Navigation block - Frontend interactivity › Legacy openSubmenusOnClick backward compatibility › Should render and migrate legacy openSubmenusOnClick blocks › Save post and verify migration was written to database Error: expect(received).toContain(expected) // indexOf Expected substring: "\"submenuVisibility\":\"click\"" Received string: "<!-- wp:navigation {\"openSubmenusOnClick\":true,\"overlayMenu\":\"never\"} --> <!-- wp:navigation-submenu {\"label\":\"Products\"} --> <!-- wp:navigation-link {\"label\":\"Product 1\",\"url\":\"#\"} /--> <!-- wp:navigation-link {\"label\":\"Product 2\",\"url\":\"#\"} /--> <!-- /wp:navigation-submenu --> <!-- wp:navigation-link {\"label\":\"About\",\"url\":\"#\"} /--> <!-- /wp:navigation -->" 613 | const content = savedPost.content.raw; 614 | > 615 | expect( content ).toContain( '"submenuVisibility":"click"' ); | ^ 616 | expect( content ).not.toContain( 'openSubmenusOnClick' ); 617 | } ); 618 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:615:23 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:593:4
🎭 Playwright Run Summary
3 skipped 239 passed (11.0m)
🎭 Playwright Run Summary
3 skipped 236 passed (11.8m)
🎭 Playwright Run Summary
2 flaky [chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted [chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling 5 skipped 231 passed (12.6m)
🎭 Playwright Run Summary
1 skipped 239 passed (12.5m)
🎭 Playwright Run Summary
246 passed (12.5m)
🎭 Playwright Run Summary
6 skipped 237 passed (14.3m)
🎭 Playwright Run Summary
5 skipped 238 passed (16.0m)
🎭 Playwright Run Summary
2 flaky [chromium] › test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:528:3 › Navigation block - Frontend interactivity › Legacy openSubmenusOnClick backward compatibility › Should render and migrate legacy openSubmenusOnClick blocks [chromium] › test/e2e/specs/editor/blocks/site-title.spec.js:45:7 › Site Title block › Cannot edit the site title as editor 255 passed (23.3m)

Artifacts

Produced during runtime
Name Size Digest
blob-reports-merged
10.1 MB
sha256:50abc15ee8959582cfb19610f280f5868bc01a008bf063d0d4c6b8467e145c74
failures-artifacts
6.49 MB
sha256:de6a33d1ea30b9f15e660f578e4349ab3c35c3ff6aaa9e362f8bdf3b7657a1e6
flaky-tests-report
4.88 KB
sha256:18eed9cbe12cdc5c9a176945065bf1a241101443e0454c2685dc6329d3306e3d
html-report--attempt-1
9.55 MB
sha256:d2ab471992c28447b33f545161c2a473079b44ec73c076b10d681480e9a05eae