Skip to content

Add stylebook screen for classic themes #121158

Add stylebook screen for classic themes

Add stylebook screen for classic themes #121158

Triggered via pull request December 6, 2024 05:34
Status Failure
Total duration 17m 29s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
9s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 9 warnings, and 8 notices
[chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.: test/e2e/specs/site-editor/template-part-focus-mode.spec.js#L44
1) [chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back. TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Back' }) 42 | 43 | // Go back > 44 | await page.getByRole( 'button', { name: 'Back' } ).click(); | ^ 45 | 46 | // Check that we're editing the template 47 | await expect( page.locator( 'h1' ) ).toContainText( 'Blog Home' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part-focus-mode.spec.js:44:54
[chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.: test/e2e/specs/site-editor/template-part-focus-mode.spec.js#L44
1) [chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back. Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Back' }) 42 | 43 | // Go back > 44 | await page.getByRole( 'button', { name: 'Back' } ).click(); | ^ 45 | 46 | // Check that we're editing the template 47 | await expect( page.locator( 'h1' ) ).toContainText( 'Blog Home' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part-focus-mode.spec.js:44:54
[chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.: test/e2e/specs/site-editor/template-part-focus-mode.spec.js#L44
1) [chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back. Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Back' }) 42 | 43 | // Go back > 44 | await page.getByRole( 'button', { name: 'Back' } ).click(); | ^ 45 | 46 | // Check that we're editing the template 47 | await expect( page.locator( 'h1' ) ).toContainText( 'Blog Home' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part-focus-mode.spec.js:44:54
Playwright - 6
Process completed with exit code 1.
[chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button: packages/e2e-test-utils-playwright/src/request-utils/themes.ts#L48
1) [chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button Error: apiRequestContext.get: socket hang up Call log: - → GET http://localhost:8889/wp-admin/themes.php?action=activate&stylesheet=twentytwentyone&_wpnonce=dc6109873a - user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1733636511%7CBO6JX0dg0NQebWwSJhAiThQBpJAUr7HQykSwixSAoo0%7Cad9c91949e164a8712534e343de2b6d5c67f04dec39672efac3719e4fcfab8ab; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1733636511%7CBO6JX0dg0NQebWwSJhAiThQBpJAUr7HQykSwixSAoo0%7C5f71878c41c1db78d1698186ed5af9b3e53e5dab2b8c4f751af0efaf590802c3; wp-settings-time-1=1733464095 - ← 302 Found - date: Fri, 06 Dec 2024 05:48:15 GMT - server: Apache/2.4.62 (Debian) - x-powered-by: PHP/8.2.26 - expires: Wed, 11 Jan 1984 05:00:00 GMT - cache-control: no-cache, must-revalidate, max-age=0, private - referrer-policy: strict-origin-when-cross-origin - x-frame-options: SAMEORIGIN - x-redirect-by: WordPress - location: http://localhost:8889/wp-admin/themes.php?activated=true - server-timing: wpTotal;dur=40.21, wpMemoryUsage;dur=4442232, wpDbQueries;dur=49 - content-length: 0 - keep-alive: timeout=5, max=98 - connection: Keep-Alive - content-type: text/html; charset=UTF-8 - → GET http://localhost:8889/wp-admin/themes.php?activated=true - user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1733636511%7CBO6JX0dg0NQebWwSJhAiThQBpJAUr7HQykSwixSAoo0%7Cad9c91949e164a8712534e343de2b6d5c67f04dec39672efac3719e4fcfab8ab; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1733636511%7CBO6JX0dg0NQebWwSJhAiThQBpJAUr7HQykSwixSAoo0%7C5f71878c41c1db78d1698186ed5af9b3e53e5dab2b8c4f751af0efaf590802c3; wp-settings-time-1=1733464095 at ../../../packages/e2e-test-utils-playwright/src/request-utils/themes.ts:48 46 | THEMES_URL + `?${ activateQuery }`.replace( /&/g, '&' ); 47 | > 48 | response = await this.request.get( activateLink ); | ^ 49 | 50 | await response.dispose(); 51 | } at RequestUtils.activateTheme (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/themes.ts:48:32) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:12:3
[chromium] › site-editor/navigation.spec.js:21:2 › Site editor navigation › Can use keyboard to navigate the site editor: test/e2e/specs/site-editor/navigation.spec.js#L66
2) [chromium] › site-editor/navigation.spec.js:21:2 › Site editor navigation › Can use keyboard to navigate the site editor Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('region', { name: 'Editor content' }).getByRole('button', { name: 'Edit' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('region', { name: 'Editor content' }).getByRole('button', { name: 'Edit' }) - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" - locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/22900bbd-90f4-4968-8d80-73b80b7a15e1"></iframe> - unexpected value "not focused" 64 | // focusable iframe with role=button. 65 | await pageUtils.pressKeys( 'Tab' ); > 66 | await expect( editorCanvasButton ).toBeFocused(); | ^ 67 | 68 | // Tab to the Pages item to move focus back in the UI. 69 | await editorNavigationUtils.tabToLabel( 'Pages' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation.spec.js:66:38
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L57
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('.edit-site-canvas-loader, .edit-site-canvas-spinner') to be visible at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57 55 | // Wait for the canvas loader to appear first, so that the locator that 56 | // waits for the hidden state doesn't resolve prematurely. > 57 | await canvasLoader.waitFor( { state: 'visible' } ); | ^ 58 | await canvasLoader.waitFor( { 59 | state: 'hidden', 60 | // Bigger timeout is needed for larger entities, like the Large Post at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57:22) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:353:4
Playwright - 6
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 7
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back. 2 skipped 194 passed (7.1m)
🎭 Playwright Run Summary
1 skipped 194 passed (9.2m)
🎭 Playwright Run Summary
1 skipped 201 passed (9.8m)
🎭 Playwright Run Summary
199 passed (10.0m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.1m)
🎭 Playwright Run Summary
1 skipped 197 passed (10.0m)
🎭 Playwright Run Summary
2 flaky [chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button [chromium] › site-editor/navigation.spec.js:21:2 › Site editor navigation › Can use keyboard to navigate the site editor 1 skipped 188 passed (9.2m)
🎭 Playwright Run Summary
1 flaky [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions 3 skipped 187 passed (10.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
23.6 MB
flaky-tests-report
4.23 KB