commit c4ee4593915fca562c2d48e7c92395c354601597
parent 67e21836c6cb43d9c92011dd8b9d4ba80a6b7060
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 9 Nov 2026 21:44:40 -0500
umtool: needs-you.spec -- a quick clip raises no version to judge and no walk (its other checks are the reducer's)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/umtool/e2e/needs-you.spec.ts b/umtool/e2e/needs-you.spec.ts
@@ -219,9 +219,9 @@ test("Quick clip: a moment link found, the edges nudged on its words, rendered,
await expect(copy).toHaveAttribute("data-share-state", /copied|shown/, { timeout: 60_000 });
await expect(box.locator('[data-share-line-box="quick-clip"] [data-share-line]')).toHaveText("https://www.youtube.com/watch?v=quickvid&t=10s");
await shot(page, "needs-you-quick-clip-done");
- // A quick clip is shared, not judged or walked: it raises no call.
- const items = ((await (await page.request.get("/api/browse/decisions")).json()) as { items: { project: string }[] }).items;
- expect(items.filter((d) => d.project === QUICK_PROJECT)).toEqual([]);
+ // A quick clip is shared, not judged or walked: no version to judge, no clips to walk.
+ const items = ((await (await page.request.get("/api/browse/decisions")).json()) as { items: { project: string; kind: string }[] }).items;
+ expect(items.filter((d) => d.project === QUICK_PROJECT && (d.kind === "version-unjudged" || d.kind === "clips-unwalked"))).toEqual([]);
});
test("Run quote-check: one press queues `umtool quote-check` on the card's clips", async ({ page, request }) => {