diff --git a/test/e2e/specs/editor/blocks/columns.spec.js b/test/e2e/specs/editor/blocks/columns.spec.js index 4e88420058998..247a49becc373 100644 --- a/test/e2e/specs/editor/blocks/columns.spec.js +++ b/test/e2e/specs/editor/blocks/columns.spec.js @@ -106,30 +106,16 @@ test.describe( 'Columns', () => { }, ], } ); - expect( await editor.getEditedPostContent() ).toBe( - ` -
-
-

1

-
- - - -
-

2

-
-
-` - ); await editor.clickBlockOptionsMenuItem( 'Ungroup' ); - expect( await editor.getEditedPostContent() ).toBe( - ` -

1

- - - -

2

-` - ); + await expect.poll( editor.getBlocks ).toMatchObject( [ + { + name: 'core/paragraph', + attributes: { content: '1' }, + }, + { + name: 'core/paragraph', + attributes: { content: '2' }, + }, + ] ); } ); } );