- We use the GOV.UK versioning guidelines.
- Mark breaking changes with
BREAKING:
. Be sure to include instructions on how applications should be upgraded. - Include a link to your pull request.
- Don't include changes that are purely internal. The CHANGELOG should be a useful summary for people upgrading their application, not a replication of the commit log.
- Drop support for Ruby 3.0
- Use
--headless=new
option for Chrome webdriver to work with the new version of Chrome (versions post 120)
- Use
options
instead ofcapabilities
inCapybara::Selenium::Driver#initialize
. The use ofcapabilities
was deprecated in selenium 4.8.0 and was removed in selenium 4.12.0.
- Replace call to deprecated
Selenium::WebDriver::Chrome::Options#headless!
method (#63) - Bump GitHub actions/checkout from 3 to 4 (#59)
- Update rubocop-govuk requirement from = 4.11.0 to = 4.12.0 (#58)
- Update rubocop-govuk requirement from = 4.10.0 to = 4.11.0 (#57)
- Fix spec.files in govuk_test.gemspec (#56)
- Add rubocop-govuk (#55)
- BREAKING: Drop support for Ruby 2.7 (#54)
- Use .yml for workflow files (#52)
- Add Ruby 3.2 to CI test matrix (#51)
- Link to MIT Licence in repository (#50)
- Bump GitHub actions/checkout from 2 to 3 (#49)
- Configure Dependabot for GitHub Actions (#48)
- Configure Dependabot for Bundler (#47)
- Switch from Jenkins to GitHub Actions for CI (#46)
- Update Ruby from 2.6.6 to 2.7.6 (#45)
- Resolve Selenium deprecation warning on options argument by requiring higher minimum versions (#44)
- BREAKING: Remove dependency on
webdrivers
gem. It's now expected that ChromeDriver is present on the underlying operating system. (#43)
- Update brakeman to fix false positive warning (#41)
- Remove pact test branch verify rake task
- Remove
pact
andclimate_control
dependencies
- Mark
climate_control
as a dependency (rather than dev dependency)
- Add
pact
as a dependency
- Add pact test branch verify rake task
- Add Railtie to load rake tasks
- BREAKING:
.configure
no longer accepts options. If you need to modify the headless_chrome selenium driver you can re-register the driver withCapybara.register_driver
. GovukTest.headless_chrome_selenium_options
added to allow accessing the headless Chrome selenium options for other contexts (such as configuring Jasmine).GOVUK_TEST_CHROME_NO_SANDBOX
can be set to default Chrome to be running with the--no-sandbox
argument.
- Add Brakeman as a dependency.
- Allow new versions of 'webdrivers' above 4
- Ensure version of 'webdrivers' is at least 4
- BREAKING:
.configure
accepts achrome_options
argument of an instance ofSelenium::Webdriver::Chrome::Options
rather than a hash. Thewindow_size
argument is dropped and can be done by configuring thechrome_options
instance, example.
- No changes: new release for semantic versioning purposes (0.4.4 should have been 0.5.0)
- Allow
.configure
to accept extra chrome options
- Swap the deprecated chromedriver-helper gem for webdrivers gem
- Silence Puma logs during spec suite.
- Avoid issues with older versions of the chromedriver-helper gem, by only using chromedriver form the PATH if GOVUK_TEST_USE_SYSTEM_CHROMEDRIVER is set in the environment.
- Don't download chromedriver if it's already available.
- Revert "Don't force use of chromedriver-helper" - which seems to break apps in CI
- Don't download chromedriver if it's already available.
- Explicitly require the
chromedriver-helper
Gem to fix the path to the binary.
- Allow passing options to GovukTest.configure. Currently only
window_size
is supported. This is passed to the chrome driver capabilites. eg.GovukTest.configure(window_size: "1280,720")
.
- Initial version, configures selenium headless chrome javascript driver by default.