calabash-cucumber 0.9.91 → 0.9.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|