Diffy CircleCI Orb
Diffy is a visual regression testing platform for websites.
Repository contains code for Diffy's CircleCI Orb.
CircleCI registry https://circleci.com/orbs/registry/orb/diffy/diffy.
Orb provides a job to compare Pantheon's DEV environment with Multi Dev. This job is a replacement of BackstopJS visual regression job in Pantheon Build Tools workflow.
Once you have set up a project by using Drops 8 workflow you can use Diffy to run visual regression testing.
Accept "Allow Uncertified Orbs" under your Organization Security settings in CircleCI.
This can be done in
Configure CircleCI environment variables. Check documentation page.
Once variables are configured you need to edit your
Add an orb (place it at the top of the file)
orbs: diffy: diffy/diffy@0
Then declare Diffy's job in jobs section
And last -- add a new job in workflows (you can remove standard
visual_regression_test step from workflow too).
- diffy_visual_regression_test: requires: - configure_env_vars - deploy_to_pantheon filters: branches: ignore: - master
To release the orb after making some changes you need to
circleci orb validate src/orb.yml circleci orb publish increment src/orb.yml diffy/diffy patch