Skip to content

Commit

Permalink
run the test in navigation mode
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 9, 2019
1 parent ca40e24 commit 0b1dc06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/e2e-tests/specs/adding-blocks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ describe( 'adding blocks', () => {
}

it( 'Should insert content using the placeholder and the regular inserter', async () => {
// This ensures the editor is loaded in navigation mode.
await page.reload();

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

0 comments on commit 0b1dc06

Please sign in to comment.