- Global Dependencies
- Install Node
$ npm install
- Project Dependencies
- checkout the repository
- Check that packages are available
LambdaTest Authentication Credentials: Make sure you have your LambdaTest credentials with you to run test automation scripts with Jest on LambdaTest Selenium Grid. You can obtain these credentials from the LambdaTest Automation Dashboard or through LambdaTest Profile.$ cd wdio-cucumber
Set LambdaTest Username and Access Key in environment variables.
-
For Linux/macOS:
export LT_USERNAME="YOUR_USERNAME" export LT_ACCESS_KEY="YOUR ACCESS KEY"
-
For Windows:
set LT_USERNAME="YOUR_USERNAME" set LT_ACCESS_KEY="YOUR ACCESS KEY"
To run single test on Lambdatest
$ npm run single
To run On-Prem ChromeDriver
$ npm run onprem