diff --git a/packages/e2e-tests/specs/editor/blocks/quote.test.js b/packages/e2e-tests/specs/editor/blocks/quote.test.js index c598f02d45234..bb61fc7a5ee0a 100644 --- a/packages/e2e-tests/specs/editor/blocks/quote.test.js +++ b/packages/e2e-tests/specs/editor/blocks/quote.test.js @@ -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.