govuk_test 0.3.0 → 0.3.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 +4 -0
- data/govuk_test.gemspec +0 -1
- data/lib/govuk_test/version.rb +1 -1
- data/lib/govuk_test.rb +1 -9
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f79d22e1b156c1e4ff6a1250fc28eda990c9b682dd3c59dc78e45a6474aada35
|
4
|
+
data.tar.gz: 2af7a1516085ac4305516f7d2afeec6ae33d92efce8c72340318451991e2c200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be9329ffff9b305364b06f7e93a14b76de832be83cddf2bb1e9c58f00306cfe050118a2893c0560b6fb09fcae7ad0219bfaa00b3b71a81ee575ea820d0ce28f2
|
7
|
+
data.tar.gz: 1dc15284d7dc2584166e94a69c016038d3ed9240e4c793200648c7e6ec204a1e0c3c7c088cf856b7e119b1f4deed85dd8ed0a2e9e20aa739338ea14fe39fd6b2
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,10 @@
|
|
7
7
|
useful summary for people upgrading their application, not a replication
|
8
8
|
of the commit log.
|
9
9
|
|
10
|
+
## 0.3.1
|
11
|
+
|
12
|
+
* Revert "Don't force use of chromedriver-helper" - which seems to break apps in CI
|
13
|
+
|
10
14
|
## 0.3.0
|
11
15
|
|
12
16
|
* Don't download chromedriver if it's already available.
|
data/govuk_test.gemspec
CHANGED
data/lib/govuk_test/version.rb
CHANGED
data/lib/govuk_test.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require "govuk_test/version"
|
2
2
|
|
3
3
|
require "capybara"
|
4
|
-
require "ptools"
|
5
4
|
require "puma"
|
5
|
+
require "chromedriver-helper"
|
6
6
|
require "selenium-webdriver"
|
7
7
|
|
8
8
|
module GovukTest
|
@@ -10,14 +10,6 @@ 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
|
-
chromedriver_from_path = File.which("chromedriver")
|
14
|
-
if chromedriver_from_path
|
15
|
-
# Use the installed chromedriver, rather than chromedriver-helper
|
16
|
-
Selenium::WebDriver::Chrome.driver_path = chromedriver_from_path
|
17
|
-
else
|
18
|
-
require 'chromedriver-helper'
|
19
|
-
end
|
20
|
-
|
21
13
|
Capybara.register_driver :headless_chrome do |app|
|
22
14
|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
|
23
15
|
chromeOptions: { args: chrome_options }
|
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.3.
|
4
|
+
version: 0.3.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: 2018-11-
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: ptools
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: puma
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|