Demo test project for [Testing apps with Nightwatch].
- Install Node.js if not present and clone the repo:
$ git clone https://github.com/luc007/nightwatch-demo.git
$ cd nightwatch-demo
- Install:
$ npm install --save-dev nightwatch nightwatch-api cucumber cucumber-html-reporter cucumber-pretty selenium-server dirp chromedriver geckodriver
- To run the test:
$ npm run test:chrome
- To run the test with chrome or firefox to generate report.
Note: The report will generated under
./reports
folder, it will launch cucumber_report.html