Skip to content

test(desktop): stop the curved click test from failing at random - #627

Merged
mateuscmtropical merged 1 commit into
mainfrom
fix/browsercontrol-flaky
Nov 8, 2026
Merged

mateuscmtropical merged 1 commit into
mainfrom
fix/browsercontrol-flaky

Conversation

@mateuscmtropical

Copy link
Copy Markdown
Owner

Summary

  • The ghost-cursor path from (0, 0) to (300, 200) has between 9 and 84 points, so the check for more than 10 failed about 1 run in 40.
  • Both cursor tests now check for more than 5 points, which still proves a curved move.

Closes #626

Type of change

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation
  • Maintenance (tooling, CI, dependencies)

How it was tested

  • 5000 sampled paths had at least 9 points.
  • Both test files pass.

Checklist

  • pnpm check passes
  • Tests added or updated
  • Docs updated (README, docs/, or CHANGELOG.md for user-facing changes)

@mateuscmtropical
mateuscmtropical merged commit d3e8131 into main Nov 8, 2026
10 checks passed
@mateuscmtropical
mateuscmtropical deleted the fix/browsercontrol-flaky branch November 8, 2026 01:49
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.

BrowserControl curved click test fails at random

1 participant