Fix visual and DOM order of the list view header tabs and close button. #96991
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
6m 58s
Report to GitHub
3m 54s
Annotations
6 errors, 10 warnings, and 8 notices
[chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L419
1) [chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).locator('xpath=..').getByRole('button', { name: 'Options for Page Link' })
============================================================
417 |
418 | // Open the options menu.
> 419 | await firstItemOptions.click();
| ^
420 |
421 | // Add the submenu.
422 | // usage of `page` is required because the options menu is rendered into a slot
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:419:26
|
[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:
test/e2e/specs/editor/blocks/navigation.spec.js#L69
2) [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
|
[chromium] › editor/various/list-view.spec.js:288:2 › List View › ensures List View global shortcut works properly:
test/e2e/specs/editor/various/list-view.spec.js#L385
1) [chromium] › editor/various/list-view.spec.js:288:2 › List View › ensures List View global shortcut works properly
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('tab', { name: 'Outline' })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('tab', { name: 'Outline' })
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
383 | name: 'Outline',
384 | } );
> 385 | await expect( outlineButton ).toBeFocused();
| ^
386 | await page.keyboard.press( 'Enter' );
387 |
388 | // From here, tab in to the editor so focus can be checked on return to
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/list-view.spec.js:385:33
|
[chromium] › editor/various/list-view.spec.js:288:2 › List View › ensures List View global shortcut works properly:
test/e2e/specs/editor/various/list-view.spec.js#L385
1) [chromium] › editor/various/list-view.spec.js:288:2 › List View › ensures List View global shortcut works properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('tab', { name: 'Outline' })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('tab', { name: 'Outline' })
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
383 | name: 'Outline',
384 | } );
> 385 | await expect( outlineButton ).toBeFocused();
| ^
386 | await page.keyboard.press( 'Enter' );
387 |
388 | // From here, tab in to the editor so focus can be checked on return to
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/list-view.spec.js:385:33
|
[chromium] › editor/various/list-view.spec.js:288:2 › List View › ensures List View global shortcut works properly:
test/e2e/specs/editor/various/list-view.spec.js#L385
1) [chromium] › editor/various/list-view.spec.js:288:2 › List View › ensures List View global shortcut works properly
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('tab', { name: 'Outline' })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('tab', { name: 'Outline' })
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
- locator resolved to <button role="tab" tabindex="-1" type="button" id="tabs-…>Outline</button>
- unexpected value "not focused"
383 | name: 'Outline',
384 | } );
> 385 | await expect( outlineButton ).toBeFocused();
| ^
386 | await page.keyboard.press( 'Enter' );
387 |
388 | // From here, tab in to the editor so focus can be checked on return to
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/list-view.spec.js:385:33
|
Playwright - 4
Process completed with exit code 1.
|
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 - 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 - 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 - 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 - 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 - 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 - 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 - 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/.
|
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
165 passed (8.8m)
|
🎭 Playwright Run Summary
4 skipped
157 passed (8.1m)
|
🎭 Playwright Run Summary
11 skipped
152 passed (7.6m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus
[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
1 skipped
159 passed (8.5m)
|
🎭 Playwright Run Summary
1 skipped
162 passed (8.0m)
|
🎭 Playwright Run Summary
3 skipped
129 passed (7.6m)
|
🎭 Playwright Run Summary
189 passed (7.9m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/various/list-view.spec.js:288:2 › List View › ensures List View global shortcut works properly
161 passed (9.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
5.66 MB |
|