Add basic test coverage for Navigation Menu editing mode #90366
Annotations
2 errors and 1 notice
Run the tests:
test/e2e/specs/site-editor/font-library.spec.js#L42
1) [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('body')
============================================================
40 | postType: 'wp_template',
41 | } );
> 42 | await editor.canvas.locator( 'body' ).click();
| ^
43 | } );
44 |
45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:42:42
|
Run the tests:
test/e2e/specs/site-editor/navigation-editor.spec.js#L70
2) [chromium] › site-editor/navigation-editor.spec.js:15:2 › Editing Navigation Menus › it should lock the root Navigation block in the editor
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Primary Menu' })
============================================================
68 | name: 'Primary Menu',
69 | } )
> 70 | .click();
| ^
71 |
72 | await expect( page ).toHaveURL(
73 | `wp-admin/site-editor.php?postId=${ createdMenu?.id }&postType=wp_navigation`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation-editor.spec.js:70:5
|
Run the tests
2 flaky
[chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon
[chromium] › site-editor/navigation-editor.spec.js:15:2 › Editing Navigation Menus › it should lock the root Navigation block in the editor
1 skipped
113 passed (6.8m)
|
The logs for this run have expired and are no longer available.
Loading