3 ms·
Just realized that I never use the drag and drop I implemented in my application. Wonder if it actually still works.
by cuddlecake 7y ago
Just realized that I never use the drag and drop I implemented in my application.
Wonder if it actually still works.
- onion2k 7y ago... and this, reader, is why we have end-to-end testing.
- cuddlecake 7y ago¯\_(ツ)_/¯
- mcintyre1994 7y agoProbably more a case of me never having tried than anything else because I'm sure someone will have solved it, but end-to-end testing of drag and drop sounds pretty hard.
- onion2k 7y agoIt isn't. Jest and Puppeteer are my current choice, and it's really just a matter of sending mousedown, mousemove, and mouseup events to the browser and checking the expected behaviour is right. It makes a huge difference to how long you send testing manually.