Feature: visual regression tests (alpha release, API will change in the future)
remarks
This feature is considered alpha quality. In the future it's planned to change the API (to the better ;)), so we suggest to play around with it but be aware that this might be changed in future releases. If you have a special use-case for this feature, please provide examples we can integrate as e2e tests within the helpers repository, so we won't break your workflow without noticing.
This feature allows developers to implement visual regression tests.
visual.js
extend codecept helpers providing functionality to help implementing visual tests via screenshot comparisons.
It use mochawesome report generator to provide reports.
visual.js
, requires pixelmatch & pngjs to do screenshot comparison and mochawesome-report-generator to generate reports containing screenshots
Versions tested are the following:
- CodeceptJS 2.0.7
- mocha-multi@1.0.1
- mochawesome-report-generator@3.1.3
- mochawesome@3.0.3
- webdriver@5.7.2
- pixelmatch@4.0.2
- pngjs@3.3.3