commit c1db0d61dda60407eceaddb0773e0b9f03a42d3b
parent 02fa0dd2fc95448f2bfb6de2b1166d91386f78e5
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 15 Oct 2026 07:36:33 -0400
umtool e2e: Draft everything with the deck on msurf i3 (a full-HD cut: the minimal deck's defaults need the room; the chain cancelled once the threads are skipped), the social draft on mdraft i4 shown on the Media tab, eight draft sections, the draft-all chain's 16 steps with out/x.txt and out/bluesky.txt
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/umtool/e2e/fixtures/media-surfaces-fixture.mjs b/umtool/e2e/fixtures/media-surfaces-fixture.mjs
@@ -75,6 +75,9 @@ export function makeMediaSurfacesFixture({ dest, articles, manifest, cachedWindo
{ type: "clip", id: "c02", video: "vid1", start: 4.5, end: 6.0, cite: 4.5, section: 0, lock: true, quote: "another whole sentence" },
]);
m.drafted = { timeline: CODE };
+ // i3's cut is full HD: the minimal deck (its defaults) needs the room a
+ // full frame has, and its chain is cancelled before any build.
+ if (n === 3) m.render = { ...(m.render ?? {}), width: 1920, height: 1080 };
// i1's YouTube text is the operator's: a forced draft is kept as an alternative.
if (n === 1) m.publish = { youtube: { title: "The operator's own title", description: "Written by hand." } };
put(path.join(project, "video.manifest.json"), m);
diff --git a/umtool/e2e/media-draft.spec.ts b/umtool/e2e/media-draft.spec.ts
@@ -105,7 +105,7 @@ test("social (release 29 G2): a post for X and one for Bluesky with their thread
const panel = page.getByRole("region", { name: "Social posts" });
await expect(panel.getByRole("region", { name: "X post" }).locator("[data-social-post]")).toHaveCount(3);
await expect(panel.getByRole("region", { name: "X post" }).locator("[data-social-count]").first()).toHaveText(`1/3 · ${m.publish.x.post.length}/280 as X counts`);
- await expect(panel.getByRole("region", { name: "Bluesky post" }).locator("[data-social-count]")).toHaveText(`${m.publish.bluesky.post.length}/300 graphemes`);
+ await expect(panel.getByRole("region", { name: "Bluesky post" }).locator("[data-social-count]").first()).toHaveText(`1/2 · ${m.publish.bluesky.post.length}/300 graphemes`);
await expect(panel.getByRole("region", { name: "X post" }).getByRole("button", { name: "Copy" })).toBeVisible();
// Its draft row on the Media tab, in Draft everything's order (the last).
await expect(page.locator("[data-media-chip='social']")).toBeVisible();
diff --git a/umtool/e2e/media-surfaces.spec.ts b/umtool/e2e/media-surfaces.spec.ts
@@ -42,8 +42,8 @@ test("Draft with <model> per section: the job followed, the badge, the last run,
await page.goto(urls.section(PROJECT, "drafts"));
const panel = page.getByRole("region", { name: "Media drafts" });
await expect(panel).toHaveAttribute("data-draft-panel", `${ARTICLE}/i1`);
- // Seven sections; flips and threads say why they cannot draft on this cut.
- await expect(panel.locator("[data-draft-task]")).toHaveCount(7);
+ // Eight sections (release 29 G2: the social posts); flips and threads say why they cannot draft on this cut.
+ await expect(panel.locator("[data-draft-task]")).toHaveCount(8);
await expect(panel.locator("[data-draft-task='flips'] [data-draft-blocked]")).toContainText("this cut has none (render.chrome)");
const cut = panel.locator("[data-draft-task='cut']");
// The policy's models, the route's preselected.