Archilyzer · Source

archilyzer

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

commit 8779b4c27b65be681dc47b170cc84ff15d58e6ea
parent fb6f0eb492deb6c54b7e76788da338484ac549c1
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri,  6 Nov 2026 19:19:17 -0500

umtool e2e: the reach test drags the end handle out past the waveform, so it lands on the cache's edge exactly

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

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

diff --git a/umtool/e2e/clip-bench.spec.ts b/umtool/e2e/clip-bench.spec.ts @@ -1623,12 +1623,16 @@ const waitJob = async (request: import("@playwright/test").APIRequestContext, id expect .poll(async () => ((await (await request.get(`/api/report/fetch?job=${id}`)).json()) as { job: { state: string } | null }).job?.state ?? "gone", { timeout: 120_000 }) .not.toBe("running"); -/** A click at the waveform's right end: the end handle goes there, clamped to the cache -- a drag, never a fetch. */ +/** The end handle dragged out past the waveform's right end: it stops at the cache's edge -- a drag, never a fetch. */ const endToCacheEdge = async (page: import("@playwright/test").Page) => { const canvas = page.locator("[data-wave-box] [data-testid=waveform]"); await canvas.scrollIntoViewIfNeeded(); const b = (await canvas.boundingBox())!; - await page.mouse.click(b.x + b.width - 2, b.y + b.height / 2); + const y = b.y + b.height / 2; + await page.mouse.move(b.x + b.width - 4, y); + await page.mouse.down(); + await page.mouse.move(b.x + b.width + 60, y, { steps: 3 }); + await page.mouse.up(); }; const selOf = async (page: import("@playwright/test").Page) => ((await page.locator("[data-bench-sel]").getAttribute("data-bench-sel")) ?? "").split("-").map(Number);