govuk_test 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +10 -0
- data/CHANGELOG.md +4 -0
- data/lib/govuk_test/version.rb +1 -1
- data/lib/govuk_test.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78b580c947cafabccc6ee77c01cbdd65e50718f9e6397319d73afd68d323b0a1
|
4
|
+
data.tar.gz: 6e0505f1afe3099b9c2a318f3545c28a1ce438c12b93681686ac94356768ed9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7d6e9316fe878ba405df30c543174746920266ebb48ca14edaa7c46874e946e8f57f67b5114974b755a925655c2f523b4ed80bc3b634a66634fd92ad101eb66
|
7
|
+
data.tar.gz: 419083358a8f56d8cc54393d58cec6ac00285a7974dcffbfedae82098398d2220bae1e6fe229daf4abdfb4ae51c3aebb875cb6e9d233cbe99eef57f6d9337843
|
data/.github/workflows/ci.yml
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
on: [push, pull_request]
|
2
2
|
|
3
3
|
jobs:
|
4
|
+
codeql-sast:
|
5
|
+
name: CodeQL SAST scan
|
6
|
+
uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main
|
7
|
+
permissions:
|
8
|
+
security-events: write
|
9
|
+
|
10
|
+
dependency-review:
|
11
|
+
name: Dependency Review scan
|
12
|
+
uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main
|
13
|
+
|
4
14
|
# This matrix job runs the test suite against multiple Ruby versions
|
5
15
|
test_matrix:
|
6
16
|
strategy:
|
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
|
+
## 4.0.2
|
11
|
+
|
12
|
+
* Use `--headless=new` option for Chrome webdriver to work with the new version of Chrome (versions post 120)
|
13
|
+
|
10
14
|
## 4.0.1
|
11
15
|
|
12
16
|
* Use `options` instead of `capabilities` in `Capybara::Selenium::Driver#initialize`. The use of `capabilities` was deprecated in selenium 4.8.0 and was removed in selenium 4.12.0.
|
data/lib/govuk_test/version.rb
CHANGED
data/lib/govuk_test.rb
CHANGED
@@ -18,7 +18,7 @@ module GovukTest
|
|
18
18
|
|
19
19
|
def self.headless_chrome_selenium_options
|
20
20
|
Selenium::WebDriver::Chrome::Options.new.tap do |options|
|
21
|
-
options.add_argument("--headless")
|
21
|
+
options.add_argument("--headless=new")
|
22
22
|
options.add_argument("--no-sandbox") if ENV["GOVUK_TEST_CHROME_NO_SANDBOX"]
|
23
23
|
end
|
24
24
|
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: 4.0.
|
4
|
+
version: 4.0.2
|
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: 2023-
|
11
|
+
date: 2023-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brakeman
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
|
-
rubygems_version: 3.
|
179
|
+
rubygems_version: 3.5.0
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Test setup for GOV.UK
|