Libby  Shields

Libby Shields

1625024392

LambdaTest Cypress Demo | How to run Cypress tests on LambdaTest

LambdaTest Cypress Demo | How to run Cypress tests on LambdaTest

LambdaTest - https://bit.ly/3xLWIEU
All FREE courses - https://automationstepbystep.com/
STEPS:
Run Cypress tests on LamdaTest

  • Step 1 - Install Node.js
  • Step 2 - Open IDE (VS Code)
  • Step 3 - Create a new folder for Cypress project | Open the folder in VS Code
  • Step 4 - Open VS Code terminal & run command npm init -y
  • Step 5 - Install Cypress npm install cypress | npx cypress -v
  • Step 6 - Open Cypress npx cypress open
  • Step 7 - Install lambdatest CLI npm install -g lambdatest-cypress-cli
  • Step 8 - Create a sample LambdaTest Cypress configuration file lambdatest-cypress init
  • Step 9 - Update LambdaTest credentials, browser, platform settings
  • Step 10 - Run the test - lambdatest-cypress run

Parallel Testing
Way 1: Add to the command -

-p or --parallels ´╝ťnumber of parallel sessions´╝×

Example - lambdatest-cypress run --parallels 5

Way 2: Add parallel key in lambdatest-config.json file

  "run_settings": {   
    "parallels": 5,
  }

Stories by Raghav - https://automationstepbystep.com/stories/
My Udemy Courses - https://automationstepbystep.com/udemy-discounts/

#cypress #testing #lambdatest

LambdaTest Cypress Demo | How to run Cypress tests on LambdaTest