summaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2017-02-20 15:52:01 +0100
committeranonym <anonym@riseup.net>2017-02-20 15:52:01 +0100
commite2cf2896dbae20f66689e1e3c67202a2db319308 (patch)
tree47e2a0ec53f51dee297d6ed4522867dc3e587592 /features
parenta7fb05c1523d1903a01adbab50560d79f3337a30 (diff)
Test suite: add retry magic for lost click.
Will-fix: #12131
Diffstat (limited to 'features')
-rw-r--r--features/step_definitions/checks.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/features/step_definitions/checks.rb b/features/step_definitions/checks.rb
index d61c89f..776c90c 100644
--- a/features/step_definitions/checks.rb
+++ b/features/step_definitions/checks.rb
@@ -36,7 +36,11 @@ Then /^the shipped (?:Debian repository key|OpenPGP key ([A-Z0-9]+)) will be val
end
Then /^I double-click the Report an Error launcher on the desktop$/ do
- @screen.wait_and_double_click('DesktopReportAnError.png', 30)
+ # Sometimes the double-click is lost (#12131).
+ retry_action(10) do
+ @screen.wait_and_double_click('DesktopReportAnError.png', 30)
+ step 'the Tor Browser has started'
+ end
end
Then /^the live user has been setup by live\-boot$/ do