Playing around with NightwatchJS to add automated End-to-End testing and couldn’t find any example of how to do drag-n-drop. After a little playing around I figured it out. Below is a sample test case. I published a GitHub repo that has a complete example (using CSS Path and XPath).

See full example in the GitHub nightwatchjs-drag-n-drop-example project repo.


No Comments » for NightwatchJS Drag and Drop example
1 Pings/Trackbacks for "NightwatchJS Drag and Drop example"
  1. […] Some End to End testing investigation: NightwatchJS Drag and Drop example […]

Leave a Reply

Your email address will not be published. Required fields are marked *

*