[GH-ISSUE #2140] Otome Hearth e2e: the Claw Machine motion test depends on the runner's frame rate #1935

Closed
opened 2026-11-07 16:37:46 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Nov 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/2140

Originally assigned to: @SpicyMarinara on GitHub.

What happens

tests/package-otome-forge-claw.e2e.ts:716, "Otome Forge Claw Machine in motion", failed on #2135's desktop-chromium run with Expected: > 0.26, Received: 0.2344. #2135 only changes a gift SVG and a comment.

The test holds ArrowRight for a fixed 700 ms and expects the claw to move more than 0.15 glass widths. ClawMachine.tsx:881 caps each animation frame's step at 0.05 s, so on a slow runner with fewer frames per second the claw covers less ground in 700 ms. Here it moved 0.17.

Expected

The test measures movement independently of the runner's frame rate. For example, it could hold the key until the claw has moved past the threshold, with a time limit, instead of for a fixed 700 ms.

Package

otome-forge browser suite (test-only)

Originally created by @SpicyMarinara on GitHub (Nov 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/2140 Originally assigned to: @SpicyMarinara on GitHub. ### What happens `tests/package-otome-forge-claw.e2e.ts:716`, "Otome Forge Claw Machine in motion", failed on #2135's desktop-chromium run with `Expected: > 0.26, Received: 0.2344`. #2135 only changes a gift SVG and a comment. The test holds ArrowRight for a fixed 700 ms and expects the claw to move more than 0.15 glass widths. `ClawMachine.tsx:881` caps each animation frame's step at 0.05 s, so on a slow runner with fewer frames per second the claw covers less ground in 700 ms. Here it moved 0.17. ### Expected The test measures movement independently of the runner's frame rate. For example, it could hold the key until the claw has moved past the threshold, with a time limit, instead of for a fixed 700 ms. ### Package otome-forge browser suite (test-only)
bsakaguchi 2026-11-07 21:43:38 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Nov 7, 2026):

Fixed in #2150 (merged into staging): the motion test holds the arrow until the claw has moved, with a 5 s limit.

<!-- gh-comment-id:6708100753 --> @SpicyMarinara commented on GitHub (Nov 7, 2026): Fixed in #2150 (merged into staging): the motion test holds the arrow until the claw has moved, with a 5 s limit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1935
No description provided.