Skip to content

Commit 42c0413

Browse files
committed
Close first site popup
1 parent 9baed98 commit 42c0413

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ test.describe( 'Block Bindings in Site Editor', () => {
7474
await page.waitForSelector('iframe[name="editor-canvas"]', { timeout: 10000 });
7575
await page.waitForTimeout(2000); // Give the editor a moment to fully load
7676

77+
// Close the welcome guide modal if it appears by pressing Escape
78+
await page.keyboard.press( 'Escape' );
79+
await page.waitForTimeout( 500 );
80+
7781
// Get the iframe and work within it
7882
const frameLocator = page.frameLocator('iframe[name="editor-canvas"]');
7983

0 commit comments

Comments
 (0)