Front-End Testing of a Node App
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
db/metadata
server
test
.bowerrc
.gitignore
Procfile
README.md
bower.json
gulpfile.browswersync.js
gulpfile.js
nightwatch.conf.js
nightwatch.json
package.json

README.md

Front-End Testing of a Node App

Overview

A MEAN Todo App Integrated with End-to-End Automated Test

The MEAN Todo App was cloned from https://github.com/arvindr21/MEAN-Todo-App and integrated with automated test using nightwatchjs. This project also utilizes qualitywatcher so the test results can be viewed on the qualitywatcher.io dashboard.

Install & Run Application

  • Download/Clone the repo
  • Run npm install
  • Run npm run gulp and navigate to http://localhost:3000 to view the app

Ensure Mongodb is running and JAVA is installed

Automation

  • Run Test

    • npm test
  • Run Test and see reports on qualitywatcher.io dashboard

  • Launch Sauce Connect Tunnel

    After you have navigated to the sauce connect folder, run the command bin\sc -u “Your_Username” - k “Your_Access Key”. User will input the username of the sauce labs account that will be used as well as the access key which can be found in the user settings section of sauce labs.

  • Run Test on Sauce Labs

    • npm run sauce