Improve labeling and descriptions of Content and Wide widths. #116096
Annotations
7 errors and 1 notice
Run the tests:
test/e2e/specs/editor/plugins/align-hook.spec.js#L66
1) [chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- Expected - 1
+ Received + 1
Array [
"None",
"Align left",
"Align center",
"Align right",
- "Maximum wide width",
+ "Wide width",
"Full width",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
64 | .getByRole( 'menu', { name: 'Align' } )
65 | .getByRole( 'menuitemradio' )
> 66 | ).toHaveText( Object.values( alignLabels ) );
| ^
67 | } );
68 |
69 | test( 'applies none alignment by default', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:66:6
|
Run the tests:
test/e2e/specs/editor/plugins/align-hook.spec.js#L66
1) [chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- Expected - 1
+ Received + 1
Array [
"None",
"Align left",
"Align center",
"Align right",
- "Maximum wide width",
+ "Wide width",
"Full width",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
64 | .getByRole( 'menu', { name: 'Align' } )
65 | .getByRole( 'menuitemradio' )
> 66 | ).toHaveText( Object.values( alignLabels ) );
| ^
67 | } );
68 |
69 | test( 'applies none alignment by default', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:66:6
|
Run the tests:
test/e2e/specs/editor/plugins/align-hook.spec.js#L66
1) [chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- Expected - 1
+ Received + 1
Array [
"None",
"Align left",
"Align center",
"Align right",
- "Maximum wide width",
+ "Wide width",
"Full width",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
64 | .getByRole( 'menu', { name: 'Align' } )
65 | .getByRole( 'menuitemradio' )
> 66 | ).toHaveText( Object.values( alignLabels ) );
| ^
67 | } );
68 |
69 | test( 'applies none alignment by default', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:66:6
|
Run the tests:
test/e2e/specs/editor/plugins/align-hook.spec.js#L216
2) [chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- Expected - 1
+ Received + 1
Array [
"None",
"Align left",
"Align center",
"Align right",
- "Maximum wide width",
+ "Wide width",
"Full width",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
214 | .getByRole( 'menu', { name: 'Align' } )
215 | .getByRole( 'menuitemradio' )
> 216 | ).toHaveText( Object.values( alignLabels ) );
| ^
217 | } );
218 |
219 | test( 'applies the selected alignment by default', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:216:6
|
Run the tests:
test/e2e/specs/editor/plugins/align-hook.spec.js#L216
2) [chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- Expected - 1
+ Received + 1
Array [
"None",
"Align left",
"Align center",
"Align right",
- "Maximum wide width",
+ "Wide width",
"Full width",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
214 | .getByRole( 'menu', { name: 'Align' } )
215 | .getByRole( 'menuitemradio' )
> 216 | ).toHaveText( Object.values( alignLabels ) );
| ^
217 | } );
218 |
219 | test( 'applies the selected alignment by default', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:216:6
|
Run the tests:
test/e2e/specs/editor/plugins/align-hook.spec.js#L216
2) [chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- Expected - 1
+ Received + 1
Array [
"None",
"Align left",
"Align center",
"Align right",
- "Maximum wide width",
+ "Wide width",
"Full width",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio')
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
- locator resolved to 6 elements
214 | .getByRole( 'menu', { name: 'Align' } )
215 | .getByRole( 'menuitemradio' )
> 216 | ).toHaveText( Object.values( alignLabels ) );
| ^
217 | } );
218 |
219 | test( 'applies the selected alignment by default', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:216:6
|
Run the tests
Process completed with exit code 1.
|
Run the tests
2 failed
[chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar
[chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar
1 skipped
192 passed (9.5m)
|
Loading