commit 1c5b6fd9b3f7f988e3bb0a3f139915df4df06246
parent f38dd7c816328760afbf2333063536d158e0294c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 9 Nov 2026 19:00:46 -0500
umtool: intro-play -- a version the draft already holds goes straight on to Play (L3 review 1)
intro-play-fixture's v1 is the cut as written (its rendered manifest is the
draft's bytes), so its old walk address now opens nothing and goes straight on
(307) to Play of the draft, as Open in draft decides by content.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/umtool/e2e/intro-play.spec.ts b/umtool/e2e/intro-play.spec.ts
@@ -75,9 +75,10 @@ test("Present opens the deck on the intro slide, playing the build's page", asyn
await expect(root).not.toHaveAttribute("data-present-slide", "brand-intro");
});
-test("the walk lists the intro first: the walk's stops (a version's old walk address asks to open it in the draft, L3)", async ({ page, request }) => {
+test("the walk lists the intro first: the walk's stops (a version's old walk address is Open in draft, L3)", async ({ page, request }) => {
+ // v1 is the cut as written (its rendered manifest is the draft's bytes): nothing to copy, straight on to Play.
await page.goto(urls.takeWalkHref(PROJECT, "v1"));
- await expect(page.locator('[data-open-draft="v1"]')).toContainText("Open v1 in draft?");
+ await expect(page).toHaveURL(new RegExp(`/projects/${PROJECT}/play$`));
const w = (await (await request.get(`/api/report/walk?project=${encodeURIComponent(PROJECT)}`)).json()) as { stops: string[]; intro: { style: string } | null; first: string | null };
expect(w.stops[0]).toBe("brand-intro");
expect(w.intro?.style).toBe("title-card");