UI automated testing framework powered by Node.js. It uses the Selenium WebDriver API.
Nightwatch References: Homepage | Developer Guide | API Reference | Changelog
Install Node.js and then:
$ git clone https://github.com/alwick/search-example-test.git
$ cd search-example-test
$ npm install
Download Search Example:
$ git clone https://github.com/alwick/search-example-reactjs.git
$ cd search-example-reactjs
$ npm install
Start search example:
$ npm dev
The tests for Nightwatch are written using Mocha exports interface but they can also be run with Nightwatch itself.
To run the unit tests using mocha, do:
$ npm test
To run the unit tests using Nightwatch, do:
$ npm run test:unit