Skip to content

Commit

Permalink
Update native block insertion UI test (#31053)
Browse files Browse the repository at this point in the history
Media picker is now automatically displayed when adding an image block so we have to include this case in the UI tests.
  • Loading branch information
fluiddot authored Apr 21, 2021
1 parent d59d1d0 commit d504910
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ describe( 'Gutenberg Editor tests for Block insertion 2', () => {
await separatorBlockElement.click();

await editorPage.addNewBlock( blockNames.image, 'before' );
await editorPage.driver.sleep( 1000 );
await editorPage.closePicker();

const expectedHtml = `<!-- wp:heading -->
<h2></h2>
Expand Down

0 comments on commit d504910

Please sign in to comment.