Skip to content

Commit

Permalink
Try to fix flaky synced pattern test (#55406)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Oct 18, 2023
1 parent 2321a48 commit 2525a64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/specs/editor/various/writing-flow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1128,8 +1128,10 @@ test.describe( 'Writing Flow (@firefox, @webkit)', () => {
await page.keyboard.press( 'Enter' );

await expect(
editor.canvas.locator( '[data-type="core/block"]' )
).toBeFocused();
editor.canvas.locator(
'[data-type="core/block"] [data-type="core/paragraph"]'
)
).toBeVisible();

await editor.insertBlock( { name: 'core/paragraph' } );

Expand Down

0 comments on commit 2525a64

Please sign in to comment.