The Nx Plugin for nightwatch contains executors and generators allowing your workspace to use the powerful nightwatch integration testing capabilities.
npm install @nightwatch/nxThis nx plugin sets up Nightwatch for you to be able to run your E2E tests.
To install you will need to do
``bash`
npm i @nightwatch/nx --save-dev
`bash`
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
`bash``
nx e2e my-app-e2e
NightwatchJS arguments will be forwarded on from nx