Skip to content

Commit

Permalink
Quote: stabilise flaky e2e test (#43460)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Aug 22, 2022
1 parent 93e29bb commit 7102b99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/e2e-tests/specs/editor/blocks/quote.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ describe( 'Quote', () => {
expect( await getEditedPostContent() ).toMatchSnapshot();

await page.keyboard.press( 'Backspace' );
// Allow time for selection to update.
await page.evaluate( () => new Promise( window.requestIdleCallback ) );
await page.keyboard.type( '2' );

// Expect the paragraph to be merged into the quote block.
Expand Down

0 comments on commit 7102b99

Please sign in to comment.