lib/briar/image_view.rb in briar-0.1.2 vs lib/briar/image_view.rb in briar-0.1.3.b1
- old
+ new
@@ -21,22 +21,22 @@
end
def wait_for_image_view(iv_id, timeout=BRIAR_WAIT_TIMEOUT)
msg = "waited for '#{timeout}' seconds but did not see image view marked: '#{iv_id}'"
options = {:timeout => timeout,
- :retry_frequency => BRIAR_RETRY_FREQ,
- :post_timeout => BRIAR_POST_TIMEOUT,
+ :retry_frequency => BRIAR_WAIT_RETRY_FREQ,
+ :post_timeout => BRIAR_WAIT_STEP_PAUSE,
:timeout_message => msg}
wait_for(options) do
image_view_exists? iv_id
end
end
def wait_for_image_view_to_disappear(iv_id, timeout=BRIAR_WAIT_TIMEOUT)
msg = "waited for '#{timeout}' seconds but i still see image view marked: '#{iv_id}'"
options = {:timeout => timeout,
- :retry_frequency => BRIAR_RETRY_FREQ,
- :post_timeout => BRIAR_POST_TIMEOUT,
+ :retry_frequency => BRIAR_WAIT_RETRY_FREQ,
+ :post_timeout => BRIAR_WAIT_STEP_PAUSE,
:timeout_message => msg}
wait_for(options) do
not image_view_exists? iv_id
end
end