Skip to content

Commit

Permalink
Testing: Fix failing Writing Flow test (#10364)
Browse files Browse the repository at this point in the history
* Testing: Fix failing Writing Flow test

* chore: Tweak comments
  • Loading branch information
aduth committed Oct 5, 2018
1 parent 6990448 commit baff0e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/e2e/specs/writing-flow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,11 @@ describe( 'adding blocks', () => {
await pressWithModifier( META_KEY, 'b' );
expect( await getEditedPostContent() ).toMatchSnapshot();

// When returning to Visual mode, backspace in selected block should
// reset to an unmodified default block.
// Backspace to remove the content in this block, resetting it.
await page.keyboard.press( 'Backspace' );

// Ensure no data-mce-selected. Notably, this can occur when content
// is saved while typing within an inline boundary.
await clickBlockAppender();
await pressWithModifier( META_KEY, 'b' );
await page.keyboard.type( 'Inside' );
expect( await getEditedPostContent() ).toMatchSnapshot();
Expand Down

0 comments on commit baff0e6

Please sign in to comment.