@nightwatch/nx
v0.2.3
Published
The Nx Plugin for nightwatch contains executors and generators allowing your workspace to use the powerful nightwatch integration testing capabilities.
Downloads
201
Readme
Nightwatchjs - nx plugin
This nx plugin sets up Nightwatch for you to be able to run your E2E tests.
Installation
To install you will need to do
npm i @nightwatch/nx --save-dev
Generating a project
nx g @nightwatch/nx:nightwatch-project
Writing Tests
To write your tests please follow the documentation on the Nightwatchjs.org site.
Running Tests
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