You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Browser testing Chrome, Firefox, Edge via github actions
2. Cucumber feature files
3. Visual testing - image snapshots only on chrome
4. Use of Fixtures, for credentials
Run cypress - Browser Testing
npm i
npm t
update base images
npx cypress run --env updateSnapshots=true --spec "cypress\integration\visual-tests.spec.js"
npx cypress run --env updateSnapshots=true --browser chrome
run
npx cypress run --browser chrome
Update images, keep local and remote in sync
1. Build docker image
docker-compose up -d --build
2. Find all images
docker images
3. Open docker image
docker run -it --entrypoint /bin/sh imageID
3. Update snapshot images on the local docker image, chrome browser
npx cypress run --browser chrome --env updateSnapshots=true