This repository is the code sample to go with my lightning talk on Visual Regression testing.
The talk is available at: https://vimeo.com/328997531
I am working on a longer version of the talk. It will contain a complete sample project rather than just test files. If you'd like updates, please follow this repository.
- You will need JDK installed for selenium to work (
brew cask install java) - Run
npm install - Run
npm run selenium(Leave this running while running tests) - Run
npm run test - Kill the selenium process
- Add
es-lintto the repository - Create an
es-lintrule thatprepareBaseImagemust be false to prevent merges that would create false positives. - Make it possible for tests and true images to live in sub-folders together.
- Fork the comparison software/maintain it?
- Import allure support
- Import puppeteer support
- Add tests