These instructions will get you a copy of the project up and running on your local machine for development.
Open a command line of your choice and do the following:
-
Clone the repository and
cd
into the project:git clone [email protected]:gans79/
-
Install the dependencies:
npm install
-
Update your
BASE_URL
in.env
file with your desired URL, e.g.:BASE_URL=https://www.qantas.com/au/en.html
-
Run tests: All Tests
Execute all tests in chrome: testcafe chrome tests/fixtures/**/*.test.js Execute all tests in safari: testcafe safari tests/fixtures/**/*.test.js
-
Run specific tests using TestID
"BASE_URL='https://www.qantas.com/au/en.html' node_modules/.bin/testcafe chrome tests/fixtures --test-meta testID=T101 "