https://nodejs.org/en
node --version
npm --version
- Go to the
Tests
folder of the repo npm install -g testcafe
https://testcafe.io/
https://testcafe.io/documentation/402635/guides/overview/getting-started
(You might need to install yarn)
yarn
[One time activity]
testcafe chrome
--> To run all tests in Chrometestcafe
--> To run all tests in Headless mode
testcafe chrome .\Tests\Scenarios\Ardoq.tests.ts
--> To run all tests from specific file in Chrometestcafe .\Tests\Scenarios\Ardoq.tests.ts
--> To run all tests from specific file in Headless mode
Test report is automatically generated at the end of the run and is saved in Reports folder. During run time you can view the latest progress in the terminal.