Slides for End-to-End testing made easy with Nightwatch at JSFoo 2019.
MIT License
Demo for my talk End-to-End testing made easy with Nightwatch.js at JSFoo Pune 2019.
Here is the directory tree for the project
.
bin
webdrivers
chromedriver
geckodriver
selenium-server-standalone-3.13.0.jar
custom-assertions
elementCount.js
custom-commands
hasOnBeforeUnload.js
data
searchKeywords.js
log
reports
screenshots
tests
| 01_basicTest.js
| 02_multiStepTest.js
| 03_dataDrivenTest.js
| 04_customAssertionTest.js
| 05_customCommandTest.js
LICENSE
README.md
nightwatch.js
nightwatch.json
package.json
$ npm install -g nightwatch
Add -g option to make nightwatch runner available globally in your system.
$ git clone https://github.com/RatanShreshtha/JSFoo-Pune-2019-Nightwatch.js-Demo.git
$ cd JSFoo-Pune-2019-Nightwatch.js-Demo
$ nightwatch -c ./nightwatch.json --env default
$ # OR
$ ./node_modules/nightwatch/bin/nightwatch -c ./nightwatch.json --env default # If installed locally