NJC has developed a simple prototype in partnership with Code for Australia to allow individuals to submit a guilty plea for minor infringements online. The prototype demonstrates how a guilty plea could be lodged online prior to the scheduled court date for non-complex minor offences - typically these offences comprise nearly 50% of MCV’s case volume.
This prototype was developed using:
Thanks also to:
- Clone the repo
- Configure your env variables, see the
.env.examplefile for the required environment variables. This includes a mailgun api key (feel free to replace with your own mailing service)
- install all packages
- Build the app
This app requires npm and nodejs
Tests are run using protractor follow the installation instructions first and make sure protractor and webdriver are working.
Make sure that:
- the app is running
- a selenium session is active
you can use
npm run pre-test to do both of these, then you can run the e2e tests using
npm run test. This should start a selenium session in chrome and run through the test suite.