Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.29 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.29 KB

Build Status Dependency Status devDependency Status

EVW Self serve

A tiny, HOF-based form to allow Electronic visa waiver users to update their travel details.

Prerequisities

What things you need to install the software and how to install them

  • NodeJS
  • npm (bundled with node)
  • MongoDB running on the default port

Installing and running the app

$ mongod
$ npm install
$ npm run dev:mock

Go to http://localhost:8080/find-your-application

When you’re asked to check your e-mail, go to http://localhost:8080/update-journey-details/start?evwNumber=valid&token=token

Running the tests

You will need the server running to run the cucumber tests against.

$ node_modules/.bin/nightwatch
$ # or run in chrome and firefox in parallel 🤘😝🤘
$ node_modules/.bin/nightwatch  -e chrome,firefox
$ # or via npm scripts
$ npm run test:acceptance