Click event triggered by .click()
has isTrusted
prop evaluate to false
, so click does not perform in v-select component.
#8376
Labels
pkg/driver
This is due to an issue in the packages/driver directory
topic: cy.click 🖱
topic: native events
type: bug
Current behavior:
I am using Vue + Vuetify. I have a problem with
v-select
component. If I click onv-select
the list opens. However, Cypress does not close it when clicking outside of this component (in the repro project, Cypress clicks on Vuetify logo but for other elements this is also not working)It does not work even if I use
cy.wait(300)
after opening the list (you can see this in the repro project)Desired behavior:
The list should be closed when clicking outside of it. When I click as a user the list closes but when Cypress clicks it does not close it.
Test code to reproduce
Here is the repro project:
cypress-vuetify-test.zip
To run Vue.js app you need to execute:
then to launch Cypress you need to run:
Versions
Cypress: 5.0.0
Operating system: Windows 10
Browser: Chrome 84.0.4147.135 (but on other browsers this bug is also present)
The text was updated successfully, but these errors were encountered: