From 865e9ee4af681a60b98fc3f63b9310f171ae5102 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Sun, 2 Sep 2018 18:50:58 +0100 Subject: [PATCH] Differentiate shortcut test from backspace test --- test/e2e/specs/block-deletion.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/e2e/specs/block-deletion.test.js b/test/e2e/specs/block-deletion.test.js index 3b3042adadc4a..9851cd7526eb8 100644 --- a/test/e2e/specs/block-deletion.test.js +++ b/test/e2e/specs/block-deletion.test.js @@ -42,6 +42,8 @@ describe( 'block deletion -', () => { describe( 'deleting the third block using the Remove Block shortcut', () => { it( 'results in two remaining blocks and positions the caret at the end of the second block', async () => { + // Type some text to assert that the shortcut also deletes block content. + await page.keyboard.type( 'this is block 2' ); await pressWithModifier( [ 'Alt', META_KEY ], 'Backspace' ); expect( await getEditedPostContent() ).toMatchSnapshot();