Skip to content

Commit

Permalink
Update Block template registration e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Feb 19, 2025
1 parent 5d9ac19 commit 80ca85d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/specs/site-editor/template-registration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ test.describe( 'Block template registration', () => {
const searchResults = page.getByLabel( 'Actions' );
await searchResults.first().click();
await page.getByRole( 'menuitem', { name: 'Reset' } ).click();
await page.getByRole( 'button', { name: 'Reset' } ).click();
await page
.getByRole( 'dialog' )
.getByRole( 'button', { name: 'Reset' } )
.click();

await expect( resetNotice ).toBeVisible();
await expect( savedButton ).toBeVisible();
Expand Down

0 comments on commit 80ca85d

Please sign in to comment.