diff --git a/packages/e2e-tests/specs/editor/various/rtl.test.js b/packages/e2e-tests/specs/editor/various/rtl.test.js index c4fd3797cc292..831557b9c5223 100644 --- a/packages/e2e-tests/specs/editor/various/rtl.test.js +++ b/packages/e2e-tests/specs/editor/various/rtl.test.js @@ -104,6 +104,9 @@ describe( 'RTL', () => { await page.evaluate( () => ( document.dir = 'rtl' ) ); await page.keyboard.press( 'Enter' ); + // Wait for rich text editor to load. + await page.waitForSelector( '.block-editor-rich-text__editable' ); + await pressKeyWithModifier( 'primary', 'b' ); await page.keyboard.type( ARABIC_ONE ); await pressKeyWithModifier( 'primary', 'b' );