summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2018-04-06 16:23:20 +0200
committeranonym <anonym@riseup.net>2019-05-14 16:51:14 +0200
commit47fc6f483e50e3d3bf8dea86223045142ad1243f (patch)
tree208246e3ae12b51a15312dab986f2f32823bca10
parent7011d0bd09865a9eb44c49900bb77ee900c8704d (diff)
Test suite: it's not necessarily a retry.test/anonym+force-all-teststest/anonym
-rw-r--r--features/step_definitions/browser.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/step_definitions/browser.rb b/features/step_definitions/browser.rb
index 6235b07..cbf58ed 100644
--- a/features/step_definitions/browser.rb
+++ b/features/step_definitions/browser.rb
@@ -113,12 +113,12 @@ When /^I open the address "([^"]*)" in the (.*)$/ do |address, browser|
open_address.call
end
if browser == "Tor Browser"
- retry_method = method(:try_tor)
+ try_method = method(:try_tor)
else
- retry_method = Proc.new { |p, &b| try(attempts: 10, recovery_proc: p, &b) }
+ try_method = Proc.new { |p, &b| try(attempts: 10, recovery_proc: p, &b) }
end
open_address.call
- retry_method.call(recovery_on_failure) do
+ try_method.call(recovery_on_failure) do
@screen.waitVanish(info[:browser_stop_button_image], 120)
@screen.wait(info[:browser_reload_button_image], 120)
end