Skip to content

Scripts: Make React Fast Refresh work with multiple blocks #120736

Scripts: Make React Fast Refresh work with multiple blocks

Scripts: Make React Fast Refresh work with multiple blocks #120736

Triggered via pull request December 3, 2024 03:27
Status Success
Total duration 22m 12s
Artifacts 2

end2end-test.yml

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

Annotations

3 errors, 10 warnings, and 8 notices
[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
1) [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-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-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
[chromium] › editor/plugins/hooks-api.spec.js:37:2 › Using Hooks API › Pressing reset block button resets the block: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › editor/plugins/hooks-api.spec.js:37:2 › Using Hooks API › Pressing reset block button resets the block Error: apiRequestContext.fetch: socket hang up Call log: - → PUT http://localhost:8889/index.php?rest_route=/wp/v2/plugins/gutenberg-test-plugins/hooks-api - user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 1bce9eaa65 - content-type: application/json - content-length: 21 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1733369667%7ClrZg8HyZSFzNeU0L24XQSjJNLvObtG8W92gwrxWcg4w%7C77b9c02ab21ce9074118a57b04115ddf6d8efc2309f67d24caefbb7dccd12f6b; wp-settings-time-1=1733196964 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.deactivatePlugin (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/plugins.ts:96:13) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/hooks-api.spec.js:13:3
[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 - 5
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 - 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 - 2
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 - 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
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 195 passed (7.0m)
🎭 Playwright Run Summary
1 flaky [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 189 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 202 passed (9.8m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.2m)
🎭 Playwright Run Summary
1 skipped 197 passed (9.9m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/plugins/hooks-api.spec.js:37:2 › Using Hooks API › Pressing reset block button resets the block 1 skipped 193 passed (9.3m)
🎭 Playwright Run Summary
199 passed (10.4m)
🎭 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.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
3.92 MB
flaky-tests-report
3.68 KB