From 1ad5c6be522c43ab5fabb05c0143c28f195ba287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Mon, 18 May 2026 00:25:10 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20E2E:=20click=20=E2=96=BE=20chevron=20to?= =?UTF-8?q?=20open=20export=20dropdown,=20not=20Export=20GPX=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Export GPX text button directly downloads a route-only GPX. The ▾ chevron opens the dropdown with Export Plan (includes waypoints). Co-Authored-By: Claude Sonnet 4.6 --- e2e/planner.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/e2e/planner.test.ts b/e2e/planner.test.ts index 7241260..caa426d 100644 --- a/e2e/planner.test.ts +++ b/e2e/planner.test.ts @@ -504,9 +504,8 @@ test.describe("Planner", () => { // Give Yjs a moment to flush the transaction await page.waitForTimeout(300); - // Export GPX plan (which includes waypoints) and verify appears inside a - await page.getByRole("button", { name: "Export GPX" }).click(); - // Wait for the dropdown to open, then click Export Plan + // Open the export dropdown (▾ chevron next to Export GPX), then click Export Plan + await page.getByRole("button", { name: "▾" }).click(); await expect(page.getByText("Export Plan")).toBeVisible({ timeout: 3000 }); const downloadPromise = page.waitForEvent("download"); await page.getByText("Export Plan").first().click();