diff --git a/test/e2e/specs/blocks/list.test.js b/test/e2e/specs/blocks/list.test.js index 409b1a3d03550d..3d416b998d1371 100644 --- a/test/e2e/specs/blocks/list.test.js +++ b/test/e2e/specs/blocks/list.test.js @@ -9,7 +9,6 @@ import { convertBlock, pressWithModifier, insertBlock, - META_KEY, } from '../../support/utils'; describe( 'List', () => { @@ -50,7 +49,7 @@ describe( 'List', () => { it( 'can undo asterisk transform', async () => { await clickBlockAppender(); await page.keyboard.type( '1. ' ); - await pressWithModifier( META_KEY, 'z' ); + await pressWithModifier( 'primary', 'z' ); expect( await getEditedPostContent() ).toMatchSnapshot(); } ); diff --git a/test/e2e/specs/rich-text.test.js b/test/e2e/specs/rich-text.test.js index 7477007d81144d..dca248c8289314 100644 --- a/test/e2e/specs/rich-text.test.js +++ b/test/e2e/specs/rich-text.test.js @@ -63,7 +63,7 @@ describe( 'RichText', () => { expect( await getEditedPostContent() ).toMatchSnapshot(); - await pressWithModifier( META_KEY, 'z' ); + await pressWithModifier( 'primary', 'z' ); expect( await getEditedPostContent() ).toMatchSnapshot(); } );