Query Loop: Fix passing of namespace
when selecting from suggested patterns
#109139
Annotations
1 error and 1 notice
test/e2e/specs/site-editor/font-library.spec.js#L42
1) [chromium] › site-editor/font-library.spec.js:39:3 › Font Library › When a theme with bundled fonts is active › should display 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=…>…</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' })
40 | page,
41 | } ) => {
> 42 | await page.getByRole( 'button', { name: 'Styles' } ).click();
| ^
43 | await page
44 | .getByRole( 'button', { name: 'Typography Styles' } )
45 | .click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:42:57
|
|
This job succeeded
Loading