From b7fe68359c38b002f85a34192caf6589453c795f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Wed, 15 Apr 2026 02:27:59 +0200 Subject: [PATCH] Fix flaky overnight E2E test: increase timeouts The "Waypoints (3)" assertion timed out at 5s in CI. The waypoints load from URL params but the sidebar needs BRouter mock response + Yjs sync before updating. Increase to 15s to match other assertions. Co-Authored-By: Claude Opus 4.6 (1M context) --- e2e/planner.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/planner.test.ts b/e2e/planner.test.ts index eb9608c..05db769 100644 --- a/e2e/planner.test.ts +++ b/e2e/planner.test.ts @@ -259,10 +259,10 @@ test.describe("Planner", () => { await expect(page.locator(".leaflet-container")).toBeVisible({ timeout: 10000 }); await expect(page.getByText("Connected")).toBeVisible({ timeout: 15000 }); - await expect(page.getByText("Waypoints (3)")).toBeVisible({ timeout: 5000 }); + await expect(page.getByText("Waypoints (3)")).toBeVisible({ timeout: 15000 }); const sidebar = page.locator("aside"); - await expect(sidebar.getByText(/\d+\.\d+ km/).first()).toBeVisible({ timeout: 10000 }); + await expect(sidebar.getByText(/\d+\.\d+ km/).first()).toBeVisible({ timeout: 15000 }); // Hover waypoint 2 to reveal controls, click the overnight toggle (moon icon) const waypointRows = sidebar.locator("li").filter({ has: page.locator("span.rounded-full") });