cypress not working for mouseup and mousedown #16780
Unanswered
NikhilaMeka
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have an application similar to google maps I'm writing tests to validate zoom in and zoom out using mouse scroll up and down.
I have a simple trigger function with mousedown for zoom out functionality which is not working.
it('zoom out using mouse wheel', () => {
cy.wait(2000)
cy.get('body').trigger('mousedown');
cy.get('body').trigger('mousedown');
});
Beta Was this translation helpful? Give feedback.
All reactions