diff --git a/.circleci/config.yml b/.circleci/config.yml index e9fbac928b..8df67287d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,7 +91,7 @@ attach-to-workspace: &attach-to-workspace at: . system-builder-ruby31: &system-builder-ruby31 - image: quay.io/3scale/system-builder:stream8-ruby3.1 + image: quay.io/3scale/system-builder:stream8-ruby3.1-chrome126 environment: BUNDLE_FROZEN: true BUNDLE_PATH: 'vendor/bundle' diff --git a/features/support/capybara.rb b/features/support/capybara.rb index d0773dc87f..a79c3e9f45 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -26,13 +26,13 @@ # Use this driver to debug scenarios locally by using hook @chrome Capybara.register_driver :chrome do |app| - options = Selenium::WebDriver::Chrome::Options.new(BASE_DRIVER_OPTIONS) + options = Selenium::WebDriver::Options.chrome(**BASE_DRIVER_OPTIONS) Capybara::Selenium::Driver.new(app, browser: :chrome, options: options) end Capybara.register_driver :headless_chrome do |app| - options = Selenium::WebDriver::Chrome::Options.new(**BASE_DRIVER_OPTIONS.merge( + options = Selenium::WebDriver::Options.chrome(**BASE_DRIVER_OPTIONS.merge( args: [ '--disable-gpu', '--disable-popup-blocking',