-
Notifications
You must be signed in to change notification settings - Fork 785
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
Unable to test interact js with cypress end-to-end testing library #871
Comments
It seems that Cypress by default creates an event of type Event, and not a more specific type like PointerEvent. Does interact.js use |
I've tried with the more specific Event types like PointerEvent and MouseEvent, and that makes the reproducible test pass. This issue can be closed because it seems to be an issue with Cypress' default behavior. |
By default only the primary mouse button can be used for actions and this button is checked from |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is the same as #856. That issue was closed because it didn't have a reproducible example, but I've created one here.
Expected behavior
I should be able to automate interaction with Cypress' trigger function, which programmatically creates events.
Actual behavior
Interact js does not pick up any triggered events from cypress.
System configuration
interact.js version: 1.10.0
Browser name and version: Chrome 86, Firefox 81
Operating System: Windows 10
The text was updated successfully, but these errors were encountered: