diff --git a/packages/e2e-tests/specs/site-editor/multi-entity-saving.test.js b/packages/e2e-tests/specs/site-editor/multi-entity-saving.test.js index e0a53225b35c1b..cadb037a4847dc 100644 --- a/packages/e2e-tests/specs/site-editor/multi-entity-saving.test.js +++ b/packages/e2e-tests/specs/site-editor/multi-entity-saving.test.js @@ -165,6 +165,11 @@ describe( 'Multi-entity save flow', () => { '//*[@id="a11y-speak-polite"][contains(text(), "Post published")]' ); + // Unselect the blocks to avoid clicking the block toolbar. + await page.evaluate( () => { + wp.data.dispatch( 'core/block-editor' ).clearSelectedBlock(); + } ); + // Update the post. await page.click( '.editor-post-title' ); await page.keyboard.type( '...more title!' );