The only prerequisite is to have java installed on your developer computer. Java is not needed on the production computer/server since tests are not being run there.
The 'postinstall' script will get the selenium server set up in the correct location so all one needs to do after pulling the repo and having java installed is: npm i && npm test to run all current tests.
For help on writing new tests I highly recommend reading nightwatch's dev guide. They are also separated by folders so I highly recommend following the current setup.
this lets us do front-end tests!
The only prerequisite is to have java installed on your developer computer. Java is not needed on the production computer/server since tests are not being run there.
The 'postinstall' script will get the selenium server set up in the correct location so all one needs to do after pulling the repo and having java installed is:
npm i && npm test
to run all current tests.For help on writing new tests I highly recommend reading nightwatch's dev guide. They are also separated by folders so I highly recommend following the current setup.