Archilyzer · Source

archilyzer

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

commit d38d44d5261e744e31a43256d642b33ba2845522
parent 49f6cbfcb39d9ce9b5a389a4db9d03ef773a3a9c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon,  2 Nov 2026 13:56:02 -0500

umtool e2e: phone-walk's take leg follows the new rule -- `short` has its own timeline, so E opens the take's bench and the head says the edits go to the take

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

Diffstat:
Mumtool/e2e/phone-walk.spec.ts | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/umtool/e2e/phone-walk.spec.ts b/umtool/e2e/phone-walk.spec.ts @@ -294,17 +294,18 @@ test("Play → Edit this clip → move an edge → Back: the new bounds are what await expect(root).toHaveAttribute("data-play-item", "c02"); await page.keyboard.press("k"); - // A take: the edit goes to the project's cut, and the bench says so; Back - // returns to Play as it was -- the take still playing (Play and the bench - // are one app: Play was never unmounted). + // A take with its own timeline (`short`: c04 then c01): the edit goes to + // THE TAKE, on its own bench, and the bench says so; Back returns to Play + // as it was -- the take still playing (Play and the bench are one app: Play + // was never unmounted). play-take-edit.spec.ts proves the save lands there. await page.goto(urls.playHref(PLAY, { take: "short" })); await expect(root).toHaveAttribute("data-play-item", "c04"); // E (the key is live once hydrated, which the first render cannot show). await expect(async () => { await page.keyboard.press("e"); - await expect(page).toHaveURL(/\/clip\/c04\?from=play.*take=short/, { timeout: 1500 }); + await expect(page).toHaveURL(/\/takes\/short\/clip\/c04\?from=play/, { timeout: 1500 }); }).toPass({ timeout: 15_000 }); - await expect(page.locator('[data-back-take="short"]')).toContainText("not take short"); + await expect(page.locator('[data-back-take="short"]')).toContainText("edits go to take short, not the project"); await page.locator("[data-back-to-play]").click(); await expect(page).toHaveURL(/\/play\?take=short&clip=c04/, { timeout: 20_000 }); await expect(root).toHaveAttribute("data-play-cut", "short");