Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jul 9, 2024
1 parent 277a884 commit c2bdeba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/site-editor/new-templates-list.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ test.describe( 'Templates', () => {
await page.getByRole( 'menuitem', { name: 'Layout' } ).click();
await page.getByRole( 'menuitemradio', { name: 'Table' } ).click();

await page.getByRole( 'button', { name: 'Description' } ).click();
await page.getByRole( 'button', { name: 'Author' } ).click();
await page.getByRole( 'menuitem', { name: 'Hide' } ).click();

await expect(
page.getByRole( 'button', { name: 'Description' } )
page.getByRole( 'button', { name: 'Author' } )
).toBeHidden();
} );
} );

0 comments on commit c2bdeba

Please sign in to comment.