From 4f2b88c5fe1e2296c26ae050ec4d6a083ed69532 Mon Sep 17 00:00:00 2001 From: iseulde Date: Tue, 20 Feb 2018 14:00:19 +0100 Subject: [PATCH] Fix e2e tests --- test/e2e/integration/003-multi-block-selection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/integration/003-multi-block-selection.js b/test/e2e/integration/003-multi-block-selection.js index f79d24125027b7..a3fe27cbab09c1 100644 --- a/test/e2e/integration/003-multi-block-selection.js +++ b/test/e2e/integration/003-multi-block-selection.js @@ -41,9 +41,9 @@ describe( 'Multi-block selection', () => { // Multiselect via keyboard const isMacOs = Cypress.platform === 'darwin'; if ( isMacOs ) { - cy.get( 'body' ).type( '{meta}a' ); + cy.get( lastBlockSelector ).type( '{meta}a' ).type( '{meta}a' ); } else { - cy.get( 'body' ).type( '{ctrl}a' ); + cy.get( lastBlockSelector ).type( '{ctrl}a' ).type( '{ctrl}a' ); } // Verify selection