This nx plugin sets up Nightwatch for you to be able to run your E2E tests.
To install you will need to do
npm i @nightwatch/nx --save-dev
nx g @nightwatch/nx:nightwatch-project
To write your tests please follow the documentation on the Nightwatchjs.org site.
When you have written your tests you can run them with the following command
nx e2e my-app-e2e
NightwatchJS arguments will be forwarded on from nx