Bug #10288: Fix newly identified issues to make our test suite more robust and faster
"Persistent browser bookmarks" is fragile
calling as amnesia: echo '#!/usr/bin/python from dogtail import tree from dogtail.config import config config.searchShowingOnly = True application = tree.root.application('"'"'gnome-shell'"'"') application.child('"'"'Tor Browser'"'"', roleName='"'"'label'"'"').click()' >> '/tmp/tmp.KAOPeEREqc' call returned: [0, "", ""] calling as amnesia: /usr/bin/python '/tmp/tmp.KAOPeEREqc' call returned: [0, "Creating logfile at /tmp/dogtail-amnesia/logs/tmp.KAOPeEREqc_20160721-102235_debug ...\nClicking on [label | Tor Browser]\nMouse button 1 click at (297,336)\n", ""] calling as root: rm -f '/tmp/tmp.KAOPeEREqc' call returned: [0, "", ""] [log] CLICK on (542,385) [log] CLICK on (620,456) And I start the Tor Browser in offline mode # features/step_definitions/common_steps.rb:572 And the Tor Browser has started in offline mode # features/step_definitions/common_steps.rb:416 [log] Alt+TYPE "b" Then the Tor Browser has a bookmark to eff.org # features/step_definitions/common_steps.rb:429 FindFailed: can not find TorBrowserEFFBookmark.png on the screen. Line ?, in File ? (RuntimeError) features/torified_browsing.feature:146:in `Then the Tor Browser has a bookmark to eff.org'
Maybe we need to wait more than 10 seconds for the bookmarks page to appear, or to deal with the "Maximizing Tor Browser" warning, or to wait a bit between when the browser has started and when we type ALT+b?