[PR #2150] [MERGED] test(otome-forge): the Claw Machine motion test holds until the claw has moved #2144

Closed
opened 2026-11-07 19:36:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2150
Author: @SpicyMarinara
Created: 11/7/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/otome-claw-motion-test


📝 Commits (2)

  • 4d45cec test(otome-forge): the Claw Machine motion test holds until the claw has moved
  • 570855e Merge branch 'staging' into fix/otome-claw-motion-test

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 tests/package-otome-forge-claw.e2e.ts (+3 -2)

📄 Description

Pull request

Linked issue

Closes #2140

Why this change

tests/package-otome-forge-claw.e2e.ts "Otome Forge Claw Machine in motion" failed on #2135's desktop-chromium run (Expected: > 0.26, Received: 0.2344), although #2135 changed only a gift SVG and a comment. The test held ArrowRight for a fixed 700 ms. ClawMachine.tsx caps each frame's step at 0.05 s, so a runner that draws fewer frames per second moves the claw less in 700 ms. The test measured the runner's frame rate, not the game.

What changed

  • The test holds the key until the claw has moved past the threshold (expect.poll on --cx, every 50 ms, up to 5 s), then releases it and checks the same threshold as before. The rest of the test is unchanged: swinging on its cable, the on-screen arrow, the drop and his turn.
  • Test only. No package source, version or generated output changes.

Package and security impact

  • Affected package IDs: otome-forge (browser suite only)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Run by the agent:

  • run-package-browser-tests.mjs otome-forge tests/package-otome-forge-claw.e2e.ts -g "in motion" --repeat-each 3: 6 passed (desktop-chromium and mobile-chromium, 3 each).
  • Prettier and ESLint are clean on the file.

Documentation impact

  • No documentation changes needed

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/2150 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/7/2026 **Status:** ✅ Merged **Merged:** 11/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-claw-motion-test` --- ### 📝 Commits (2) - [`4d45cec`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4d45cec5cc9883ae297fa1cd03b0f73cbac1ad34) test(otome-forge): the Claw Machine motion test holds until the claw has moved - [`570855e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/570855e45c1a2e2a548df92685f45004d84bd186) Merge branch 'staging' into fix/otome-claw-motion-test ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tests/package-otome-forge-claw.e2e.ts` (+3 -2) </details> ### 📄 Description # Pull request ## Linked issue Closes #2140 ## Why this change `tests/package-otome-forge-claw.e2e.ts` "Otome Forge Claw Machine in motion" failed on #2135's desktop-chromium run (`Expected: > 0.26, Received: 0.2344`), although #2135 changed only a gift SVG and a comment. The test held ArrowRight for a fixed 700 ms. `ClawMachine.tsx` caps each frame's step at 0.05 s, so a runner that draws fewer frames per second moves the claw less in 700 ms. The test measured the runner's frame rate, not the game. ## What changed - The test holds the key until the claw has moved past the threshold (`expect.poll` on `--cx`, every 50 ms, up to 5 s), then releases it and checks the same threshold as before. The rest of the test is unchanged: swinging on its cable, the on-screen arrow, the drop and his turn. - Test only. No package source, version or generated output changes. ## Package and security impact - Affected package IDs: `otome-forge` (browser suite only) - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Run by the agent: - `run-package-browser-tests.mjs otome-forge tests/package-otome-forge-claw.e2e.ts -g "in motion" --repeat-each 3`: 6 passed (desktop-chromium and mobile-chromium, 3 each). - Prettier and ESLint are clean on the file. ## Documentation impact - [x] No documentation changes needed 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi changed title from [PR #2150] test(otome-forge): the Claw Machine motion test holds until the claw has moved to [PR #2150] [MERGED] test(otome-forge): the Claw Machine motion test holds until the claw has moved 2026-11-07 21:43:44 +07:00
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#2144
No description provided.