This a small example using Nightwatch.js for end to end testing
git clone git@github.com:malazay/nightwatch-example.git
cd night
npm install
node nightwatch.conf.jsProdivde git username and password in the testData.json file.
npm testnightwatch tests/[testFile.js]