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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 546c553bab24ffc35b52b7947329adb64bd20bc4224edf730545d114e60e5e4b
4
- data.tar.gz: 6a9e27343d875e8d2cc71979766c93c59afa7dfda4e93905fc3b103451661856
3
+ metadata.gz: 78b580c947cafabccc6ee77c01cbdd65e50718f9e6397319d73afd68d323b0a1
4
+ data.tar.gz: 6e0505f1afe3099b9c2a318f3545c28a1ce438c12b93681686ac94356768ed9d
5
5
  SHA512:
6
- metadata.gz: b6beb7c6161650d38c9d7567df596969a3c775e9b64e5f3459e10aedb198bc7c8ee84db18b97bbc9d80d9719e08fae0953b693ee6b7b0ecbfb19fa62bd82e630
7
- data.tar.gz: f9954244d76d00404783a25011a448709310f203010aafd67b69d13872ddc039ddbac95c63da072e898d6349fe4b1c3be732d245003f8d4c6b752fd4c7b69878
6
+ metadata.gz: c7d6e9316fe878ba405df30c543174746920266ebb48ca14edaa7c46874e946e8f57f67b5114974b755a925655c2f523b4ed80bc3b634a66634fd92ad101eb66
7
+ data.tar.gz: 419083358a8f56d8cc54393d58cec6ac00285a7974dcffbfedae82098398d2220bae1e6fe229daf4abdfb4ae51c3aebb875cb6e9d233cbe99eef57f6d9337843
@@ -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.
@@ -1,3 +1,3 @@
1
1
  module GovukTest
2
- VERSION = "4.0.1".freeze
2
+ VERSION = "4.0.2".freeze
3
3
  end
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.1
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-10-10 00:00:00.000000000 Z
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.4.20
179
+ rubygems_version: 3.5.0
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Test setup for GOV.UK