Skip to content

Commit

Permalink
Fix e2e test (switch to edit mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 29, 2018
1 parent 6283496 commit 40d1191
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/specs/adding-blocks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ describe( 'adding blocks', () => {
}

it( 'Should insert content using the placeholder and the regular inserter', async () => {
// trigger the edit keyboard mode
await page.mouse.click( 200, 200 );

// Click below editor to focus last field (block appender)
await clickBelow( await page.$( '.editor-default-block-appender' ) );
expect( await page.$( '[data-type="core/paragraph"]' ) ).not.toBeNull();
Expand Down

0 comments on commit 40d1191

Please sign in to comment.