Skip to content

Commit

Permalink
Fix flaky 'hooks API' e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jun 17, 2023
1 parent e3194a1 commit cb950e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/specs/editor/plugins/hooks-api.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ test.describe( 'Using Hooks API', () => {
page,
editor,
} ) => {
await editor.openDocumentSettingsSidebar();
await editor.canvas.click( 'role=button[name="Add default block"i]' );
await page.keyboard.type( 'First paragraph' );
await page.click(
Expand All @@ -35,6 +36,7 @@ test.describe( 'Using Hooks API', () => {
editor,
page,
} ) => {
await editor.openDocumentSettingsSidebar();
await editor.canvas.click( 'role=button[name="Add default block"i]' );
await page.keyboard.type( 'First paragraph' );

Expand Down

0 comments on commit cb950e9

Please sign in to comment.