From 770796ca198edf60eecb50adf9d760511e109903 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Wed, 1 Nov 2023 14:25:22 -0500 Subject: [PATCH] [rb] specify in tests to use stable browser version Tests are not currently using pinned browsers, ensure running on latest by default --- .../selenium/webdriver/spec_support/test_environment.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb b/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb index 1ca5a5108ef6c..debc2d26dd644 100644 --- a/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb +++ b/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb @@ -240,19 +240,19 @@ def safari_preview_driver(**opts) def chrome_options(args: [], **opts) opts[:binary] ||= ENV['CHROME_BINARY'] if ENV.key?('CHROME_BINARY') args << '--headless=chrome' if ENV['HEADLESS'] - WebDriver::Options.chrome(args: args, **opts) + WebDriver::Options.chrome(browser_version: 'stable', args: args, **opts) end def edge_options(args: [], **opts) opts[:binary] ||= ENV['EDGE_BINARY'] if ENV.key?('EDGE_BINARY') args << '--headless=chrome' if ENV['HEADLESS'] - WebDriver::Options.edge(args: args, **opts) + WebDriver::Options.edge(browser_version: 'stable', args: args, **opts) end def firefox_options(args: [], **opts) opts[:binary] ||= ENV['FIREFOX_BINARY'] if ENV.key?('FIREFOX_BINARY') args << '--headless' if ENV['HEADLESS'] - WebDriver::Options.firefox(args: args, **opts) + WebDriver::Options.firefox(browser_version: 'stable', args: args, **opts) end def ie_options(**opts)