Skip to content

Self service micro-form for the Electronic Visa Waiver project

License

Notifications You must be signed in to change notification settings

UKHomeOffice/evw-self-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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