lib/calabash-cucumber/wait_helpers.rb in calabash-cucumber-0.9.113 vs lib/calabash-cucumber/wait_helpers.rb in calabash-cucumber-0.9.115
- old
+ new
@@ -83,9 +83,14 @@
options[:retry_frequency] = options[:retry_frequency] || 0.2
options[:count] = options[:count] || 2
options[:timeout_message] = options[:timeout_message] || "Timeout waiting for condition (#{options[:condition]})"
options[:screenshot_on_error] = options[:screenshot_on_error] || true
+ if options[:condition] == CALABASH_CONDITIONS[:none_animating]
+ puts "Waiting for none-animating has been found unreliable."
+ puts "You are advised not to use it until this is resolved."
+ puts "Test will continue..."
+ end
begin
Timeout::timeout(options[:timeout],WaitError) do
loop do
res = http({:method => :post, :path => 'condition'},
options)