From 97184f4b82fe3e370f4190d7773add1b72dec5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sat, 11 Apr 2026 11:13:35 +0200 Subject: [PATCH] Fix E2E: use 'residential' instead of 'cycleway' in legend test 'cycleway' now matches both the highway legend and the Cycleway dropdown option, causing a strict mode violation. Co-Authored-By: Claude Opus 4.6 (1M context) --- e2e/planner.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/planner.test.ts b/e2e/planner.test.ts index 8bd3924..eb9608c 100644 --- a/e2e/planner.test.ts +++ b/e2e/planner.test.ts @@ -379,7 +379,7 @@ test.describe("Planner", () => { // Legend should show highway types from mock data await expect(page.getByText("secondary")).toBeVisible({ timeout: 5000 }); - await expect(page.getByText("cycleway")).toBeVisible({ timeout: 5000 }); + await expect(page.getByText("residential")).toBeVisible({ timeout: 5000 }); }); test("road type hover label shows highway type", async ({ page, request }) => {