From 550385362b79c0e036d2b1691848fe504ab7d3f4 Mon Sep 17 00:00:00 2001 From: Ian James Date: Wed, 31 Jul 2019 14:18:43 +0100 Subject: [PATCH] WIP --- Gemfile.lock | 2 + .../component_guide/index.html.erb | 2 +- govuk_publishing_components.gemspec | 1 + package-lock.json | 3482 +++++++++++++++-- package.json | 3 +- .../visual_regression_testing.spec.rb | 26 + 6 files changed, 3253 insertions(+), 263 deletions(-) create mode 100644 spec/components/visual_regression_testing.spec.rb diff --git a/Gemfile.lock b/Gemfile.lock index 5eecba7ff4..fcd2d08b0a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -165,6 +165,7 @@ GEM parallel (1.17.0) parser (2.6.3.0) ast (~> 2.4.0) + percy-capybara (4.0.2) phantomjs (2.1.1.0) plek (3.0.0) pry (0.12.2) @@ -319,6 +320,7 @@ DEPENDENCIES govuk_schemas (~> 3.2) govuk_test (~> 1) jasmine (~> 3.4.0) + percy-capybara (~> 4.0, >= 4.0.2) pry-byebug rspec-rails (~> 3.8) uglifier (>= 4.1.0) diff --git a/app/views/govuk_publishing_components/component_guide/index.html.erb b/app/views/govuk_publishing_components/component_guide/index.html.erb index e6ddec4126..0187604968 100644 --- a/app/views/govuk_publishing_components/component_guide/index.html.erb +++ b/app/views/govuk_publishing_components/component_guide/index.html.erb @@ -31,7 +31,7 @@

Components in the gem

-