govuk_test 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/govuk_test/version.rb +1 -1
- data/lib/govuk_test.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a46a8a4f48af74b23288d1588bdc69fbdb40f492b75b6e5245e19494d664b72d
|
4
|
+
data.tar.gz: 3a0bcaa327356f28c48ae83787e4a0d3d6f47c54b921c655768ce0340b4c9211
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fac4eb735ff1764f93741495609f6160046e36e95cd001d2695c01e05e140f594c300f795dcf296b5c40d2316e6dd206cf82a2abf641cf368e5719df783ceedf
|
7
|
+
data.tar.gz: 7defc116b721244fc36e666cd0c484c480a56a3d014b1e058f6d57d7e1c9a25494325284c098035cfa25b4bb1ae8980a4a6fd3e9f7adf0cdcbf64a73fd74ec8c
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,12 @@
|
|
7
7
|
useful summary for people upgrading their application, not a replication
|
8
8
|
of the commit log.
|
9
9
|
|
10
|
+
## 0.4.1
|
11
|
+
|
12
|
+
* Avoid issues with older versions of the chromedriver-helper gem, by
|
13
|
+
only using chromedriver form the PATH if
|
14
|
+
GOVUK_TEST_USE_SYSTEM_CHROMEDRIVER is set in the environment.
|
15
|
+
|
10
16
|
## 0.4.0
|
11
17
|
|
12
18
|
* Don't download chromedriver if it's already available.
|
data/lib/govuk_test/version.rb
CHANGED
data/lib/govuk_test.rb
CHANGED
@@ -10,10 +10,9 @@ module GovukTest
|
|
10
10
|
chrome_options = %w(headless disable-gpu)
|
11
11
|
chrome_options << "--window-size=#{options[:window_size]}" if options[:window_size]
|
12
12
|
|
13
|
-
|
14
|
-
if chromedriver_from_path
|
13
|
+
if ENV['GOVUK_TEST_USE_SYSTEM_CHROMEDRIVER']
|
15
14
|
# Use the installed chromedriver, rather than chromedriver-helper
|
16
|
-
Selenium::WebDriver::Chrome.driver_path =
|
15
|
+
Selenium::WebDriver::Chrome.driver_path = File.which("chromedriver")
|
17
16
|
else
|
18
17
|
require 'chromedriver-helper'
|
19
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|