orca r4511 - in trunk: . test/keystrokes/firefox



Author: joanied
Date: Sun Feb  8 23:54:16 2009
New Revision: 4511
URL: http://svn.gnome.org/viewvc/orca?rev=4511&view=rev

Log:
* test/keystrokes/firefox/bug_568631.py:
  test/keystrokes/firefox/dojo_combo_box.py:
  Updated regression tests.


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

Modified: trunk/test/keystrokes/firefox/bug_568631.py
==============================================================================
--- trunk/test/keystrokes/firefox/bug_568631.py	(original)
+++ trunk/test/keystrokes/firefox/bug_568631.py	Sun Feb  8 23:54:16 2009
@@ -44,7 +44,7 @@
 # Tab to the About link
 #
 for i in range(25):
-    sequence.append(KeyComboAction("Tab"))
+    sequence.append(KeyComboAction("Tab", 500))
 
 # Just a little extra wait to let some events get through.
 #

Modified: trunk/test/keystrokes/firefox/dojo_combo_box.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_combo_box.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_combo_box.py	Sun Feb  8 23:54:16 2009
@@ -41,10 +41,6 @@
     ["BUG? - Too verbose",
      "BRAILLE LINE:  'US State test 1 California $l'",
      "     VISIBLE:  'US State test 1 California $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
      "SPEECH OUTPUT: 'US State test 1 combo box'",
      "SPEECH OUTPUT: 'US State test 1 text California selected'"]))
 
@@ -76,15 +72,12 @@
      "     VISIBLE:  'US State test 1 C $l', cursor=0",
      "BRAILLE LINE:  'â California ListItem'",
      "     VISIBLE:  'â California ListItem', cursor=1",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
+     "BRAILLE LINE:  'US State test 1 California $l'",
+     "     VISIBLE:  'US State test 1 California $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 California $l'",
      "     VISIBLE:  'US State test 1 California $l', cursor=0",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'â California'",
