This repo contains test examples written in Cypress framework.
- deployed page => https://ecommerce-playground.lambdatest.io
- Node.js 16.x or above
- Chrome browser
Open Terminal, move to the root of the project and run command:
npm install
-
Create user account on https://ecommerce-playground.lambdatest.io
-
Create
cypress.env.json
file in the root of the project with the following structure:
{
"USER_EMAIL": "put registered email here",
"PASSWORD": "valid password"
}
And that's it. Right now you have two options:
- Open Cypress dashboard and select desired spec by hand:
npx cypress open
- Run all test suites in headless mode
npm run cy:all