commit c13f5e855718c5be46af12791076057721985624
parent 535c19ec322207f98ad899a8b9a1c9e11736d5b9
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 24 Oct 2026 04:22:07 -0400
umtool phone walk spec: log the pinned px at rest and after 600 px
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/umtool/e2e/phone-walk.spec.ts b/umtool/e2e/phone-walk.spec.ts
@@ -105,6 +105,7 @@ test("the walk at 390: the picture pinned, a strip after 600 px, the dock under
// At rest: the place bar, the 16:9 picture (390 wide) and the dock.
const video = page.locator("[data-testid=clip-video]");
expect(Math.round((await video.boundingBox())!.height)).toBeGreaterThanOrEqual(215);
+ console.log(`walk 390x844: pinned at rest = ${await pinnedPx(page)} px`);
await page.screenshot({ path: test.info().outputPath("walk-390-top.png") });
// 600 px down: the quote is under the picture, so the picture is a 120 px
@@ -117,6 +118,7 @@ test("the walk at 390: the picture pinned, a strip after 600 px, the dock under
// Pinned while reading: the strip and the dock -- the picture is the
// exception the brief makes, and only at its smallest.
await expect.poll(() => pinnedPx(page)).toBeLessThanOrEqual(120 + 72 + 4);
+ console.log(`walk 390x844: pinned after 600 px = ${await pinnedPx(page)} px`);
await page.screenshot({ path: test.info().outputPath("walk-390-scrolled.png") });
await page.evaluate(() => window.scrollBy(0, -200));
await expect(page.locator("[data-walk-pin]")).toHaveAttribute("data-bar", "shown");