Skip to content

Commit

Permalink
e2e test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Jan 9, 2025
1 parent 5264e9c commit 56abbce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/specs/editor/various/style-variation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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(
Expand Down

0 comments on commit 56abbce

Please sign in to comment.