Jul 27, 2017 · 1 min read
Nice article, I feel the same on a lot of the points you mentioned. As a lightweight e2e testing tool it’s great.
I especially like Nightwatches ability to cascade chain a load of functions together. You end up with some really nice verbose tests, however I feel that once you get beyond asserting a page has rendered correctly with some elements visible the overhead of writing stable tests becomes much harder. Once you start interacting with the WebDriver Protocol commands and passing ids around the place that simplicity evaporates.
I think overall Nightwatch still has a fair amount of work to do before it can compete with its selenium java / c# counterparts, but look forward to seeing the direction the framework goes!