Automation framework using Cypress
- Setting up the environment:
- run
npm i
on root folder. - navigate to packages folder and run
npm i
inside all the folders.
- run
- Widows: AppData/Local/Cypresss/Cache/6.1.0/Cypress/resources/app/packages/server/config/app.yml
- MAC: /Users/agoldis/Library/Caches/Cypress/3.4.1/Cypress.app/Contents/Resources/app/server/config/app.yml
- Setting up on
https://sorry-cypress-demo.herokuapp.com/
(dashboard url)
- navigate to packages/director
- run
npm run build
- run
npm run start
- run
- Run the test cases and check the dashboard either through the logs (server location is present here).
- Widows: AppData/Local/Cypresss/Cache/6.1.0/Cypress/resources/app/packages/ server/config/app.yml
- MAC: /Users/agoldis/Library/Caches/Cypress/3.4.1/Cypress.app/Contents/Resources/app/server/config/app.yml
- Setting up using docker to run on local machine: 8080 port:
- clone the repo
https://github.com/sorry-cypress/sorry-cypress.git
- run
docker-compose -f docker-compose.minio.yml
- https://sorry-cypress.dev/quickstart#run-the-services
- production: api_url: "http://localhost:1234/ "
- clone the repo
- Run the test cases and check the dashboard at localhost:8080
- On Windows:
- Edit host ->
127.0.0.1 storage
- Edit host ->
- On MAC & linux:
- etc\hosts edit and add->
127.0.0.1 storage
- etc\hosts edit and add->