-
Notifications
You must be signed in to change notification settings - Fork 1
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
How to test canvas drawing? #8
Labels
documentation
Improvements or additions to documentation
Comments
Let's try Cypress first. Jest may not be suitable for stuff related to layout, reason: testing-library/user-event#440 (comment) |
Helpful infoHow to drag & drop in Cypress
Image snapshot diff when
|
pobch
added
documentation
Improvements or additions to documentation
and removed
improvement
Refactor, re-organize, code quality
labels
Oct 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Possible approaches
elementsSnapshot
from component's state to a global variable (window
). Then,expect
against the global variable. This can check if raw data for drawing is correct, but it's not cover the result of drawing.The text was updated successfully, but these errors were encountered: