From 86f5d082d2167bc2f3e6192c6f9cba010404db64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sat, 11 Apr 2026 03:07:45 +0200 Subject: [PATCH] Fix E2E: match CodeMirror placeholder by visible text 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 6b62be8..847b095 100644 --- a/e2e/planner.test.ts +++ b/e2e/planner.test.ts @@ -76,8 +76,8 @@ test.describe("Planner", () => { // Switch to Notes tab await page.getByRole("button", { name: "Notes" }).click(); - // CodeMirror renders placeholder as a .cm-placeholder element, not an HTML placeholder attribute - await expect(page.locator(".cm-placeholder, .cm-content")).toBeVisible(); + // CodeMirror editor should be visible with the placeholder text + await expect(page.getByText("Add notes for this session...")).toBeVisible(); // Switch back to Waypoints tab await page.getByRole("button", { name: "Waypoints" }).click();