Skip to content

Commit

Permalink
Fix flaky Site Editor writing flow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Apr 12, 2023
1 parent 73fb8a6 commit f15b795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/site-editor/writing-flow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ test.describe( 'Site editor writing flow', () => {
await admin.visitSiteEditor( {
postId: 'emptytheme//header',
postType: 'wp_template_part',
canvas: 'edit',
} );
await editor.canvas.click( 'body' );
// Select the first site title block.
const siteTitleBlock = editor.canvas.locator(
'role=document[name="Block: Site Title"i]'
Expand All @@ -51,8 +51,8 @@ test.describe( 'Site editor writing flow', () => {
await admin.visitSiteEditor( {
postId: 'emptytheme//header',
postType: 'wp_template_part',
canvas: 'edit',
} );
await editor.canvas.click( 'body' );
// Make sure the sidebar is open.
await editor.openDocumentSettingsSidebar();

Expand Down

0 comments on commit f15b795

Please sign in to comment.