"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?
Feature Branch: wip/test/11585-persistent-browser-bookmarks-fragile
Attachments
- 02_28_52_Persistent_browser_bookmarks.mkv
- 04_40_37_The_persistent_Tor_Browser_directory_is_usable.mkv
- 05_07_57_Persistent_browser_bookmarks.mkv
Parent Task: #10288
Original created by @intrigeri on 11585 (Redmine)