We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d11d0e commit 3bc8496Copy full SHA for 3bc8496
tests/index.spec.ts
@@ -2,10 +2,8 @@ import { test, expect } from "@playwright/test";
2
3
test("Has Index title", async ({ page }) => {
4
await page.goto("/");
5
-
6
// Wait for the page to be fully loaded by checking for a reliable element
7
- await page.waitForSelector('main', { state: 'visible' });
8
+ await page.waitForSelector("main", { state: "visible" });
9
// Expect a title "to contain" a substring.
10
await expect(page).toHaveTitle(/Index - Nuxt 3 Woocommerce/);
11
});
0 commit comments