commit 256046bec84703952f83d801f7dc3f86b648767c
parent c7345edfba0e02537a2440e921e417eb6509b6db
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 2 Nov 2026 00:39:53 -0500
umtool cut-groups.spec: the group-drag test on a viewport tall enough that nothing scrolls between the press and the drop (a scroll mid-drag picked up the next handle)
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-groups.spec.ts b/umtool/e2e/cut-groups.spec.ts
@@ -88,6 +88,8 @@ test("a claim is edited in place: Enter saves it, Escape leaves it", async ({ pa
});
test("a group bar dragged onto a row moves the whole group before it; into another group's middle is refused; Undo", async ({ page }) => {
+ // Tall enough that nothing scrolls between the press and the drop (a scroll mid-drag picks up another handle).
+ await page.setViewportSize({ width: 1366, height: 2200 });
await open(page);
await page.locator("[data-group-handle='g3']").dragTo(page.locator("li[data-entry='c04'][data-kind]"));
await expect.poll(order, POLL).toBe("c01 c02 c03 c06 c07 c04 c05 c08");