Skip to content

Commit

Permalink
Fix flaky. (#22202)
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthkh committed May 8, 2020
1 parent 578a33a commit c9ce32f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/e2e-tests/specs/editor/various/rich-text.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ describe( 'RichText', () => {
it( 'should handle Home and End keys', async () => {
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( '12' );
await pressKeyWithModifier( 'primary', 'b' );
Expand Down

0 comments on commit c9ce32f

Please sign in to comment.