Skip to content

test: enhance controller drag click suppression test#2

Closed
IvanCCO wants to merge 1 commit into
mainfrom
test-ci
Closed

test: enhance controller drag click suppression test#2
IvanCCO wants to merge 1 commit into
mainfrom
test-ci

Conversation

@IvanCCO

@IvanCCO IvanCCO commented Jul 4, 2026

Copy link
Copy Markdown
Owner
  • Added a mock implementation for performance.now to control timing in tests.
  • Updated pointerup event to include client coordinates for more accurate simulation.
  • Adjusted click events to verify visibility state changes of the axis trigger after drag interactions.

Summary by cubic

Improves the controller drag suppression test for determinism and realism. Mocks performance.now to control timing, adds client coordinates to pointerup, and verifies the trailing click after a drag is ignored while a subsequent click toggles the axis trigger from visible to hidden.

Written for commit 8ee1855. Summary will update on new commits.

Review in cubic

- Added a mock implementation for performance.now to control timing in tests.
- Updated pointerup event to include client coordinates for more accurate simulation.
- Adjusted click events to verify visibility state changes of the axis trigger after drag interactions.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@IvanCCO IvanCCO closed this Jul 4, 2026
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