This has been forked from learn-nightwatch.
If you need help writing these tests, go read the Nightwatch docs.
$> npm iIn the .env file set the path you would like screenshots saved to
SCREENSHOT_PATH=screenshotsYou should also set the following for your email and password if you plan to test on beta or on a local instance
PGKB_USER=[your email]
PGKB_PASS=[your password]To run all tests on beta by default:
$> npm testTo run a single test (gene_test, for example):
$> npm run test -- ./test/pharmgkb/chemical.jsTo run all tests against www:
$> npm run test-wwwTo run a single test against local (gene_test):
$> npm run test-www -- ./test/pharmgkb/chemical.js