Skip to content

Commit 28253e3

Browse files
committed
Fix E2E test for WP 7.0 side-inserter behavior
1 parent d3e3fdd commit 28253e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/block-bindings-site-editor.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ test.describe( 'Block Bindings in Site Editor', () => {
115115
const emptyParagraph = frameLocator.locator(
116116
'[data-type="core/paragraph"][data-empty="true"]'
117117
);
118-
await emptyParagraph.click();
118+
// Force click to bypass WP 7.0's side-inserter popover overlay.
119+
await emptyParagraph.click( { force: true } );
119120

120121
// Wait for the "Connect to a field" panel to appear in the block inspector
121122
await page.waitForSelector(

0 commit comments

Comments
 (0)