We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[X] Question
Guys, is there a way to emulate long-press event on dom-node?
The text was updated successfully, but these errors were encountered:
upd, just use
cy.get(`selector`).trigger('mousedown'); cy.wait(1000); cy.get(`selector`).trigger('mouseleave');
Sorry, something went wrong.
For some reason, long press was only triggered if I specify the mouse events on left button:
cy.get('selector') .trigger('mousedown', { button: 0 }) .wait(1000) .trigger('mouseup', { button: 0 })
Successfully merging a pull request may close this issue.
[X] Question
Guys, is there a way to emulate long-press event on dom-node?
The text was updated successfully, but these errors were encountered: