Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Bump govuk_test from 0.4.2 to 0.4.3 #305

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem "docker-api", "~> 1.34"
gem "docker-compose", "~> 1.1"
gem "faker", "~> 1.9"
gem "govuk-lint", "~> 3.11.0"
gem "govuk_test", "~> 0.4.2"
gem "govuk_test", "~> 0.4.3"
gem "httparty"
gem "parallel_tests"
gem "plek", "~> 2.0"
Expand Down
29 changes: 13 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ GEM
specs:
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
archive-zip (0.12.0)
io-like (~> 0.3.0)
ast (2.4.0)
backticks (1.0.2)
byebug (11.0.1)
capybara (3.16.2)
capybara (3.18.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
Expand All @@ -22,11 +20,8 @@ GEM
capybara-select2 (1.0.1)
capybara
rspec
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
chromedriver-helper (2.1.1)
archive-zip (~> 0.10)
nokogiri (~> 1.8)
childprocess (1.0.1)
rake (< 13.0)
concurrent-ruby (1.1.5)
diff-lcs (1.3)
docker-api (1.34.2)
Expand All @@ -42,18 +37,16 @@ GEM
rubocop (~> 0.64)
rubocop-rspec (~> 1.28)
scss_lint
govuk_test (0.4.2)
govuk_test (0.4.3)
capybara
chromedriver-helper
ptools
puma
selenium-webdriver
webdrivers
httparty (0.16.4)
mime-types (~> 3.0)
multi_xml (>= 0.5.2)
i18n (1.6.0)
concurrent-ruby (~> 1.0)
io-like (0.3.0)
jaro_winkler (1.5.2)
launchy (2.4.3)
addressable (~> 2.3)
Expand All @@ -64,7 +57,7 @@ GEM
mini_portile2 (2.4.0)
multi_json (1.13.1)
multi_xml (0.6.0)
nokogiri (1.10.2)
nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
parallel (1.14.0)
parallel_tests (2.28.0)
Expand Down Expand Up @@ -122,10 +115,14 @@ GEM
scss_lint (0.57.1)
rake (>= 0.9, < 13)
sass (~> 3.5, >= 3.5.5)
selenium-webdriver (3.141.0)
childprocess (~> 0.5)
selenium-webdriver (3.142.0)
childprocess (>= 0.5, < 2.0)
rubyzip (~> 1.2, >= 1.2.2)
unicode-display_width (1.4.1)
webdrivers (3.8.0)
nokogiri (~> 1.6)
rubyzip (~> 1.0)
selenium-webdriver (~> 3.0)
xpath (3.2.0)
nokogiri (~> 1.8)

Expand All @@ -140,7 +137,7 @@ DEPENDENCIES
docker-compose (~> 1.1)
faker (~> 1.9)
govuk-lint (~> 3.11.0)
govuk_test (~> 0.4.2)
govuk_test (~> 0.4.3)
httparty
parallel_tests
plek (~> 2.0)
Expand Down
9 changes: 0 additions & 9 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,6 @@
config.add_setting :reload_page_wait_time, default: 60
end

chromedriver_from_path = File.which("chromedriver")

if chromedriver_from_path
# Use the installed chromedriver, rather than chromedriver-helper
Selenium::WebDriver::Chrome.driver_path = chromedriver_from_path
else
require "chromedriver-helper"
end

Capybara.register_driver :headless_chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
acceptInsecureCerts: true,
Expand Down
3 changes: 3 additions & 0 deletions spec/support/govuk_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require "govuk_test"

GovukTest.configure