Archilyzer · Source

archilyzer

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

commit cfa43472fcf52b4e95841b4cf24c89c136c093bb
parent 64fcdc90519cec37606d17963a2bf8ec4be6b998
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri, 30 Oct 2026 18:43:10 -0400

umtool e2e gaps-zoom: probe the bench's keyboard with Reject ▾ (x opens the reasons), not the correction box

Main's gaps-zoom spec copied clip-bench's old keyboardLive, where x focused the
correction box; walk-reasons rebound x to open Reject ▾'s reasons. Same probe as
clip-bench.spec now: x shows the menu, Escape closes it, nothing written.

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

Diffstat:
Mumtool/e2e/gaps-zoom.spec.ts | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/umtool/e2e/gaps-zoom.spec.ts b/umtool/e2e/gaps-zoom.spec.ts @@ -76,14 +76,15 @@ const dragSpan = async (page: Page, a: number, b: number) => { }; const spanOf = (s: string | null) => (s ?? "").split("-").map(Number); -/** The bench's keyboard is attached on hydration: prove it with `x` (focuses the correction box, writes nothing). */ +/** The bench's keyboard is attached on hydration: prove it with `x` (opens Reject ▾'s reasons, writes nothing; Escape closes them). */ const keyboardLive = async (page: Page) => { - const box = page.locator("[data-attrib-field=correction]"); + const menu = page.locator("[data-reject-menu]"); await expect(async () => { await page.locator("body").press("x"); - await expect(box).toBeFocused({ timeout: 500 }); + await expect(menu).toBeVisible({ timeout: 500 }); }).toPass({ timeout: 10_000 }); - await box.blur(); + await page.locator("body").press("Escape"); + await expect(menu).toHaveCount(0); }; test.beforeEach(async ({ request }) => {