Revert "Navigation: Refactor mobile overlay breakpoints to JS (#57520)" #97373
Annotations
11 errors, 1 warning, and 1 notice
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L59
1) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('link', { name: 'Item 1' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('link', { name: 'Item 1' })
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
57 |
58 | // Test: overlay menu opens on click on open menu button
> 59 | await expect( overlayMenuFirstElement ).toBeHidden();
| ^
60 | await openMenuButton.click();
61 | await expect( overlayMenuFirstElement ).toBeVisible();
62 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:59:44
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L59
1) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('link', { name: 'Item 1' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('link', { name: 'Item 1' })
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
57 |
58 | // Test: overlay menu opens on click on open menu button
> 59 | await expect( overlayMenuFirstElement ).toBeHidden();
| ^
60 | await openMenuButton.click();
61 | await expect( overlayMenuFirstElement ).toBeVisible();
62 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:59:44
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L59
1) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('link', { name: 'Item 1' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('link', { name: 'Item 1' })
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
57 |
58 | // Test: overlay menu opens on click on open menu button
> 59 | await expect( overlayMenuFirstElement ).toBeHidden();
| ^
60 | await openMenuButton.click();
61 | await expect( overlayMenuFirstElement ).toBeVisible();
62 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:59:44
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L108
2) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit)
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('link', { name: 'Item 1' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('link', { name: 'Item 1' })
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
106 |
107 | // Test: overlay menu opens on click on open menu button
> 108 | await expect( overlayMenuFirstElement ).toBeHidden();
| ^
109 | await openMenuButton.click();
110 | await expect( overlayMenuFirstElement ).toBeVisible();
111 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:108:44
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L108
2) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('link', { name: 'Item 1' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('link', { name: 'Item 1' })
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
106 |
107 | // Test: overlay menu opens on click on open menu button
> 108 | await expect( overlayMenuFirstElement ).toBeHidden();
| ^
109 | await openMenuButton.click();
110 | await expect( overlayMenuFirstElement ).toBeVisible();
111 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:108:44
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L108
2) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('link', { name: 'Item 1' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('link', { name: 'Item 1' })
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
- locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a>
- unexpected value "visible"
106 |
107 | // Test: overlay menu opens on click on open menu button
> 108 | await expect( overlayMenuFirstElement ).toBeHidden();
| ^
109 | await openMenuButton.click();
110 | await expect( overlayMenuFirstElement ).toBeVisible();
111 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:108:44
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L114
3) [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
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Custom link"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Custom link"')
112 | `role=textbox[name="Navigation link text"i] >> text="Custom link"`
113 | )
> 114 | ).toBeVisible( { timeout: 10000 } ); // allow time for network request.
| ^
115 |
116 | const postId = await editor.publishPost();
117 | // Check the block in the frontend.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:114:6
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L114
3) [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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Custom link"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Custom link"')
112 | `role=textbox[name="Navigation link text"i] >> text="Custom link"`
113 | )
> 114 | ).toBeVisible( { timeout: 10000 } ); // allow time for network request.
| ^
115 |
116 | const postId = await editor.publishPost();
117 | // Check the block in the frontend.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:114:6
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L114
3) [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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Custom link"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Custom link"')
112 | `role=textbox[name="Navigation link text"i] >> text="Custom link"`
113 | )
> 114 | ).toBeVisible( { timeout: 10000 } ); // allow time for network request.
| ^
115 |
116 | const postId = await editor.publishPost();
117 | // Check the block in the frontend.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:114:6
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L270
4) [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
|
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
3 failed
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit)
[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
1 flaky
[chromium] › editor/blocks/navigation-list-view.spec.js:253:2 › Navigation block - List view editing › can remove menu items
1 skipped
158 passed (9.2m)
|
The logs for this run have expired and are no longer available.
Loading