[287] e2e Referenz-Ablauf: Wandring schliesst mit dem Startpunkt (kein Enter mehr)

This commit is contained in:
Claude committed 2026-11-18 22:57:33 +00:00
1 parent b8d2920733
commit 3e4c28c963
1 file changed
+2 -1
+2 -1
View File
@@ -101,7 +101,8 @@ test("Referenz-Ablauf WBW/Vorprojekt: leeres Projekt bis Abgabe", async ({ page
await typeCommand(page, "wand");
await expect(page.locator(".cmdline-prompt")).toHaveText("Startpunkt der Wand:");
for (const [x, y] of [[B.x0, B.y0], [B.x1, B.y0], [B.x1, B.y1], [B.x0, B.y1], [B.x0, B.y0]]) await typeCommand(page, lv(x, y));
await finishCommand(page);
// [287] Der Startpunkt schliesst den Wandring und beendet den Befehl (kein Enter nötig; Enter würde ihn wiederholen).
await expect(page.locator(".cmdline-prompt")).toHaveText("Befehl:");
await expect.poll(() => elementRows(page).count()).toBe(before + 4);
await typeCommand(page, "decke");
for (const [x, y] of [[B.x0, B.y0], [B.x1, B.y0], [B.x1, B.y1], [B.x0, B.y1]]) await typeCommand(page, lv(x, y));