Visual testing with Cypress for web site migration projects.
npm install
In run_tests.py, update the parameters:
- baseline_url = "http://my-baseline-website/"
- migration_url = "http://my-migration-website.com/"
Add tests recorded with cypress-scenario-recorder in cypress/integration/recorded. Then, run the tests with:
python run_tests.py
-
Cypress tests are located in cypress/integration
-
Add new tests in cypress/integration/recorded
-
Test scenarios can be recorded on Google Chrome with cypress-scenario-recorder
-
Baseline and migration tests are generated by the python script from the tests that are located in cypress/integration/recorded.
-
It is possible to run an individual scenario with the Cypress Test Runner:
./node_modules/.bin/cypress open
View screenshots diff in cypress/match-screenshots/diff
👤 Harry Pommier
- Website: https://nantes.zenika.com/
- Github: @HarryPommier
- LinkedIn: @harry-pommier-phd-a3911145
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator