commit a3a797bdae1dca59e1f28272cdfab2e792d9dc8a
parent da5be10c6dfba451f293c78a0b830c26e1e38734
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 4 Nov 2026 04:03:04 -0500
umtool e2e: thread-walk reads the opening frame as in full within a frame or two of the item's start -- the change from it begins with the read (0.4 s in, less the pan's 0.4 s lead: at once), so Play paused a tick in reads 0.98, not 1
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/umtool/e2e/thread-walk.spec.ts b/umtool/e2e/thread-walk.spec.ts
@@ -104,7 +104,9 @@ test("ONE SCENE: his answer to the stranger opens on his reply above it (carried
const { player, frame } = await playAt(page, "p-12", 0.05);
await expect(frame.locator('[data-thread-slot="conv:771"]')).toHaveAttribute("data-thread-scene", "keep");
const t = await tilesOf(player);
- expect(t["parent:1"]).toEqual([1, 1]);
+ // In full as the item opens (the change to it begins with the read, 0.4 s in less the pan's lead: at once).
+ expect(t["parent:1"][0]).toBeGreaterThan(0.9);
+ expect(t["parent:1"][1]).toBeGreaterThan(0.9);
expect(t["conv:771"][0]).toBeLessThan(1);
expect(t["parent:0"][1]).toBe(0);
if (SHOTS) await page.screenshot({ path: path.join(SHOTS, "walk-open.png") });
@@ -129,7 +131,9 @@ test("THE SIBLING SWAP: the next branch's item opens on the post the last one en
const { player, frame } = await playAt(page, "p-13", 0.05);
for (const sc of ["conv:11", "conv:834", "conv:12"]) await expect(frame.locator(`[data-thread-slot="${sc}"]`)).toHaveAttribute("data-thread-scene", "collapse");
const t = await tilesOf(player);
- expect(t["conv:12"].slice(0, 2)).toEqual([1, 1]);
+ // The post p-12 ended on, in full as the item opens (it collapses as the read begins: at once).
+ expect(t["conv:12"][0]).toBeGreaterThan(0.9);
+ expect(t["conv:12"][1]).toBeGreaterThan(0.9);
if (SHOTS) await page.screenshot({ path: path.join(SHOTS, "walk-swap-open.png") });
}
{