Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test click and keyboard behaviours explicitly #17

Open
rafaqz opened this issue Aug 26, 2024 · 0 comments
Open

Test click and keyboard behaviours explicitly #17

rafaqz opened this issue Aug 26, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rafaqz
Copy link
Collaborator

rafaqz commented Aug 26, 2024

We need tests for all clicks and key commands with PaintCanvas and GeometryCanvas.

Clicks and key presses can be simulated with:

event.keyboard[] = value 
scene.events.mousebutton[] = ... 

I'm imagining things like clicking in the PaintCanvas and checking the matrix values are correct, and clicking in Point/LineString/Polygon GeometryCanvas with the various key commands and checking the geometry vectors have the right contents.

See #14

@rafaqz rafaqz added good first issue Good for newcomers help wanted Extra attention is needed labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants
@rafaqz and others