Skip to content

Commit 92bcc15

Browse files
Plataneclaude
andauthored
Fix e2e tests: navigate to /ui instead of / (#6188)
Navigate directly to `/ui` instead of relying on the root redirect, making the tests resilient to changes in the root redirect target. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e86f4fb commit 92bcc15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quickwit/quickwit-ui/e2e/homepage.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { expect, test } from "@playwright/test";
1616

1717
test.describe("Home navigation", () => {
1818
test("Should display sidebar links", async ({ page }) => {
19-
await page.goto("/");
19+
await page.goto("/ui");
2020
await expect(page.locator("a")).toContainText([
2121
"Query editor",
2222
"Indexes",
@@ -25,7 +25,7 @@ test.describe("Home navigation", () => {
2525
});
2626

2727
test("Should navigate to cluster state", async ({ page }) => {
28-
await page.goto("/");
28+
await page.goto("/ui");
2929
await page.getByRole("link", { name: "Cluster" }).click();
3030
await expect(page.getByLabel("breadcrumb")).toContainText("Cluster");
3131
await expect(page.getByText("cluster_id")).toBeVisible();

0 commit comments

Comments
 (0)