Cannot simulate a mouse wheel event using Cypress on input type number #14795
Unanswered
timminata
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to simulate a mouse wheel event on an input type number on a react web application, usingCypress. I am using trigger but I don't know how to get the event to actually change the value in the number input that I am applying mouse wheel to. This is what I have so far:
However, it does not seem like it is causing the value to change as expected. I posted on StackOverflow as well with some additional info: https://stackoverflow.com/questions/65932621/simulating-a-synthetic-mouse-wheel-event-on-input-type-number-using-cypress
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions