Revert "Update HeightControl component to label inputs" (#63839) #110198
Annotations
1 error and 1 notice
test/e2e/specs/site-editor/font-library.spec.js#L55
1) [chromium] › site-editor/font-library.spec.js:52:3 › Font Library › When a theme with bundled fonts is active › should open the "Manage fonts" modal when clicking the "Manage fonts" button
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Styles' }) resolved to 2 elements:
1) <button data-wp-c16t="true" data-wp-component="Item" id="global-styles-navigation-item" class="components-item edit-site-sidebar-navigation-item css-1q7r44i e19lxcc00">…</button> aka getByLabel('Navigation', { exact: true }).getByRole('button', { name: 'Styles' })
2) <button type="button" aria-label="Styles" aria-pressed="false" aria-expanded="false" aria-disabled="false" aria-controls="edit-site:global-styles" class="components-button is-compact has-icon">…</button> aka getByLabel('Styles')
Call log:
- waiting for getByRole('button', { name: 'Styles' })
53 | page,
54 | } ) => {
> 55 | await page.getByRole( 'button', { name: 'Styles' } ).click();
| ^
56 | await page
57 | .getByRole( 'button', { name: 'Typography Styles' } )
58 | .click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:55:57
|
|
This job succeeded
Loading