An app that wraps Wraith for automated visual regression testing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
docs/screenshots
lib
spec
.gitignore
.rspec
.ruby-version
Gemfile
Gemfile.lock
LICENCE
Procfile
README.md
Rakefile
app.rb
package.json
yarn.lock

README.md

Minimum viable visual regression testing of components

An app that wraps Wraith for automated visual regression testing that uploads generated galleries to surge.sh for manual review.

Steps

How to test locally

Fake a webhook, where deployment_payload.json is the file in 210c55a:

curl -X POST -d @deployment_payload.json http://www.dev.gov.uk:4567/run --header "Content-Type:application/json"
  • Rake tasks are also available with REVIEW_DOMAIN and LIVE_DOMAIN environment variables

Part of: https://trello.com/c/iXflEn6F/106-3-build-automated-visual-regression-proof-of-concept

Follow on from:

https://github.com/alphagov/government-frontend/pull/458 https://github.com/alphagov/government-frontend/pull/472