commit 566b37abe7dd0cc2aab4973adb6ba4045edfc995
parent 4b53d279fbad4d120b83870b5ce91b6d4339fb07
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 5 Nov 2026 02:52:10 -0500
umtool e2e: post-happy-path ends on the render queued and running, then stops it by its own Stop (a whole cut of posts renders for minutes)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/umtool/e2e/post-happy-path.spec.ts b/umtool/e2e/post-happy-path.spec.ts
@@ -23,7 +23,7 @@ const DIR = path.join(HERE, "..", ".e2e-song", "reports", "post-happy-fixture");
const timeline = () => (JSON.parse(readFileSync(path.join(DIR, "video.manifest.json"), "utf8")).timeline as { id: string; type: string }[]);
test("a post video from Add posts to a queued render, all by clicking", async ({ page }) => {
- test.setTimeout(300_000);
+ test.setTimeout(240_000);
await page.goto(urls.projectHref(P, { tab: "cut" }));
// 1. Add posts: what the archive holds that the cut does not play, previewed, then added in one write.
@@ -70,6 +70,9 @@ test("a post video from Add posts to a queued render, all by clicking", async ({
const job = page.locator("[data-take-job]");
await expect(job).toBeVisible();
await expect(page.locator('[data-take-step="crisp"]')).toBeAttached();
- // Not left running for the next spec: the job ends (its own spec judges a render's result).
- await expect(job).not.toHaveAttribute("data-job-progress-of", "running", { timeout: 240_000 });
+ await expect(job).toHaveAttribute("data-job-progress-of", "running");
+ // Queued and rendering is the happy path's end here (a whole cut of posts renders for minutes; takes.spec.ts judges
+ // a finished take). Stopped by its own press, so it is not left running for the next spec.
+ await job.getByRole("button", { name: "Stop" }).click();
+ await expect(job).not.toHaveAttribute("data-job-progress-of", "running", { timeout: 90_000 });
});