From 56abbce18dcff67972f49ab0597575d90c0f514d Mon Sep 17 00:00:00 2001 From: karthick-murugan Date: Thu, 9 Jan 2025 17:36:30 +0530 Subject: [PATCH] e2e test fixes --- test/e2e/specs/editor/various/style-variation.spec.js | 3 +++ 1 file changed, 3 insertions(+) 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(