Section Styles: Resolve ref values in variations data (#63172) #108726
Annotations
1 error and 1 notice
test/e2e/specs/site-editor/font-library.spec.js#L119
1) [chromium] › site-editor/font-library.spec.js:115:3 › Font Library › When a user manages custom fonts via the UI › should allow user to add and remove multiple local font files
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=…>…</button> aka getByLabel('Navigation', { exact: true }).getByRole('button', { name: 'Styles' })
2) <button type="button" aria-label="Styles" aria-pressed="…>…</button> aka getByLabel('Styles')
Call log:
- waiting for getByRole('button', { name: 'Styles' })
117 | editor,
118 | } ) => {
> 119 | await page.getByRole( 'button', { name: 'Styles' } ).click();
| ^
120 | await page
121 | .getByRole( 'button', { name: 'Typography Styles' } )
122 | .click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:119:57
|
|
This job succeeded
Loading