Skip to content

Fix e2e storybook (#68307) #122862

Fix e2e storybook (#68307)

Fix e2e storybook (#68307) #122862

Triggered via push December 26, 2024 12:29
Status Success
Total duration 24m 40s
Artifacts 2

end2end-test.yml

on: push
Matrix: e2e-playwright
Merge Artifacts
9s
Merge Artifacts
Report to GitHub
3m 59s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 10 warnings, and 8 notices
[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#L13
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 - 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%7C1735389416%7CtCiXY4OqTGzHJsJMQ7pr6D7LKNcSogwyQBHp6hQPEBD%7C748a752e48690905e08ba49eff744534c0a4160e135ce59364d8de58f645cb5a; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1735389416%7CtCiXY4OqTGzHJsJMQ7pr6D7LKNcSogwyQBHp6hQPEBD%7C375bb3057759f95eee7172d281b26c0f10265c8fa4e34641c1763a8164d6cae9; wp-settings-time-1=1735216835 at ../../../packages/e2e-test-utils-playwright/src/request-utils/themes.ts:13 11 | themeSlug: string 12 | ): Promise< void > { > 13 | let response = await this.request.get( THEMES_URL ); | ^ 14 | const html = await response.text(); 15 | const optionalFolder = '([a-z0-9-]+%2F)?'; 16 | at RequestUtils.activateTheme (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/themes.ts:13:36) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:12:22
[chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button: test/e2e/specs/site-editor/activate-theme.spec.js#L9
1) [chromium] › site-editor/activate-theme.spec.js:14:2 › Activate theme › activate block theme when live previewing from sidebar save button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByLabel('Live Preview Emptytheme') 7 | test.beforeEach( async ( { admin, page } ) => { 8 | await admin.visitAdminPage( 'themes.php' ); > 9 | await page.getByLabel( 'Live Preview Emptytheme' ).click(); | ^ 10 | } ); 11 | test.afterEach( async ( { requestUtils } ) => { 12 | await requestUtils.activateTheme( 'twentytwentyone' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/activate-theme.spec.js:9:54
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
2) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByLabel('Sample Page') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByLabel('Sample Page') - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" 111 | // Use arrow up/down to move through the list. 112 | await page.keyboard.press( 'ArrowDown' ); > 113 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused(); | ^ 114 | 115 | await page.keyboard.press( 'ArrowUp' ); 116 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:113:52
Playwright - 6
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 - 5
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 - 8
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 - 4
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
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Report to GitHub
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 skipped 201 passed (6.8m)
🎭 Playwright Run Summary
1 skipped 184 passed (9.1m)
🎭 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/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys 1 skipped 171 passed (9.3m)
🎭 Playwright Run Summary
1 skipped 205 passed (10.1m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.3m)
🎭 Playwright Run Summary
1 skipped 210 passed (9.8m)
🎭 Playwright Run Summary
1 skipped 224 passed (10.8m)
🎭 Playwright Run Summary
207 passed (11.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
17.5 MB
flaky-tests-report
3.09 KB