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) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-11 11:13:35 +02:00
parent 3787821571
commit 97184f4b82
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -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 }) => {