From aaf826290f60be6e6e211474ae4090ba336a44eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 21 Oct 2026 17:27:53 +0200 Subject: [PATCH] test(e2e): follow the checklist's visit link to the visits tab --- e2e/setup-flow-visit.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/setup-flow-visit.spec.ts b/e2e/setup-flow-visit.spec.ts index 42e53648b..1e3231bce 100644 --- a/e2e/setup-flow-visit.spec.ts +++ b/e2e/setup-flow-visit.spec.ts @@ -77,7 +77,9 @@ test.describe("setup flow — a visit within a month, with labs", () => { await expect(checklist.locator("#getting-started-body")).toBeVisible(); const visitRow = checklist.locator('li[data-item-id="visit"]'); await expect(visitRow).toHaveAttribute("data-done", "false"); - await expect(visitRow.locator('a[href="/checkups"]')).toBeVisible(); + await expect( + visitRow.locator('a[href="/checkups?view=visits"]'), + ).toBeVisible(); // Book the visit; the row reads the visits list's own body and flips. const booked = await page.request.post("/api/encounters", {