Select Mode: Use the content-only behavior in select mode #114833
Annotations
1 error 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 <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" aria-pressed="false" id="view-list-0-190-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-190-label" aria-describedby="view-list-0-190-description">…</div>
- 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
1 flaky
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
188 passed (9.0m)
|
Loading