Skip to content

Commit

Permalink
Fix flaky 'hooks API' e2e test (#51592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jun 17, 2023
1 parent 54d63c8 commit bc70b39
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

1 comment on commit bc70b39

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in bc70b39.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5296589285
📝 Reported issues:

Please sign in to comment.