Skip to content

Commit 2e5cec5

Browse files
committed
[rb] make it easier in ruby remote tests to specify a grid jar
1 parent c64ed7d commit 2e5cec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ def remote_server?
106106
end
107107

108108
def remote_server_jar
109-
jar = 'java/src/org/openqa/selenium/grid/selenium_server_deploy.jar'
109+
jar = 'selenium_server_deploy.jar'
110110
test_jar = Pathname.new(Dir.pwd).join(jar)
111-
built_jar = root.join("bazel-bin/#{jar}")
111+
built_jar = root.join("bazel-bin/java/src/org/openqa/selenium/grid/#{jar}")
112112
jar = if File.exist?(test_jar) && ENV['DOWNLOAD_SERVER'].nil?
113113
test_jar
114114
elsif File.exist?(built_jar) && ENV['DOWNLOAD_SERVER'].nil?

0 commit comments

Comments
 (0)