Refactor: useBlockTools hook #96931
Annotations
7 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L64
1) [chromium] › editor/blocks/navigation-list-view.spec.js:49:2 › Navigation block - List view editing › show a list view in the inspector controls
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('tab', { name: 'List View' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('tab', { name: 'List View' })
62 | name: 'List View',
63 | } )
> 64 | ).toBeVisible();
| ^
65 |
66 | const listViewPanel = page.getByRole( 'tabpanel', {
67 | name: 'List View',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:64:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L112
2) [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: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).getByText('Top Level Item 1')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).getByText('Top Level Item 1')
110 | } )
111 | .getByText( 'Top Level Item 1' )
> 112 | ).toBeVisible();
| ^
113 |
114 | await expect(
115 | listView
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:112:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L112
2) [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: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).getByText('Top Level Item 1')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).getByText('Top Level Item 1')
110 | } )
111 | .getByText( 'Top Level Item 1' )
> 112 | ).toBeVisible();
| ^
113 |
114 | await expect(
115 | listView
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:112:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L270
3) [chromium] › editor/blocks/navigation-list-view.spec.js:253:2 › 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' })
============================================================
268 |
269 | // Open the options menu.
> 270 | await submenuOptions.click();
| ^
271 |
272 | // usage of `page` is required because the options menu is rendered into a slot
273 | // outside of the treegrid.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:270:24
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L270
3) [chromium] › editor/blocks/navigation-list-view.spec.js:253:2 › 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' })
============================================================
268 |
269 | // Open the options menu.
> 270 | await submenuOptions.click();
| ^
271 |
272 | // usage of `page` is required because the options menu is rendered into a slot
273 | // outside of the treegrid.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:270:24
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L69
4) [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
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
67 | `role=textbox[name="Navigation link text"i] >> text="WordPress"`
68 | )
> 69 | ).toBeVisible();
| ^
70 |
71 | const postId = await editor.publishPost();
72 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:69:6
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L197
5) [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
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('button', { name: 'Add block' })
============================================================
195 | name: 'Add block',
196 | } );
> 197 | await navBlockInserter.click();
| ^
198 |
199 | await page.keyboard.type( 'https://example.com' );
200 | await page.keyboard.press( 'Enter' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:197:27
|
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/.
|
Run the tests
5 flaky
[chromium] › editor/blocks/navigation-list-view.spec.js:49:2 › Navigation block - List view editing › show a list view in the inspector controls
[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:253:2 › Navigation block - List view editing › can remove menu items
[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:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
1 skipped
156 passed (9.4m)
|
The logs for this run have expired and are no longer available.
Loading