Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 3c01a008a31d7ab7925adc829d0b15cff663582f
parent 2e9ec140e43d01902a6b095fbcade959a28f31a7
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 14 Oct 2026 09:05:26 -0400

umtool: piece.spec — a board's article in the making is at Research by the one stage rule

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/e2e/piece.spec.ts | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/umtool/e2e/piece.spec.ts b/umtool/e2e/piece.spec.ts @@ -332,7 +332,7 @@ test("a video started from a research board: Research done, Article not applicab } }); -test("an article drafted from a research board: Research done, the board in the head and on the Overview", async ({ page, request }) => { +test("an article drafted from a research board: at Research (its sweep running, no report yet), the board in the head and on the Overview", async ({ page, request }) => { const made = (await (await request.post("/api/research/cases", { data: { title: "Piece article board" } })).json()) as { case: { id: string } }; const id = made.case.id; const article = "piece-board-article"; @@ -349,8 +349,10 @@ test("an article drafted from a research board: Research done, the board in the expect(href).toBe(urls.articleHref({ site: "articles", id: article })); await page.goto(href); + // The board's hand-off reached Research; nothing past it yet, so it is the current stage. const steps = page.getByRole("list", { name: "Stage" }).locator("li"); - await expect(steps.nth(0)).toHaveAttribute("data-step", "done"); + await expect(steps.nth(0)).toHaveAttribute("aria-current", "step"); + await expect(steps.nth(1)).toHaveAttribute("data-step", "todo"); await expect(page.locator(`[data-piece-from-board="${id}"] a`)).toHaveText("Piece article board"); await expect(page.locator(`[data-piece-board="${id}"] a`)).toHaveAttribute("href", researchCaseHref(id)); } finally {