govuk_test 2.2.0 → 3.0.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 +12 -0
- data/govuk_test.gemspec +3 -4
- data/lib/govuk_test/version.rb +1 -1
- data/lib/govuk_test.rb +1 -9
- metadata +11 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ad8c260fc4951049f5bca283eedd16ffedd72c7879dab766c8d546d3c0027c5
|
4
|
+
data.tar.gz: b71693e71b8ee8b660e20c313dbd21368d5432ad6b75fc117f1227007e54daff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6d6425accf63595a7e01cfb48cd84d3cdbd82f7ddcacb38e47ba31ea3411d76dca5fd1f4d0995aa2ed863c63157bf474640cfc4338e6a48759e4ad7f0b77a92
|
7
|
+
data.tar.gz: c5737f2e320917216b2f98ad0ce1bbda1f63f2f1438a2172ccb4b879d90c6edf0f6cdcb58917789bec502744a782be1615cf61b4ece6547459586d84ca179029
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,18 @@
|
|
7
7
|
useful summary for people upgrading their application, not a replication
|
8
8
|
of the commit log.
|
9
9
|
|
10
|
+
## 3.0.1
|
11
|
+
|
12
|
+
* Resolve Selenium deprecation warning on options argument by requiring higher minimum versions ([#44](https://github.com/alphagov/govuk_test/pull/44))
|
13
|
+
|
14
|
+
## 3.0.0
|
15
|
+
|
16
|
+
* BREAKING: Remove dependency on `webdrivers` gem. It's now expected that ChromeDriver is present on the underlying operating system. ([#43](https://github.com/alphagov/govuk_test/pull/43))
|
17
|
+
|
18
|
+
## 2.3.0
|
19
|
+
|
20
|
+
* Update brakeman to fix false positive warning ([#41](https://github.com/alphagov/govuk_test/pull/41))
|
21
|
+
|
10
22
|
## 2.2.0
|
11
23
|
|
12
24
|
* Remove pact test branch verify rake task
|
data/govuk_test.gemspec
CHANGED
@@ -22,11 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "brakeman", "
|
26
|
-
spec.add_dependency "capybara"
|
25
|
+
spec.add_dependency "brakeman", ">= 5.0.2"
|
26
|
+
spec.add_dependency "capybara", ">= 3.36"
|
27
27
|
spec.add_dependency "puma"
|
28
|
-
spec.add_dependency "selenium-webdriver", ">=
|
29
|
-
spec.add_dependency "webdrivers", ">= 4"
|
28
|
+
spec.add_dependency "selenium-webdriver", ">= 4.0"
|
30
29
|
|
31
30
|
spec.add_development_dependency "bundler"
|
32
31
|
spec.add_development_dependency "climate_control"
|
data/lib/govuk_test/version.rb
CHANGED
data/lib/govuk_test.rb
CHANGED
@@ -4,20 +4,12 @@ require "capybara"
|
|
4
4
|
require "puma"
|
5
5
|
require "selenium-webdriver"
|
6
6
|
|
7
|
-
unless ENV["GOVUK_TEST_USE_SYSTEM_CHROMEDRIVER"]
|
8
|
-
require "webdrivers"
|
9
|
-
|
10
|
-
# This stop webdrivers doing a lazy check for new versions
|
11
|
-
# of chromedriver, which interferes with WebMock.disable_net_connect
|
12
|
-
Selenium::WebDriver::Chrome::Service.driver_path = Webdrivers::Chromedriver.update
|
13
|
-
end
|
14
|
-
|
15
7
|
module GovukTest
|
16
8
|
def self.configure
|
17
9
|
Capybara.register_driver :headless_chrome do |app|
|
18
10
|
Capybara::Selenium::Driver.new(app,
|
19
11
|
browser: :chrome,
|
20
|
-
|
12
|
+
capabilities: headless_chrome_selenium_options)
|
21
13
|
end
|
22
14
|
|
23
15
|
Capybara.javascript_driver = :headless_chrome
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.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:
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brakeman
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.0.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.0.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.36'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.36'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: puma
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.142'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: webdrivers
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '4'
|
61
|
+
version: '4.0'
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - ">="
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '4'
|
68
|
+
version: '4.0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: bundler
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
162
|
- !ruby/object:Gem::Version
|
177
163
|
version: '0'
|
178
164
|
requirements: []
|
179
|
-
rubygems_version: 3.
|
165
|
+
rubygems_version: 3.0.3
|
180
166
|
signing_key:
|
181
167
|
specification_version: 4
|
182
168
|
summary: Test setup for GOV.UK
|