Skip to content

Commit

Permalink
Update test/e2e/specs/editor/various/adding-patterns.spec.js
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Hao <kevin830726@gmail.com>
  • Loading branch information
t-hamano and kevin940726 authored Sep 13, 2024
1 parent 93164d1 commit 960bdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/various/adding-patterns.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test.describe( 'adding patterns', () => {
'Standard'
);

await page.click( 'role=option[name="Standard"i]' );
await page.getByRole( 'option', { name: 'Standard' } ).click();
await expect.poll( editor.getBlocks ).toMatchObject( [
{
name: 'core/query',
Expand Down

0 comments on commit 960bdae

Please sign in to comment.