diff --git a/tests/end-to-end/official-site.spec.ts b/tests/end-to-end/official-site.spec.ts index ad676c3c..5d261f37 100644 --- a/tests/end-to-end/official-site.spec.ts +++ b/tests/end-to-end/official-site.spec.ts @@ -85,7 +85,7 @@ test("Authentication example", async ({ page }) => { test("table filtering", async ({ page }) => { await page.goto(`${BASE}/documentation.sql?component=table`); const tableSection = page.locator(".card", { - has: page.getByRole("cell", { name: "Chart" }), + has: page.getByRole("cell", { name: "Chart", exact: true }), }); const searchInput = tableSection.getByPlaceholder("Search…");