Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Apr 17, 2024
1 parent d461ac7 commit c0ad329
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ function PatternOverridesControls( { attributes, name, setAttributes } ) {
) }
>
<Button
__next40pxDefaultSize
className="pattern-overrides-control__allow-overrides-button"
variant="secondary"
onClick={ () => {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/various/pattern-overrides.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ test.describe( 'Pattern Overrides', () => {
.getByRole( 'button', { name: 'Advanced' } )
.click();
await editorSettings
.getByRole( 'button', { name: 'Enable' } )
.getByRole( 'button', { name: 'Enable overrides' } )
.click();
await page
.getByRole( 'dialog', { name: 'Enable overrides' } )
Expand Down

0 comments on commit c0ad329

Please sign in to comment.