Adding text alignment control to Group block #122755
Annotations
4 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L94
1) [chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Text' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" tabindex="-1" aria-haspopup="true" aria-expanded="false" aria-label="Align text" data-toolbar-item="true" aria-describedby="components-button__description-59" class="components-button components-dropdown-menu__toggle has-icon">…</button> aka getByLabel('Align text')
2) <button type="button" aria-expanded="false" class="components-button block-editor-panel-color-gradient-settings__dropdown is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Text', exact: true })
Call log:
- waiting for getByRole('button', { name: 'Text' })
92 | await editor.openDocumentSettingsSidebar();
93 | await page.getByRole( 'tab', { name: 'Styles' } ).click();
> 94 | await page.getByRole( 'button', { name: 'Text' } ).click();
| ^
95 | await page
96 | .getByRole( 'option', { name: 'Color: White' } )
97 | .click( { force: true } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:94:54
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L94
1) [chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Text' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" tabindex="-1" aria-haspopup="true" aria-expanded="false" aria-label="Align text" data-toolbar-item="true" aria-describedby="components-button__description-59" class="components-button components-dropdown-menu__toggle has-icon">…</button> aka getByLabel('Align text')
2) <button type="button" aria-expanded="false" class="components-button block-editor-panel-color-gradient-settings__dropdown is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Text', exact: true })
Call log:
- waiting for getByRole('button', { name: 'Text' })
92 | await editor.openDocumentSettingsSidebar();
93 | await page.getByRole( 'tab', { name: 'Styles' } ).click();
> 94 | await page.getByRole( 'button', { name: 'Text' } ).click();
| ^
95 | await page
96 | .getByRole( 'option', { name: 'Color: White' } )
97 | .click( { force: true } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:94:54
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L94
1) [chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Text' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" tabindex="-1" aria-haspopup="true" aria-expanded="false" aria-label="Align text" data-toolbar-item="true" aria-describedby="components-button__description-59" class="components-button components-dropdown-menu__toggle has-icon">…</button> aka getByLabel('Align text')
2) <button type="button" aria-expanded="false" class="components-button block-editor-panel-color-gradient-settings__dropdown is-next-40px-default-size">…</button> aka getByRole('button', { name: 'Text', exact: true })
Call log:
- waiting for getByRole('button', { name: 'Text' })
92 | await editor.openDocumentSettingsSidebar();
93 | await page.getByRole( 'tab', { name: 'Styles' } ).click();
> 94 | await page.getByRole( 'button', { name: 'Text' } ).click();
| ^
95 | await page
96 | .getByRole( 'option', { name: 'Color: White' } )
97 | .click( { force: true } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:94:54
|
Run the tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
1 failed
[chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
206 passed (10.6m)
|
Loading