Fix: Navigation open submenu on click unavailable for page-list #123339
Annotations
2 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByLabel('Sample Page')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Sample Page')
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button>
- unexpected value "not focused"
111 | // Use arrow up/down to move through the list.
112 | await page.keyboard.press( 'ArrowDown' );
> 113 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused();
| ^
114 |
115 | await page.keyboard.press( 'ArrowUp' );
116 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:113:52
|
Run the tests:
packages/e2e-test-utils-playwright/src/request-utils/themes.ts#L13
2) [chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
Error: apiRequestContext.get: socket hang up
Call log:
- → GET http://localhost:8889/wp-admin/themes.php
- user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1736340470%7CPukjKAxdJyM9cLXL7XivOevBNguGD3mFUNMI2hwz5JU%7Ccc7b6624d2c96fa57830275e2b8b375a1c982ddabc5227f4da9c48e745ba2881; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1736340470%7CPukjKAxdJyM9cLXL7XivOevBNguGD3mFUNMI2hwz5JU%7Cb88c2880e2426db66f632910b32e3dcda995b7fbf5d4af9cd1b3cb6cc7a912d8; wp-settings-time-1=1736168169
at ../../../packages/e2e-test-utils-playwright/src/request-utils/themes.ts:13
11 | themeSlug: string
12 | ): Promise< void > {
> 13 | let response = await this.request.get( THEMES_URL );
| ^
14 | const html = await response.text();
15 | const optionalFolder = '([a-z0-9-]+%2F)?';
16 |
at RequestUtils.activateTheme (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/themes.ts:13:36)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/push-to-global-styles.spec.js:12:22
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
2 flaky
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
[chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
1 skipped
171 passed (8.7m)
|
Loading