- Make sure you've got the latest Browser Drivers for your OS in the
./bin
directory (Chrome, Gecko, Edge). - Same thing for Selenium Server Standalone located in the
.bin
directory. Note the latest version isn't working with Firefox. You need to test the testing tool! - From project root,
cd tests
and thennpm install
.
- Confirm you read the installation section above.
- From project root,
cd tests
and thennpm run test
to run both firefox and chrome tests in parallel.
- Confirm you read the installation section above.
- For DEV Server: From project root,
cd tests
and thennpm run testDev
. - For STAGE Server: From project root,
cd tests
and thennpm run testStage
.
- For this trick, you need to be able to run
nightwatch
from command line, either install it globally or something from here.
- To run on local:
nightwatch -e default,firefox
(default is chrome) - To run on dev:
nightwatch -e dev,firefox
- To run on stage:
nightwatch -e stage,firefox
- See
nightwatch.json
, it's all there.