orca r4602 - trunk/test/keystrokes/firefox



Author: joanied
Date: Thu Feb 26 02:10:55 2009
New Revision: 4602
URL: http://svn.gnome.org/viewvc/orca?rev=4602&view=rev

Log:
Removing an assertion that can be timing-dependent.


Modified:
   trunk/test/keystrokes/firefox/bug_568631.py

Modified: trunk/test/keystrokes/firefox/bug_568631.py
==============================================================================
--- trunk/test/keystrokes/firefox/bug_568631.py	(original)
+++ trunk/test/keystrokes/firefox/bug_568631.py	Thu Feb 26 02:10:55 2009
@@ -41,7 +41,9 @@
      "SPEECH OUTPUT: 'Home link News link Projects link Art link Support link Development link Community link'"]))
 
 ########################################################################
-# Tab to the About link
+# Tab to the About link. Depending on timing, we get extra garbage here.
+# This assertion isn't even necessary as we actually care about what
+# comes after we press Return.
 #
 for i in range(25):
     sequence.append(KeyComboAction("Tab", 1000))
@@ -50,16 +52,9 @@
 #
 sequence.append(PauseAction(5000))
 
-sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(WaitForFocus("About", acc_role=pyatspi.ROLE_LINK))
 sequence.append(PauseAction(2000))
-sequence.append(utils.AssertPresentationAction(
-    "Tab", 
-    ["BRAILLE LINE:  '2. About",
-     "     VISIBLE:  '2. About', cursor=4",
-     "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'About link'"]))
 
 ########################################################################
 # Press Return to active the link



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]