Components: Split MenuItem
label and description for accessibility
#125324
Annotations
4 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L1102
1) [chromium] › editor/blocks/links.spec.js:1079:3 › Links › Disabling Link UI active state › should correctly move focus when link control closes on click outside
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('menuitemcheckbox', { name: 'Top toolbar Access all block and document tools in a single place' })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('menuitemcheckbox', { name: 'Top toolbar Access all block and document tools in a single place' })
1100 | name: 'Top toolbar Access all block and document tools in a single place',
1101 | } )
> 1102 | ).toBeFocused();
| ^
1103 | // Press Escape
1104 | await pageUtils.pressKeys( 'Escape' );
1105 | // Expect focus on Top toolbar Options button
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:1102:6
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L1102
1) [chromium] › editor/blocks/links.spec.js:1079:3 › Links › Disabling Link UI active state › should correctly move focus when link control closes on click outside
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('menuitemcheckbox', { name: 'Top toolbar Access all block and document tools in a single place' })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('menuitemcheckbox', { name: 'Top toolbar Access all block and document tools in a single place' })
1100 | name: 'Top toolbar Access all block and document tools in a single place',
1101 | } )
> 1102 | ).toBeFocused();
| ^
1103 | // Press Escape
1104 | await pageUtils.pressKeys( 'Escape' );
1105 | // Expect focus on Top toolbar Options button
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:1102:6
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L1102
1) [chromium] › editor/blocks/links.spec.js:1079:3 › Links › Disabling Link UI active state › should correctly move focus when link control closes on click outside
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('menuitemcheckbox', { name: 'Top toolbar Access all block and document tools in a single place' })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('menuitemcheckbox', { name: 'Top toolbar Access all block and document tools in a single place' })
1100 | name: 'Top toolbar Access all block and document tools in a single place',
1101 | } )
> 1102 | ).toBeFocused();
| ^
1103 | // Press Escape
1104 | await pageUtils.pressKeys( 'Escape' );
1105 | // Expect focus on Top toolbar Options button
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:1102:6
|
Run the tests
Process completed with exit code 1.
|
Run the tests
1 failed
[chromium] › editor/blocks/links.spec.js:1079:3 › Links › Disabling Link UI active state › should correctly move focus when link control closes on click outside
206 passed (9.2m)
|
Loading