Skip to content

Commit b434a7e

Browse files
Change locator from page to iframe for form group
1 parent 7fd96ca commit b434a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e-tests/specs/customizer/style-book/style-book.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ test.describe('Style Book Modal', () => {
8787
await expect(iframe.locator('.nv-sb-btn-primary')).toBeVisible();
8888

8989
// Verify form has clickable class
90-
const group = page.locator('.nv-sb-form-group');
90+
const group = iframe.locator('.nv-sb-form-group');
9191
await expect(group).toHaveClass(/builder-item-focus/);
9292
});
9393

0 commit comments

Comments
 (0)