Skip to content

Nav block - find menu by slug using existing core data API #99641

Nav block - find menu by slug using existing core data API

Nav block - find menu by slug using existing core data API #99641

Triggered via pull request March 20, 2024 09:27
Status Failure
Total duration 22m 17s
Artifacts 1

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
7s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 9 warnings, and 8 notices
[chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L111
1) [chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 1' }).filter({ hasText: 'Block 1 of 2, Level 1.' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 1' }).filter({ hasText: 'Block 1 of 2, Level 1.' }) 109 | hasText: 'Block 1 of 2, Level 1.', // proxy for filtering by description. 110 | } ) > 111 | ).toBeVisible(); | ^ 112 | 113 | await expect( 114 | listView at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:111:5
[chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L111
1) [chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 1' }).filter({ hasText: 'Block 1 of 2, Level 1.' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 1' }).filter({ hasText: 'Block 1 of 2, Level 1.' }) 109 | hasText: 'Block 1 of 2, Level 1.', // proxy for filtering by description. 110 | } ) > 111 | ).toBeVisible(); | ^ 112 | 113 | await expect( 114 | listView at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:111:5
[chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L111
1) [chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 1' }).filter({ hasText: 'Block 1 of 2, Level 1.' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 1' }).filter({ hasText: 'Block 1 of 2, Level 1.' }) 109 | hasText: 'Block 1 of 2, Level 1.', // proxy for filtering by description. 110 | } ) > 111 | ).toBeVisible(); | ^ 112 | 113 | await expect( 114 | listView at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:111:5
[chromium] › editor/blocks/navigation-list-view.spec.js:249:2 › Navigation block - List view editing › can remove menu items: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L277
2) [chromium] › editor/blocks/navigation-list-view.spec.js:249:2 › Navigation block - List view editing › can remove menu items TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 2' }).filter({ hasText: 'Block 2 of 2, Level 1.' }).locator('..').getByRole('button', { name: 'Actions' }) 275 | 276 | // Open the actions menu. > 277 | await subMenuItemActions.click(); | ^ 278 | 279 | // usage of `page` is required because the actions menu is rendered into a slot 280 | // outside of the treegrid. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:277:28
[chromium] › editor/blocks/navigation-list-view.spec.js:249:2 › Navigation block - List view editing › can remove menu items: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L277
2) [chromium] › editor/blocks/navigation-list-view.spec.js:249:2 › Navigation block - List view editing › can remove menu items Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 2' }).filter({ hasText: 'Block 2 of 2, Level 1.' }).locator('..').getByRole('button', { name: 'Actions' }) 275 | 276 | // Open the actions menu. > 277 | await subMenuItemActions.click(); | ^ 278 | 279 | // usage of `page` is required because the actions menu is rendered into a slot 280 | // outside of the treegrid. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:277:28
[chromium] › editor/blocks/navigation-list-view.spec.js:249:2 › Navigation block - List view editing › can remove menu items: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L277
2) [chromium] › editor/blocks/navigation-list-view.spec.js:249:2 › Navigation block - List view editing › can remove menu items Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 2' }).filter({ hasText: 'Block 2 of 2, Level 1.' }).locator('..').getByRole('button', { name: 'Actions' }) 275 | 276 | // Open the actions menu. > 277 | await subMenuItemActions.click(); | ^ 278 | 279 | // usage of `page` is required because the actions menu is rendered into a slot 280 | // outside of the treegrid. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:277:28
[chromium] › editor/blocks/navigation-list-view.spec.js:303:2 › Navigation block - List view editing › can edit menu items: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L319
3) [chromium] › editor/blocks/navigation-list-view.spec.js:303:2 › Navigation block - List view editing › can edit menu items TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('link', { name: 'Top Level Item 1' }) 317 | name: 'Top Level Item 1', 318 | } ); > 319 | await firstMenuItemAnchor.click(); | ^ 320 | 321 | // Get the settings panel. 322 | const blockSettings = page.getByRole( 'region', { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:319:29
[chromium] › editor/blocks/navigation-list-view.spec.js:303:2 › Navigation block - List view editing › can edit menu items: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L319
3) [chromium] › editor/blocks/navigation-list-view.spec.js:303:2 › Navigation block - List view editing › can edit menu items Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('link', { name: 'Top Level Item 1' }) 317 | name: 'Top Level Item 1', 318 | } ); > 319 | await firstMenuItemAnchor.click(); | ^ 320 | 321 | // Get the settings panel. 322 | const blockSettings = page.getByRole( 'region', { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:319:29
[chromium] › editor/blocks/navigation-list-view.spec.js:303:2 › Navigation block - List view editing › can edit menu items: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L319
3) [chromium] › editor/blocks/navigation-list-view.spec.js:303:2 › Navigation block - List view editing › can edit menu items Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('link', { name: 'Top Level Item 1' }) 317 | name: 'Top Level Item 1', 318 | } ); > 319 | await firstMenuItemAnchor.click(); | ^ 320 | 321 | // Get the settings panel. 322 | const blockSettings = page.getByRole( 'region', { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:319:29
[chromium] › editor/blocks/navigation-list-view.spec.js:387:2 › Navigation block - List view editing › can add submenus: test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L421
4) [chromium] › editor/blocks/navigation-list-view.spec.js:387:2 › Navigation block - List view editing › can add submenus TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Top Level Item 1' }).filter({ hasText: 'Block 1 of 2, Level 1.' }).locator('..').getByRole('button', { name: 'Actions' }) 419 | 420 | // Open the actions menu. > 421 | await firstItemActions.click(); | ^ 422 | 423 | // Add the submenu. 424 | // usage of `page` is required because the actions menu is rendered into a slot at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:421:26
Report to GitHub
Unable to download artifact(s): Artifact not found for name: flaky-tests-report Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
Puppeteer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
3 skipped 181 passed (5.7m)
🎭 Playwright Run Summary
181 passed (8.0m)
🎭 Playwright Run Summary
3 skipped 144 passed (8.0m)
🎭 Playwright Run Summary
1 skipped 179 passed (9.0m)
🎭 Playwright Run Summary
11 skipped 176 passed (8.4m)
🎭 Playwright Run Summary
1 skipped 182 passed (9.4m)
🎭 Playwright Run Summary
218 passed (12.4m)
🎭 Playwright Run Summary
11 failed [chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure [chromium] › editor/blocks/navigation-list-view.spec.js:249:2 › Navigation block - List view editing › can remove menu items [chromium] › editor/blocks/navigation-list-view.spec.js:303:2 › Navigation block - List view editing › can edit menu items [chromium] › editor/blocks/navigation-list-view.spec.js:387:2 › Navigation block - List view editing › can add submenus [chromium] › editor/blocks/navigation-list-view.spec.js:547:2 › Navigation block - List view editing › can create a new menu without losing focus [chromium] › editor/blocks/navigation.spec.js:23:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to a list of pages if there are no menus [chromium] › editor/blocks/navigation.spec.js:49:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to my only existing menu [chromium] › editor/blocks/navigation.spec.js:91:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to the only existing classic menu if there are no block menus [chromium] › editor/blocks/navigation.spec.js:127:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to my most recently created menu [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu [chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically 1 skipped 177 passed (15.1m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
40 MB