As noted on cypress-io/cypress#6161 and taye/interact.js#871, Cypress is unable to automate drag and drop provided by interact.js.
- Make sure node.js and npm are installed
- Install cypress by running
npm install
- Start serving the test file by running
npm run server
- Start Cypress by running
npm run test
- A new window will open, start the test by clicking interact-js.spec.js
- The test runner will pause right before the drag and drop events are triggered, I did this to allow debugging with something like Chrome devtools' monitorEvents or something similar
- Resume the test by clicking the play button next to the red "paused" label
- The test fails