Kaizen Today I Learned by Ville Säävuori

Cypress.io Drag&Drop Issues

Cypress has issues with drag&drop and SortableJS. The example repo has a dra&drop example but it doesn’t work with SortableJS. Tried all possible combination, no avail.

There is also cypress-drag-drop plugin and an old Gist for using Cypress with SortableJS but neither of these work with current (5.x) version of Cypress.

I also asked about this at Cypress Gitter chat but didn’t get any usable responses. Haven’t so far figured any code that would work with Cypress and SortableJS. Maybe should investigate some other drag&drop library instead. (Worked around the e2e testing by programmatically changing Vuex store, which just skips the browser.)

Tagged with , , ,

Published . Last modified .