Project

General

Profile

Bug #11585

Bug #10288: Fix newly identified issues to make our test suite more robust and faster

"Persistent browser bookmarks" is fragile

Added by intrigeri about 3 years ago. Updated about 3 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Test suite
Target version:
-
Start date:
07/21/2016
Due date:
% Done:

0%

Feature Branch:
wip/test/11585-persistent-browser-bookmarks-fragile
Type of work:
Code
Blueprint:
Starter:
Affected tool:
Browser

Description

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?

02_28_52_Persistent_browser_bookmarks.mkv (1.41 MB) intrigeri, 07/21/2016 05:40 AM

Associated revisions

Revision 695879c3 (diff)
Added by intrigeri about 3 years ago

Test suite: mark "Persistent browser bookmarks" as fragile (refs: #11585)

Revision 24ff9c29 (diff)
Added by intrigeri about 3 years ago

Revert "Test suite: mark "Persistent browser bookmarks" as fragile (refs: #11585)"

This reverts commit 695879c3f1fa149305f8fefeebd4a5dc11b78d13.

History

#1 Updated by intrigeri about 3 years ago

  • Feature Branch set to test/11585-persistent-browser-bookmarks-fragile

Marked as fragile.

#3 Updated by intrigeri about 3 years ago

  • Feature Branch changed from test/11585-persistent-browser-bookmarks-fragile to wip/test/11585-persistent-browser-bookmarks-fragile

Also available in: Atom PDF