Problem/Motivation
We have visual regression testing on the UI Kit so we know what has changed visually when deploying changes.
Monorepo does not have this check in place relying on QA to notice any visual regressions.
Proposed resolution
1. Add tool that runs visual regression testing on CI (monorepo uses circle ci)
2. This tool should:
- Take screenshots of same content on feature branch
- compare against a baseline on develop branch (downloading this artifact from circle CI artifacts)
- Upload this visual regression to netlify
- post comment linking to visual regression on PR
- generate baseline every time a feature is merged into develop
Comments
Comment #2
richardgaunt commentedAdded PR: https://github.com/civictheme/monorepo-drupal/pull/1473
And merged for testing (requires baseline) to test.
Comment #3
richardgaunt commentedComment #5
fionamorrison23 commentedComment #6
richardgaunt commentedComment #7
richardgaunt commented