Commit f15ad3aa authored by intrigeri's avatar intrigeri
Browse files

Test suite: make "I start the Tor Browser in offline mode" more robust.

I've seen a number of cases where dogtail thinks it has clicked the button
but the zenity dialog remains displayed and Tor Browser does not start.
Let's hope that explicitly giving focus to the button (and thus, to the dialog)
fixes that.
parent b6406c23
......@@ -387,7 +387,9 @@ When /^I start the Tor Browser( in offline mode)?$/ do |offline|
if offline
offline_prompt ='zenity')
.dialog('Tor is not ready')
offline_prompt.button('Start Tor Browser').click
start_button = offline_prompt.button('Start Tor Browser')
step "the Tor Browser has started#{offline}"
if offline
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment