Skip to content

test(desktop): compare a kept joint with what the view showed within its rounding - #333

Merged
ManuelStaggl merged 1 commit into
mainfrom
test/joint-play-timing
Nov 11, 2026
Merged

ManuelStaggl merged 1 commit into
mainfrom
test/joint-play-timing

Conversation

@ManuelStaggl

Copy link
Copy Markdown
Collaborator

Two joint tests of app.spec.ts failed now and then in CI (#327, #332).

  • Cause: the view's data-shown has two decimals, the app keeps a tenth of the unrounded value. 13.749 shows as 13.75, is kept as 13.7, and the tests rounded 13.75 to 13.8. Both now compare within 0.06, as the hinge test above them already does.
  • The wait for a standing value added in feat(desktop): the assistant looks up the standards of a kind of part before it designs one #332 rested on a wrong guess (a frame race) and is removed.
  • Driving two joints back to 0 gets 30 s instead of a poll's 5 s; on a loaded runner the second joint was still on its way.

Both tests ran six times each locally.

🤖 Generated with Claude Code

…its rounding

The view shows two decimals and the app keeps a tenth of the value
itself, so 13.749 showed as 13.75, was kept as 13.7 and the tests
expected 13.8. The wait for a standing value from #332 did not cure
that and is gone. Driving two joints back also gets more than 5 s.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@ManuelStaggl
ManuelStaggl merged commit 54f1785 into main Nov 11, 2026
7 checks passed
@ManuelStaggl
ManuelStaggl deleted the test/joint-play-timing branch November 11, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant