From b75e0070503ee1c77f3d96d64dde39c4f4bf547f Mon Sep 17 00:00:00 2001 From: lovasoa Date: Sat, 11 Jan 2025 15:01:06 +0100 Subject: [PATCH] fix official site tests --- tests/end-to-end/official-site.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/end-to-end/official-site.spec.ts b/tests/end-to-end/official-site.spec.ts index 8568d0cf..afa635c0 100644 --- a/tests/end-to-end/official-site.spec.ts +++ b/tests/end-to-end/official-site.spec.ts @@ -10,7 +10,6 @@ test("Open documentation", async ({ page }) => { // open the submenu await page.getByText("Documentation", { exact: true }).first().click(); - await page.getByText("All Components").click(); const components = ["form", "map", "chart", "button"]; for (const component of components) { await expect( @@ -46,7 +45,7 @@ test("form example", async ({ page }) => { }); test("File upload", async ({ page }) => { - await page.goto(BASE); + await page.goto(`${BASE}/your-first-sql-website`); await page.getByRole("button", { name: "Examples", exact: true }).click(); await page.getByText("File uploads").click(); const my_svg = 'Hello World';