Sample project created to try NightWatch Browser UI Test framework using nodejs, nightwatch and typescript.
#Setup:
Install nodejs from http://nodejs.org
git clone https://github.com/rkavalap/NightWatchTest
cd nightwatchtest
npm install gulp -g
npm install
#To clean & compile:
gulp
#To run:
node node_modules/nightwatch/bin/runner.js -t buildOutput/javascript1.js --env devtest-chrome-win8
#Project source:
tests -> Contains all the UI test
typings -> Contains the typescript definition files for nightwatch, nodejs
globalsmodule.js -> nightwatch globals module file
gulpfile.js -> build file (compiltation from ts to js using gulp)
nightwatch.json -> config file for nightwatch
package.json -> installed nodejs packages used for this project