Skip to content

Commit f4e7b1a

Browse files
committed
Remove chrome beta from test
1 parent f7ac714 commit f4e7b1a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def initialize
3131
WebDriver.logger.ignore(:logger_info)
3232
SeleniumManager.bin_path = root.join('bazel-bin/rb/bin').to_s if File.exist?(root.join('bazel-bin/rb/bin'))
3333

34-
@driver = ENV.fetch('WD_SPEC_DRIVER', 'chrome-beta').tr('-', '_').to_sym
34+
@driver = ENV.fetch('WD_SPEC_DRIVER', 'chrome').tr('-', '_').to_sym
3535
@driver_instance = nil
3636
@remote_server = nil
3737
end
@@ -80,11 +80,11 @@ def quit_driver
8080

8181
def app_server
8282
@app_server ||= begin
83-
app_server = RackServer.new(root.join('common/src/web').to_s, random_port)
84-
app_server.start
83+
app_server = RackServer.new(root.join('common/src/web').to_s, random_port)
84+
app_server.start
8585

86-
app_server
87-
end
86+
app_server
87+
end
8888
end
8989

9090
def remote_server
@@ -256,13 +256,13 @@ def firefox_driver(service: nil, **opts)
256256
end
257257

258258
def safari_driver(**opts)
259-
service_opts = WebDriver.logger.debug? ? { args: '--diagnose' } : {}
259+
service_opts = WebDriver.logger.debug? ? {args: '--diagnose'} : {}
260260
service = WebDriver::Service.safari(**service_opts)
261261
WebDriver::Driver.for(:safari, service: service, **opts)
262262
end
263263

264264
def safari_preview_driver(**opts)
265-
service_opts = WebDriver.logger.debug? ? { args: '--diagnose' } : {}
265+
service_opts = WebDriver.logger.debug? ? {args: '--diagnose'} : {}
266266
service = WebDriver::Service.safari(**service_opts)
267267
WebDriver::Driver.for(:safari, service: service, **opts)
268268
end

0 commit comments

Comments
 (0)