Commit a83a91df authored by anonym's avatar anonym
Browse files

Use waitVanish instead of sleep.

I'm not sure why the waitVanish code has been commented out, but it
works find and should be more robust.
parent 2019b6ab
......@@ -190,8 +190,7 @@ Then /^I cannot configure the Unsafe Browser to use any local proxies$/ do
# Close settings
@screen.type(Sikuli::Key.ENTER)
# @screen.waitVanish('UnsafeBrowserProxySettingsWindow.png', 10)
sleep 0.5
@screen.waitVanish('UnsafeBrowserProxySettingsWindow.png', 10)
# Test that the proxy settings work as they should
step "I open the address \"https://check.torproject.org\" in the Unsafe Browser"
......
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