We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8162e27 commit 2599a46Copy full SHA for 2599a46
android_tests/lib/android/specs/driver.rb
@@ -182,7 +182,10 @@ def validate_path(path)
182
rescue Selenium::WebDriver::Error::UnknownError => e
183
# on android this method is expected to fail with this message when running
184
# on a regular device, or on genymotion.
185
- raise unless e.message.start_with?('ERROR running Appium command: port should be > 0 and < 65536')
+ # error could be many messages, including:
186
+ # ERROR running Appium command: port should be a number or string
187
+ # ERROR running Appium command: port should be > 0 and < 65536
188
+ raise unless e.message.include?('ERROR running Appium command: port should be')
189
end
190
191
0 commit comments