commit cca70ad03add57bc3f327353ad0238187ebeab5c
parent 64806db889a0353dc732e8f656824935bddffa4a
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sun, 1 Nov 2026 01:37:57 -0400
umtool e2e: cut-sections waits for the redraw before the second move
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/umtool/e2e/cut-sections.spec.ts b/umtool/e2e/cut-sections.spec.ts
@@ -63,6 +63,8 @@ test("move to section…: the clip lands at the section's end, the markers and t
await expect.poll(order).toEqual(["c02", "c03", "c04", "c05", "c06", "c01"]);
expect(afters()).toEqual(["c02", "c04"]);
expect(patchAfters()).toEqual(["c02", "c04"]);
+ // The page has redrawn the cut (a row re-keyed by its new place loses an open menu).
+ await expect(page.locator("[data-testid=timeline-list] > li").last()).toHaveAttribute("data-entry", "c01");
// c04 to §0: the "Three" boundary moves to c03, in the manifest and the patch.
await page.locator("[data-row-menu='c04']").click();
await page.locator("[data-row-action='to-section']").click();