Before running tests mke sure you have installed chromedriver on your machine.
- Copy and rename
nighwatch.json.example
tonighwatch.json
- Configure values according to your local workspace
Note: For selenium CLI arguments of webdriver.chrome.driver use: "/usr/bin/chromedriver" (linux) and "./selenium/selenium.jar" (windows).
- Copy and rename
test/config.json.example
totests/config.json
- Add user credentials for each role
- Run:
npm run test
for running all tests. - Run:
npm run test{test group}
to execute group of test.