Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Apr 17, 2024
1 parent 46c31ab commit f6c46c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/specs/editor/various/pattern-overrides.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ test.describe( 'Pattern Overrides', () => {
.getByRole( 'button', { name: 'Advanced' } )
.click();
await editorSettings
.getByRole( 'button', { name: 'Allow overrides' } )
.getByRole( 'button', { name: 'Enable overrides' } )
.click();
await page
.getByRole( 'dialog', { name: 'Allow overrides' } )
.getByRole( 'button', { name: 'Allow overrides' } )
.getByRole( 'dialog', { name: 'Enable overrides' } )
.getByRole( 'button', { name: 'Enable overrides' } )
.click();

await expect.poll( editor.getBlocks ).toMatchObject( [
Expand Down

0 comments on commit f6c46c8

Please sign in to comment.