Skip to content

Commit

Permalink
Ensure document settings is open
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Aug 2, 2023
1 parent c8c5338 commit ce4358b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/specs/editor/plugins/block-variations.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ test.describe( 'Block variations', () => {
page,
pageUtils,
} ) => {
await editor.openDocumentSettingsSidebar();
await editor.canvas.click( 'role=button[name="Add default block"i]' );
await page.keyboard.type( '/Heading' );
await page.keyboard.press( 'Enter' );
Expand Down Expand Up @@ -187,6 +188,7 @@ test.describe( 'Block variations', () => {
page,
pageUtils,
} ) => {
await editor.openDocumentSettingsSidebar();
await editor.canvas.click( 'role=button[name="Add default block"i]' );
await page.keyboard.type( '/Heading' );
await page.keyboard.press( 'Enter' );
Expand Down

0 comments on commit ce4358b

Please sign in to comment.