Add basic test coverage for Navigation Menu editing mode #90366
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
16m 14s
Report to GitHub
2m 45s
Annotations
2 errors and 8 notices
[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:
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
|
[chromium] › site-editor/navigation-editor.spec.js:15:2 › Editing Navigation Menus › it should lock the root Navigation block in the editor:
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
|
🎭 Playwright Run Summary
1 skipped
105 passed (5.2m)
|
🎭 Playwright Run Summary
145 passed (6.8m)
|
🎭 Playwright Run Summary
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)
|
🎭 Playwright Run Summary
2 skipped
119 passed (7.1m)
|
🎭 Playwright Run Summary
1 skipped
152 passed (6.6m)
|
🎭 Playwright Run Summary
133 passed (7.5m)
|
🎭 Playwright Run Summary
11 skipped
151 passed (7.6m)
|
🎭 Playwright Run Summary
135 passed (6.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
2.28 MB |
|
flaky-tests-report
Expired
|
5.88 KB |
|