diff --git a/tests/example.spec.ts b/tests/example.spec.ts index 5154c265..fb9c3a27 100644 --- a/tests/example.spec.ts +++ b/tests/example.spec.ts @@ -5,5 +5,5 @@ test("has title in the document", async ({ page }) => { const title = page.getByRole("heading"); - await expect(title).toHaveText(/Hedwig/i); + await expect(title).toHaveText("Hedwig"); });