diff --git a/test/e2e/specs/editor/various/style-variation.spec.js b/test/e2e/specs/editor/various/style-variation.spec.js index 1d1547ad56b622..136b8284b1ecff 100644 --- a/test/e2e/specs/editor/various/style-variation.spec.js +++ b/test/e2e/specs/editor/various/style-variation.spec.js @@ -7,6 +7,7 @@ test.describe( 'adding blocks', () => { test( 'Should switch to the plain style of the quote block', async ( { admin, editor, + page, } ) => { await admin.createNewPost(); @@ -18,6 +19,8 @@ test.describe( 'adding blocks', () => { await editor.clickBlockToolbarButton( 'Quote' ); + await page.click( 'role=menuitem[name="Plain"i]' ); + // Check the content const content = await editor.getEditedPostContent(); expect( content ).toBe(