Skip to content

Commit 7fd96ca

Browse files
Update class verification for form group in tests
1 parent 9fadba6 commit 7fd96ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

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

9394
test('should display buttons with proper styling', async ({ page }) => {

0 commit comments

Comments
 (0)