Button: Improve the aria-disabled focus style #107095
Annotations
1 error and 1 notice
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L76
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:62:2 › Dataviews List Layout › Navigates from items list to preview via TAB, and vice versa
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByLabel('Privacy Policy')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Privacy Policy')
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-184"…>…</div>
- unexpected value "not focused"
74 | await expect( page.getByRole( 'grid' ) ).toBeVisible();
75 | await page.keyboard.press( 'Tab' );
> 76 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
| ^
77 |
78 | // Go to the preview.
79 | await page.keyboard.press( 'Tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:76:55
|
|
This job succeeded
Loading