You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running cy.get(dragBox).selectFile(fileReference, { action: 'drag-drop' }) the event obtained is of type Event, this is causing problems on my tests as my file upload checks if it is a drag event or a a normal event in order to perfom actions.
Just adding a "me-too". I can't add much to the report above beyond the assertion that when carrying out a DragDrop manually I see "DragEvent" payloads and using cy.selectFile() I see "Event" payloads.
Current behavior
When running
cy.get(dragBox).selectFile(fileReference, { action: 'drag-drop' })
the event obtained is of type Event, this is causing problems on my tests as my file upload checks if it is a drag event or a a normal event in order to perfom actions.Desired behavior
The event should be typed with DragEvent type, as it is the normal behaviour (https://developer.mozilla.org/es/docs/Web/API/DragEvent)
Test code to reproduce
Cypress Version
18.0.4
Node version
18
Operating System
Windows
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: