How to test drop zone component in Cypress? #26875
Unanswered
DavidGheorghe
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have this Vue3 component and I'm trying to test if the dropped files are emitted, but it does not work.
And this is the Cypress test:
In the example, I know it is impossible to get the files from the yielded element of
cy.get(dropZoneSelector)
because I am handling the files ondrop
event.So, my question is how to get the files from the
drop
event?I am using Cypress version ^12.7.0.
Beta Was this translation helpful? Give feedback.
All reactions