Skip to content

Navigation: Use the ListView in the Navigation block inspector controls #72630

Navigation: Use the ListView in the Navigation block inspector controls

Navigation: Use the ListView in the Navigation block inspector controls #72630

Triggered via pull request May 9, 2023 18:56
Status Failure
Total duration 42m 33s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 19s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[chromium] › editor/blocks/navigation.spec.js:497:3 › Navigation block › List view editing › can add new menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L555
1) [chromium] › editor/blocks/navigation.spec.js:497:3 › Navigation block › List view editing › can add new menu items Error: Timed out 5000ms waiting for expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('combobox', { name: 'URL' }) - waiting for getByRole('combobox', { name: 'URL' }) 553 | const linkUIInput = linkControl.getSearchInput(); 554 | > 555 | await expect( linkUIInput ).toBeFocused(); | ^ 556 | 557 | const firstResult = await linkControl.getNthSearchResult( 0 ); 558 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:555:32
[chromium] › editor/blocks/navigation.spec.js:497:3 › Navigation block › List view editing › can add new menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L555
1) [chromium] › editor/blocks/navigation.spec.js:497:3 › Navigation block › List view editing › can add new menu items Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('combobox', { name: 'URL' }) - waiting for getByRole('combobox', { name: 'URL' }) 553 | const linkUIInput = linkControl.getSearchInput(); 554 | > 555 | await expect( linkUIInput ).toBeFocused(); | ^ 556 | 557 | const firstResult = await linkControl.getNthSearchResult( 0 ); 558 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:555:32
[chromium] › editor/blocks/navigation.spec.js:497:3 › Navigation block › List view editing › can add new menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L555
1) [chromium] › editor/blocks/navigation.spec.js:497:3 › Navigation block › List view editing › can add new menu items Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('combobox', { name: 'URL' }) - waiting for getByRole('combobox', { name: 'URL' }) 553 | const linkUIInput = linkControl.getSearchInput(); 554 | > 555 | await expect( linkUIInput ).toBeFocused(); | ^ 556 | 557 | const firstResult = await linkControl.getNthSearchResult( 0 ); 558 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:555:32
[chromium] › editor/blocks/navigation.spec.js:580:3 › Navigation block › List view editing › can remove menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L603
2) [chromium] › editor/blocks/navigation.spec.js:580:3 › Navigation block › List view editing › can remove menu items TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('button', { name: 'Options for Submenu block' }) ============================================================ 601 | 602 | // Open the options menu. > 603 | await submenuOptions.click(); | ^ 604 | 605 | // usage of `page` is required because the options menu is rendered into a slot 606 | // outside of the treegrid. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:603:25
[chromium] › editor/blocks/navigation.spec.js:580:3 › Navigation block › List view editing › can remove menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L603
2) [chromium] › editor/blocks/navigation.spec.js:580:3 › Navigation block › List view editing › can remove menu items Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('button', { name: 'Options for Submenu block' }) ============================================================ 601 | 602 | // Open the options menu. > 603 | await submenuOptions.click(); | ^ 604 | 605 | // usage of `page` is required because the options menu is rendered into a slot 606 | // outside of the treegrid. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:603:25
[chromium] › editor/blocks/navigation.spec.js:580:3 › Navigation block › List view editing › can remove menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L603
2) [chromium] › editor/blocks/navigation.spec.js:580:3 › Navigation block › List view editing › can remove menu items Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('button', { name: 'Options for Submenu block' }) ============================================================ 601 | 602 | // Open the options menu. > 603 | await submenuOptions.click(); | ^ 604 | 605 | // usage of `page` is required because the options menu is rendered into a slot 606 | // outside of the treegrid. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:603:25
[chromium] › editor/blocks/navigation.spec.js:630:3 › Navigation block › List view editing › can edit menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L653
3) [chromium] › editor/blocks/navigation.spec.js:630:3 › Navigation block › List view editing › can edit menu items TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('link', { name: 'Top Level Item 1', includeHidden: true }) ============================================================ 651 | includeHidden: true, 652 | } ); > 653 | await firstMenuItemAnchor.click(); | ^ 654 | 655 | // Get the settings panel. 656 | const blockSettings = page.getByRole( 'region', { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:653:30
[chromium] › editor/blocks/navigation.spec.js:630:3 › Navigation block › List view editing › can edit menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L653
3) [chromium] › editor/blocks/navigation.spec.js:630:3 › Navigation block › List view editing › can edit menu items Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('link', { name: 'Top Level Item 1', includeHidden: true }) ============================================================ 651 | includeHidden: true, 652 | } ); > 653 | await firstMenuItemAnchor.click(); | ^ 654 | 655 | // Get the settings panel. 656 | const blockSettings = page.getByRole( 'region', { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:653:30
[chromium] › editor/blocks/navigation.spec.js:630:3 › Navigation block › List view editing › can edit menu items: test/e2e/specs/editor/blocks/navigation.spec.js#L653
3) [chromium] › editor/blocks/navigation.spec.js:630:3 › Navigation block › List view editing › can edit menu items Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('link', { name: 'Top Level Item 1', includeHidden: true }) ============================================================ 651 | includeHidden: true, 652 | } ); > 653 | await firstMenuItemAnchor.click(); | ^ 654 | 655 | // Get the settings panel. 656 | const blockSettings = page.getByRole( 'region', { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:653:30
[chromium] › editor/blocks/navigation.spec.js:722:3 › Navigation block › List view editing › can add submenus: test/e2e/specs/editor/blocks/navigation.spec.js#L758
4) [chromium] › editor/blocks/navigation.spec.js:722:3 › Navigation block › List view editing › can add submenus TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).locator('xpath=..').getByRole('button', { name: 'Options for Page Link block' }) ============================================================ 756 | 757 | // Open the options menu. > 758 | await firstItemOptions.click(); | ^ 759 | 760 | // Add the submenu. 761 | // usage of `page` is required because the options menu is rendered into a slot at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:758:27
🎭 Playwright Run Summary
4 skipped 265 passed (25.6m)
🎭 Playwright Run Summary
4 failed [chromium] › editor/blocks/navigation.spec.js:497:3 › Navigation block › List view editing › can add new menu items [chromium] › editor/blocks/navigation.spec.js:580:3 › Navigation block › List view editing › can remove menu items [chromium] › editor/blocks/navigation.spec.js:630:3 › Navigation block › List view editing › can edit menu items [chromium] › editor/blocks/navigation.spec.js:722:3 › Navigation block › List view editing › can add submenus 1 flaky [chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support 326 passed (27.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
19.3 MB
flaky-tests-report Expired
2.04 KB