commit d2350173f68b7880912e4a7cab62bbfced19db91
parent 7ace7a809c374372be380c77fc23108c0283f190
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 6 Nov 2026 22:59:13 -0500
umtool e2e: the clearing half of the Clip-mode test pulls the end in before the cut (a clip is at least half a second itself)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/umtool/e2e/clip-bench.spec.ts b/umtool/e2e/clip-bench.spec.ts
@@ -1556,10 +1556,9 @@ test("in Clip mode, pulling the window in past the cut takes the cut in with it;
await expect(page.locator("[data-bench-note]")).toContainText("the cut shrank with it to 0:03.00–0:08.50");
await expect.poll(() => readClip("c01").cutEnd).toBe(8.5);
expect(readClip("c01").cutStart).toBe(3);
- // The start in to 8.2: less than half a second of the cut would be left -- it is cleared, and said.
- for (let i = 0; i < 16; i += 1) await page.locator("body").press("Shift+BracketRight");
- for (let i = 0; i < 4; i += 1) await page.locator("body").press("BracketRight");
- await expect(page.locator("[data-bench-sel]")).toHaveAttribute("data-bench-sel", "8.20-8.50");
+ // The end in to 2.5, before the cut's start: nothing of the cut would be left -- it is cleared, and said.
+ for (let i = 0; i < 12; i += 1) await page.locator("body").press("Shift+Comma");
+ await expect(page.locator("[data-bench-sel]")).toHaveAttribute("data-bench-sel", "0.00-2.50");
await page.getByRole("button", { name: "save window" }).click();
await expect(page.locator("[data-bench-note]")).toContainText("cut no longer fitted");
await expect.poll(() => readClip("c01").cutStart).toBeUndefined();