Skip to content

Commit

Permalink
Fix flaky 'Switch to Draft' action in Preview e2e tests (#55772)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Nov 1, 2023
1 parent 330d702 commit 068900c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/specs/editor/various/preview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ test.describe( 'Preview', () => {
await editor.canvas
.locator( 'role=textbox[name="Add title"i]' )
.type( 'Lorem' );
await editor.openDocumentSettingsSidebar();

// Open the preview page.
const previewPage = await editor.openPreviewPage( editorPage );
Expand Down

1 comment on commit 068900c

@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 068900c.
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/6723061951
📝 Reported issues:

Please sign in to comment.