Skip to content

PharmGKB/pgkb-nightwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgkb-nightwatch

This has been forked from learn-nightwatch.

If you need help writing these tests, go read the Nightwatch docs.

Setup

$> npm i

In the .env file set the path you would like screenshots saved to

SCREENSHOT_PATH=screenshots

You 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]

Running

To run all tests on beta by default:

$> npm test

To run a single test (gene_test, for example):

$> npm run test -- ./test/pharmgkb/chemical.js

To run all tests against www:

$> npm run test-www

To run a single test against local (gene_test):

$> npm run test-www -- ./test/pharmgkb/chemical.js

About

Nightwatch testing repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published