-     "SPEECH OUTPUT: 'â US State test 1 text California selected'",
      "SPEECH OUTPUT: 'California'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -92,7 +85,7 @@
 sequence.append(utils.AssertPresentationAction(
     "2. Down Arrow", 
     ["BUG? - Too verbose",
-    "BRAILLE LINE:  'US State test 1 California $l'",
+     "BRAILLE LINE:  'US State test 1 California $l'",
      "     VISIBLE:  'US State test 1 California $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 C $l'",
      "     VISIBLE:  'US State test 1 C $l', cursor=0",
@@ -100,13 +93,10 @@
      "     VISIBLE:  'US State test 1 Colorado $l', cursor=0",
      "BRAILLE LINE:  'â Colorado ListItem'",
      "     VISIBLE:  'â Colorado ListItem', cursor=1",
-     "BRAILLE LINE:  'â US State test 1 Colorado $l'",
-     "     VISIBLE:  'â US State test 1 Colorado $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 Colorado $l'",
-     "     VISIBLE:  'â US State test 1 Colorado $l', cursor=0",
+     "BRAILLE LINE:  'US State test 1 Colorado $l'",
+     "     VISIBLE:  'US State test 1 Colorado $l', cursor=0",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'â Colorado'",
-     "SPEECH OUTPUT: 'â US State test 1 text Colorado selected'",
      "SPEECH OUTPUT: 'Colorado'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -114,7 +104,7 @@
 sequence.append(utils.AssertPresentationAction(
     "3. Down Arrow", 
     ["BUG? - Too verbose",
-    "BRAILLE LINE:  'US State test 1 Colorado $l'",
+     "BRAILLE LINE:  'US State test 1 Colorado $l'",
      "     VISIBLE:  'US State test 1 Colorado $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 C $l'",
      "     VISIBLE:  'US State test 1 C $l', cursor=0",
@@ -122,13 +112,10 @@
      "     VISIBLE:  'â US State test 1 Connecticut $l', cursor=30",
      "BRAILLE LINE:  'â Connecticut ListItem'",
      "     VISIBLE:  'â Connecticut ListItem', cursor=1",
-     "BRAILLE LINE:  'â US State test 1 Connecticut $l'",
-     "     VISIBLE:  'â US State test 1 Connecticut $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 Connecticut $l'",
-     "     VISIBLE:  'â US State test 1 Connecticut $l', cursor=0",
+     "BRAILLE LINE:  'US State test 1 Connecticut $l'",
+     "     VISIBLE:  'US State test 1 Connecticut $l', cursor=0",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'â Connecticut'",
-     "SPEECH OUTPUT: 'â US State test 1 text Connecticut selected'",
      "SPEECH OUTPUT: 'Connecticut'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -136,18 +123,12 @@
 sequence.append(utils.AssertPresentationAction(
     "4. Down Arrow", 
     ["BUG? - Too verbose",
-    "BRAILLE LINE:  'US State test 1 Connecticut $l'",
+     "BRAILLE LINE:  'US State test 1 Connecticut $l'",
      "     VISIBLE:  'US State test 1 Connecticut $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 C $l'",
      "     VISIBLE:  'US State test 1 C $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 Connecticut $l'",
-     "     VISIBLE:  'US State test 1 Connecticut $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 Connecticut $l'",
-     "     VISIBLE:  'â US State test 1 Connecticut $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 Connecticut $l'",
-     "     VISIBLE:  'â US State test 1 Connecticut $l', cursor=0",
-     "SPEECH OUTPUT: 'â US State test 1 text Connecticut selected'",
-     "SPEECH OUTPUT: 'Connecticut'"]))
+     "     VISIBLE:  'US State test 1 Connecticut $l', cursor=0"]))
 
 ########################################################################
 # Up Arrow amongst the newly-displayed items. One should not be able
@@ -158,7 +139,7 @@
 sequence.append(utils.AssertPresentationAction(
     "1. Up Arrow", 
     ["BUG? - Too verbose",
-    "BRAILLE LINE:  'US State test 1 Connecticut $l'",
+     "BRAILLE LINE:  'US State test 1 Connecticut $l'",
      "     VISIBLE:  'US State test 1 Connecticut $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 C $l'",
      "     VISIBLE:  'US State test 1 C $l', cursor=0",
@@ -166,13 +147,10 @@
      "     VISIBLE:  'US State test 1 Colorado $l', cursor=0",
      "BRAILLE LINE:  'â Colorado ListItem'",
      "     VISIBLE:  'â Colorado ListItem', cursor=1",
-     "BRAILLE LINE:  'â US State test 1 Colorado $l'",
-     "     VISIBLE:  'â US State test 1 Colorado $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 Colorado $l'",
-     "     VISIBLE:  'â US State test 1 Colorado $l', cursor=0",
+     "BRAILLE LINE:  'US State test 1 Colorado $l'",
+     "     VISIBLE:  'US State test 1 Colorado $l', cursor=0",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'â Colorado'",
-     "SPEECH OUTPUT: 'â US State test 1 text Colorado selected'",
      "SPEECH OUTPUT: 'Colorado'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -180,7 +158,7 @@
 sequence.append(utils.AssertPresentationAction(
     "2. Up Arrow", 
     ["BUG? - Too verbose",
-    "BRAILLE LINE:  'US State test 1 Colorado $l'",
+     "BRAILLE LINE:  'US State test 1 Colorado $l'",
      "     VISIBLE:  'US State test 1 Colorado $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 C $l'",
      "     VISIBLE:  'US State test 1 C $l', cursor=0",
@@ -188,13 +166,10 @@
      "     VISIBLE:  'â US State test 1 California $l', cursor=29",
      "BRAILLE LINE:  'â California ListItem'",
      "     VISIBLE:  'â California ListItem', cursor=1",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
+     "BRAILLE LINE:  'US State test 1 California $l'",
+     "     VISIBLE:  'US State test 1 California $l', cursor=0",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'â California'",
-     "SPEECH OUTPUT: 'â US State test 1 text California selected'",
      "SPEECH OUTPUT: 'California'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -202,18 +177,12 @@
 sequence.append(utils.AssertPresentationAction(
     "3. Up Arrow", 
     ["BUG? - Too verbose",
-    "BRAILLE LINE:  'US State test 1 California $l'",
+     "BRAILLE LINE:  'US State test 1 California $l'",
      "     VISIBLE:  'US State test 1 California $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 C $l'",
      "     VISIBLE:  'US State test 1 C $l', cursor=0",
      "BRAILLE LINE:  'US State test 1 California $l'",
-     "     VISIBLE:  'US State test 1 California $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
-     "BRAILLE LINE:  'â US State test 1 California $l'",
-     "     VISIBLE:  'â US State test 1 California $l', cursor=0",
-     "SPEECH OUTPUT: 'â US State test 1 text California selected'",
-     "SPEECH OUTPUT: 'California'"]))
+     "     VISIBLE:  'US State test 1 California $l', cursor=0"]))
 
 ########################################################################
 # Do a basic "Where Am I" via KP_Enter.  
@@ -224,7 +193,7 @@
 sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I - Combo box expanded", 
     ["BUG? - No indication that this is a combo box",
-    "BRAILLE LINE:  'US State test 1 California $l'",
+     "BRAILLE LINE:  'US State test 1 California $l'",
      "     VISIBLE:  'US State test 1 California $l', cursor=0",
      "SPEECH OUTPUT: 'US State test 1'",
      "SPEECH OUTPUT: 'text'",



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