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
when we use trigger like below code the event object in page is "Event"
cy.get('.target').trigger('mousedown', { button: 0 })
use "ev instanceof MouseEvent" in mousedown event got result of false
When we use "ev instanceof MouseEvent" in the mousedown event callback function should get result of true
our coed is on below
$('div').on('mousedown', function(ev){ if (ev instanceof MouseEvent) { ... }else { ... } })
Cypress Version 4.9 System: Mac, Catalina 10.15.5 Browser: Chrome Version 84.0.4147.89 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
I had the same question. it not work, example
cy.xpath('//span[text()="target"]').trigger('mouseover');
Sorry, something went wrong.
Duplicate of #5650
No branches or pull requests
Current behavior:
when we use trigger like below code the event object in page is "Event"
use "ev instanceof MouseEvent" in mousedown event got result of false
Desired behavior:
When we use "ev instanceof MouseEvent" in the mousedown event callback function should get result of true
Test code to reproduce
our coed is on below
Versions
Cypress Version 4.9
System: Mac, Catalina 10.15.5
Browser: Chrome Version 84.0.4147.89 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: