calabash-cucumber 0.9.91 → 0.9.92
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/calabash-cucumber/version.rb +2 -2
- data/lib/calabash-cucumber/wait_helpers.rb +4 -3
- metadata +1 -1
data/Gemfile.lock
CHANGED
@@ -10,7 +10,8 @@ module Calabash
|
|
10
10
|
|
11
11
|
class WaitError < RuntimeError
|
12
12
|
end
|
13
|
-
CALABASH_CONDITIONS = {:none_animating => "NONE_ANIMATING"
|
13
|
+
CALABASH_CONDITIONS = {:none_animating => "NONE_ANIMATING",
|
14
|
+
:no_network_indicator => "NO_NETWORK_INDICATOR"}
|
14
15
|
|
15
16
|
|
16
17
|
def wait_for(options_or_timeout=
|
@@ -104,8 +105,8 @@ module Calabash
|
|
104
105
|
|
105
106
|
def handle_error_with_options(ex, timeout_message, screenshot_on_error)
|
106
107
|
msg = (timeout_message || ex)
|
107
|
-
if ex
|
108
|
-
msg = "#{msg} (#{ex.
|
108
|
+
if ex
|
109
|
+
msg = "#{msg} (#{ex.class})"
|
109
110
|
end
|
110
111
|
if screenshot_on_error
|
111
112
|
screenshot_and_raise msg
|