commit 76d28e1509cfc276769a9c367293a8cd8c086f5f
parent 1293bd203deaa5a29f665949c8df6592d49c1343
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 10 Nov 2026 09:42:01 -0500
umtool e2e: REMOVED_LIST_SHOTS -- the Removed list and the draft import at 1366x768
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/umtool/e2e/take-items.spec.ts b/umtool/e2e/take-items.spec.ts
@@ -114,6 +114,12 @@ test("the Cut tab's Add items from another project imports INTO THE DRAFT (L3):
await box.locator("[data-import-items]").fill("p-2");
await box.locator('[data-action="import-preview"]').click();
await expect(page.locator('[data-import-result="plan"] [data-import-row="p-2"]')).toContainText("p-2 added");
+ // REMOVED_LIST_SHOTS=<dir> (the lane's shots): the draft import at 1366×768.
+ if (process.env.REMOVED_LIST_SHOTS) {
+ await page.setViewportSize({ width: 1366, height: 768 });
+ await box.scrollIntoViewIfNeeded();
+ await page.screenshot({ path: path.join(process.env.REMOVED_LIST_SHOTS, "draft-import.png") });
+ }
expect(text(DIR), "a preview writes nothing").toBe(projectBefore);
await expect(box.locator('[data-action="import-go"]')).toHaveText("Import into the draft");
await box.locator('[data-action="import-go"]').click();
diff --git a/umtool/e2e/timeline-edit.spec.ts b/umtool/e2e/timeline-edit.spec.ts
@@ -169,6 +169,12 @@ test("the Removed list: a rejected clip is listed and Restore puts it back as it
const list = page.locator("[data-removed-clips]");
await expect(list.locator("[data-removed-clip]")).toHaveCount(1);
await expect(list.locator('[data-removed-clip="a03"] [data-removed-why]')).toContainText("covered by a01");
+ // REMOVED_LIST_SHOTS=<dir>: the list at a laptop's 1366×768.
+ if (process.env.REMOVED_LIST_SHOTS) {
+ await page.setViewportSize({ width: 1366, height: 768 });
+ await list.scrollIntoViewIfNeeded();
+ await page.screenshot({ path: path.join(process.env.REMOVED_LIST_SHOTS, "removed-list.png") });
+ }
await list.locator('[data-removed-restore="a03"]').click();
await expect(list.locator('[data-removed-said="ok"]')).toContainText("a03 is back in the cut at 3");
await expect.poll(order).toEqual(["t1", "a01", "a02", "a03"]);