Skip to content

Fix: JavaScript error when pattern category is unregistered (#67063) #119566

Fix: JavaScript error when pattern category is unregistered (#67063)

Fix: JavaScript error when pattern category is unregistered (#67063) #119566

Triggered via push November 19, 2024 09:07
Status Success
Total duration 21m 54s
Artifacts 2

end2end-test.yml

on: push
Matrix: e2e-playwright
Merge Artifacts
7s
Merge Artifacts
Report to GitHub
4m 15s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

2 errors 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-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-191-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-191-label" aria-describedby="view-list-0-191-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
[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 Run Summary
2 skipped 195 passed (6.3m)
🎭 Playwright Run Summary
1 skipped 187 passed (9.3m)
🎭 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 194 passed (9.3m)
🎭 Playwright Run Summary
1 skipped 201 passed (9.6m)
🎭 Playwright Run Summary
1 skipped 194 passed (9.1m)
🎭 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.1m)
🎭 Playwright Run Summary
1 skipped 197 passed (10.2m)
🎭 Playwright Run Summary
199 passed (10.1m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
2.7 MB
flaky-tests-report
2.34 KB