Archilyzer · Source

archilyzer

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

commit a7e11bd21458300f4eeb86672acf8850e40c1e20
parent 80ff0af0e6dc8c7dd04fd4929b65107f1894512b
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 18 Nov 2026 03:30:51 -0500

umtool e2e: the keyboard walk waits for the streamed Inbox before its first key

visual-audit's keyboard-only walk pressed j as soon as the shell was
ready. The Inbox's list streams in after the shell now, so the first key
could land before the list was there and listening. It waits for the
lit list's own hydrated mark; no sleep.

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
Mumtool/e2e/visual-audit.spec.ts | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/umtool/e2e/visual-audit.spec.ts b/umtool/e2e/visual-audit.spec.ts @@ -206,7 +206,10 @@ test("keyboard only: Inbox → a piece → its bench → the piece → the Inbox await page.setViewportSize({ width: 1366, height: 768 }); await page.goto(urls.homeHref()); await expect(page.locator("dialog[data-jump][data-ready]")).toBeAttached(); - // The Inbox's lit list: j/k move the light and the focus with it. + // The Inbox's lit list: j/k move the light and the focus with it. The list + // streams in after the shell (app/page.tsx), so the keys wait for it to be + // there and listening. + await expect(page.locator("[data-lit-list][data-hydrated]").first()).toBeAttached(); await page.keyboard.press("j"); await page.keyboard.press("k"); expect(await page.evaluate(() => !!document.activeElement?.closest("[data-lit-line]"))).toBe(true);