In this code:
Then /^I cannot configure the Unsafe Browser to use any local proxies$/ do next if @skip_steps_while_restoring_background @screen.wait_and_click("UnsafeBrowserWindow.png", 10) sleep 0.5 # First we open the proxy settings page to prepare it with the # correct open tabs for the loop below. @screen.type("e", Sikuli::KeyModifier.ALT) @screen.type("n") @screen.wait('UnsafeBrowserPreferences.png', 10)
I've seen the "n" typing fail, most likely because the menu's keybindings having not been set up fast enough for it to trigger any action. I suggest we instead
wait_and_click on the Preferences menu entry.
In the Unsafe Browser tests, rely on subtle timing less (Closes: #8009).
I've seen the "n" typing fail, most likely because the menu's keybindings having
not been set up fast enough for it to trigger any action. Better use
wait_and_click on the Preferences menu entry instead, which feels more robust.
#6 Updated by intrigeri almost 5 years ago
This problem was actually fixed already in the branch that migrates to the Tor Browser, so when merging feature/apparmor, the Tor Browser's branch solution shall be preferred, and likely at least one unused image introduced by feature/apparmor can be removed.