This repo contains cypress custom configurations and examples which I could learn along the time facing real life problems.
- Clone this repo
- Install dependencies
npm install
- Export
CYPRESS_ENVIRONMENT
environment variable in your .bashrc or .zshrc file (valid choices: local, stage, prod) - Run cypress
npm run cy-run
for headless mode ornpm run cy-open
for gui mode