diff --git a/packages/e2e-tests/specs/editor/blocks/image.test.js b/packages/e2e-tests/specs/editor/blocks/image.test.js index 1acf1248f7182c..908cba05093de8 100644 --- a/packages/e2e-tests/specs/editor/blocks/image.test.js +++ b/packages/e2e-tests/specs/editor/blocks/image.test.js @@ -115,7 +115,7 @@ describe( 'Image', () => { const fileName = await upload( '.wp-block-image input[type="file"]' ); await waitForImage( fileName ); await page.keyboard.type( '1' ); - await insertBlock( 'Paragraph' ); + await page.keyboard.press( 'Enter' ); await page.keyboard.press( 'Backspace' ); await page.keyboard.type( '2' );