orca r3671 - in branches/gnome-2-22: . test/keystrokes/firefox



Author: shaeger
Date: Sun Mar  2 03:36:43 2008
New Revision: 3671
URL: http://svn.gnome.org/viewvc/orca?rev=3671&view=rev

Log:
Updated ARIA regression tests.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/test/keystrokes/firefox/dojo_dialog.py
   branches/gnome-2-22/test/keystrokes/firefox/dojo_slider.py
   branches/gnome-2-22/test/keystrokes/firefox/dojo_spinner.py
   branches/gnome-2-22/test/keystrokes/firefox/dojo_tree.py
   branches/gnome-2-22/test/keystrokes/firefox/moz_checkbox.py
   branches/gnome-2-22/test/keystrokes/firefox/moz_menu.py
   branches/gnome-2-22/test/keystrokes/firefox/moz_tabpanel.py
   branches/gnome-2-22/test/keystrokes/firefox/uiuc_button.py
   branches/gnome-2-22/test/keystrokes/firefox/uiuc_tree.py

Modified: branches/gnome-2-22/test/keystrokes/firefox/dojo_dialog.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/dojo_dialog.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/dojo_dialog.py	Sun Mar  2 03:36:43 2008
@@ -35,25 +35,50 @@
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
-    "Tab to show dialog", 
-    ["BRAILLE LINE:  'Show Dialog    Button'",
-     "     VISIBLE:  'Show Dialog    Button', cursor=1",
+    "Tab to show dialog button", 
+    ["BRAILLE LINE:  'Show Dialog Button'",
+     "     VISIBLE:  'Show Dialog Button', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Show Dialog    button'"]))
+     "SPEECH OUTPUT: 'Show Dialog button'"]))
+     
+########################################################################
+# Tab to the programatic dialog button.  
+#
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "Tab to programatic dialog button", 
+    ["BRAILLE LINE:  'Programatic Dialog (3 second delay) Button'",
+     "     VISIBLE:  'Programatic Dialog (3 second del', cursor=1",
+     "SPEECH OUTPUT: ''",
+     "SPEECH OUTPUT: 'Programatic Dialog (3 second delay) button'"]))
+     
+########################################################################
+# Tab to the show dialog button.  
+#
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "Tab to tabcontainer dialog button", 
+    ["BRAILLE LINE:  'Show TabContainer Dialog Button'",
+     "     VISIBLE:  'Show TabContainer Dialog Button', cursor=1",
+     "SPEECH OUTPUT: ''",
+     "SPEECH OUTPUT: 'Show TabContainer Dialog button'"]))
 
 ########################################################################
 # Launch the dialog  
 #
-# [[[Bug?: Braille output may not be correct.]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Return"))
-sequence.append(WaitForFocus("Name:", acc_role=pyatspi.ROLE_ENTRY))
+sequence.append(WaitForFocus("First tab", acc_role=pyatspi.ROLE_PAGE_TAB))
 sequence.append(utils.AssertPresentationAction(
-    "Launch first dialog", 
-    ["BRAILLE LINE:  'Name: Name:   $l'",
-     "     VISIBLE:  'Name: Name:   $l', cursor=14",
-     "SPEECH OUTPUT: 'First Dialog dialog'",
-     "SPEECH OUTPUT: 'Name:  text '"]))
+    "Launch dialog", 
+    ["BRAILLE LINE:  'TabList First tab Page Second tab Page'",
+     "     VISIBLE:  'First tab Page Second tab Page', cursor=1",
+     "BRAILLE LINE:  'TabList First tab Page Second tab Page'",
+     "     VISIBLE:  'First tab Page Second tab Page', cursor=1",
+     "SPEECH OUTPUT: 'TabContainer Dialog dialog'",
+     "SPEECH OUTPUT: 'First tab page'"]))
 
 ########################################################################
 # Do a basic "Where Am I" via KP_Enter.  
@@ -64,23 +89,25 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "Basic whereAmI", 
-    ["BRAILLE LINE:  'Name: Name:   $l'",
-     "     VISIBLE:  'Name: Name:   $l', cursor=14",
-     "SPEECH OUTPUT: 'Name:  Name:'",
-     "SPEECH OUTPUT: 'text'"]))
+    ["BRAILLE LINE:  'TabList First tab Page Second tab Page'",
+     "     VISIBLE:  'First tab Page Second tab Page', cursor=1",
+     "SPEECH OUTPUT: 'tab list'",
+     "SPEECH OUTPUT: 'First tab page'",
+     "SPEECH OUTPUT: 'item 1 of 2'",
+     "SPEECH OUTPUT: ''"]))
 
 ########################################################################
 # Close the dialog, focus goes back to button.  
 #
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Escape"))
-sequence.append(WaitForFocus("Show Dialog", acc_role=pyatspi.ROLE_PUSH_BUTTON))
+sequence.append(WaitForFocus("Show TabContainer Dialog", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
-    "close first dialog", 
-    ["BRAILLE LINE:  'Show Dialog    Button'",
-     "     VISIBLE:  'Show Dialog    Button', cursor=1",
+    "close dialog", 
+    ["BRAILLE LINE:  'Show TabContainer Dialog Button'",
+     "     VISIBLE:  'Show TabContainer Dialog Button', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Show Dialog    button'"]))
+     "SPEECH OUTPUT: 'Show TabContainer Dialog button'"]))
 
 ########################################################################
 # Close the demo

Modified: branches/gnome-2-22/test/keystrokes/firefox/dojo_slider.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/dojo_slider.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/dojo_slider.py	Sun Mar  2 03:36:43 2008
@@ -198,7 +198,8 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "move to entry", 
-    ["BRAILLE LINE:  '10.0% $l Slider1 Value: 10.0% $l  '",
+    ["[[Bug: labeling problem]]",
+    "BRAILLE LINE:  '10.0% $l Slider1 Value: 10.0% $l  '",
      "     VISIBLE:  '10.0% $l  ', cursor=6",
      "BRAILLE LINE:  '10.0% $l Slider1 Value: 10.0% $l  '",
      "     VISIBLE:  '10.0% $l  ', cursor=6",
@@ -207,7 +208,7 @@
      
 ########################################################################
 # Tab to the button between the sliders.  
-#
+# [[[Bug?: whitespace.  below are expected results]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(

Modified: branches/gnome-2-22/test/keystrokes/firefox/dojo_spinner.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/dojo_spinner.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/dojo_spinner.py	Sun Mar  2 03:36:43 2008
@@ -31,12 +31,13 @@
 
 ########################################################################
 # Tab to the first spinner.  
-#
+# 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "Tab to the first spinner", 
-    ["BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l'",
+    ["[[[Bug?: \"Form\" addition in Braille.]]]",
+     "BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l'",
      "     VISIBLE:  'Spinbox #1:  900 $l not fired ye', cursor=17",
      "BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l'",
      "     VISIBLE:  'Spinbox #1:  900 $l not fired ye', cursor=17",

Modified: branches/gnome-2-22/test/keystrokes/firefox/dojo_tree.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/dojo_tree.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/dojo_tree.py	Sun Mar  2 03:36:43 2008
@@ -39,6 +39,8 @@
     "tab to continents", 
     ["BRAILLE LINE:  'Continents ListItem'",
      "     VISIBLE:  'Continents ListItem', cursor=1",
+     "BRAILLE LINE:  'Continents ListItem'",
+     "     VISIBLE:  'Continents ListItem', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Continents list item expanded'",
      "SPEECH OUTPUT: 'tree level 1'"]))
@@ -64,7 +66,8 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "basic whereAmI", 
-    ["BRAILLE LINE:  'Africa ListItem'",
+    ["[[[Bug: no item # of #]]]",
+     "BRAILLE LINE:  'Africa ListItem'",
      "     VISIBLE:  'Africa ListItem', cursor=1",
      "SPEECH OUTPUT: 'list item'",
      "SPEECH OUTPUT: 'Africa'",

Modified: branches/gnome-2-22/test/keystrokes/firefox/moz_checkbox.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/moz_checkbox.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/moz_checkbox.py	Sun Mar  2 03:36:43 2008
@@ -26,15 +26,17 @@
 
 ########################################################################
 # Tab to the first checkbox.
-#
+# [[[Bug?: repeated Braille.  below are expected results]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "tab to first checkbox", 
-    ["BRAILLE LINE:  '<x>  Include decorative fruit basket  CheckBox'",
-     "     VISIBLE:  '<x>  Include decorative fruit ba', cursor=1",
+    ["BRAILLE LINE:  '<x> Include decorative fruit basket CheckBox'",
+     "     VISIBLE:  '<x> Include decorative fruit bas', cursor=1",
+     "BRAILLE LINE:  '<x> Include decorative fruit basket CheckBox'",
+     "     VISIBLE:  '<x> Include decorative fruit bas', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: ' Include decorative fruit basket  check box checked'"]))
+     "SPEECH OUTPUT: 'Include decorative fruit basket check box checked'"]))
 
 ########################################################################
 # Now, change its state.
@@ -43,8 +45,8 @@
 sequence.append(TypeAction(" "))
 sequence.append(utils.AssertPresentationAction(
     "change state of first checkbox", 
-    ["BRAILLE LINE:  '< >  Include decorative fruit basket  CheckBox'",
-     "     VISIBLE:  '< >  Include decorative fruit ba', cursor=1",
+    ["BRAILLE LINE:  '< > Include decorative fruit basket CheckBox'",
+     "     VISIBLE:  '< > Include decorative fruit bas', cursor=1",
      "SPEECH OUTPUT: 'not checked'"]))
 
 ########################################################################
@@ -54,10 +56,12 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "tab to second checkbox", 
-    ["BRAILLE LINE:  '<x>  Invalid checkbox  CheckBox'",
-     "     VISIBLE:  '<x>  Invalid checkbox  CheckBox', cursor=1",
+    ["BRAILLE LINE:  '<x> Invalid checkbox CheckBox'",
+     "     VISIBLE:  '<x> Invalid checkbox CheckBox', cursor=1",
+     "BRAILLE LINE:  '<x> Invalid checkbox CheckBox'",
+     "     VISIBLE:  '<x> Invalid checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: ' Invalid checkbox  check box checked'"]))
+     "SPEECH OUTPUT: 'Invalid checkbox check box checked'"]))
 ########################################################################
 # Now, change its state.
 #
@@ -65,8 +69,8 @@
 sequence.append(TypeAction(" "))
 sequence.append(utils.AssertPresentationAction(
     "change state of second checkbox", 
-    ["BRAILLE LINE:  '< >  Invalid checkbox  CheckBox'",
-     "     VISIBLE:  '< >  Invalid checkbox  CheckBox', cursor=1",
+    ["BRAILLE LINE:  '< > Invalid checkbox CheckBox'",
+     "     VISIBLE:  '< > Invalid checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: 'not checked'"]))
 
 ########################################################################
@@ -76,10 +80,12 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "tab to third checkbox", 
-    ["BRAILLE LINE:  '<x>  Required checkbox  CheckBox'",
-     "     VISIBLE:  '<x>  Required checkbox  CheckBox', cursor=1",
+    ["BRAILLE LINE:  '<x> Required checkbox CheckBox'",
+     "     VISIBLE:  '<x> Required checkbox CheckBox', cursor=1",
+     "BRAILLE LINE:  '<x> Required checkbox CheckBox'",
+     "     VISIBLE:  '<x> Required checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: ' Required checkbox  check box checked'"]))
+     "SPEECH OUTPUT: 'Required checkbox check box checked'"]))
     
 ########################################################################
 # Now, change its state.
@@ -88,8 +94,8 @@
 sequence.append(TypeAction(" "))
 sequence.append(utils.AssertPresentationAction(
     "change state of third checkbox", 
-    ["BRAILLE LINE:  '< >  Required checkbox  CheckBox'",
-     "     VISIBLE:  '< >  Required checkbox  CheckBox', cursor=1",
+    ["BRAILLE LINE:  '< > Required checkbox CheckBox'",
+     "     VISIBLE:  '< > Required checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: 'not checked'"]))
 
 ########################################################################
@@ -99,8 +105,8 @@
 sequence.append(TypeAction(" "))
 sequence.append(utils.AssertPresentationAction(
     "change state of third checkbox again", 
-    ["BRAILLE LINE:  '<x>  Required checkbox  CheckBox'",
-     "     VISIBLE:  '<x>  Required checkbox  CheckBox', cursor=1",
+    ["BRAILLE LINE:  '<x> Required checkbox CheckBox'",
+     "     VISIBLE:  '<x> Required checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: 'checked'"]))
 
 ########################################################################
@@ -111,8 +117,8 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "basic whereAmI", 
-    ["BRAILLE LINE:  '<x>  Required checkbox  CheckBox'",
-     "     VISIBLE:  '<x>  Required checkbox  CheckBox', cursor=1",
+    ["BRAILLE LINE:  '<x> Required checkbox CheckBox'",
+     "     VISIBLE:  '<x> Required checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: 'Required checkbox check box checked'",
      "SPEECH OUTPUT: ''"]))
      
@@ -123,10 +129,12 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "tab to checkbox tristate", 
-    ["BRAILLE LINE:  '<x>  Tri-state checkbox  CheckBox'",
-     "     VISIBLE:  '<x>  Tri-state checkbox  CheckBo', cursor=1",
+    ["BRAILLE LINE:  '<x> Tri-state checkbox CheckBox'",
+     "     VISIBLE:  '<x> Tri-state checkbox CheckBox', cursor=1",
+     "BRAILLE LINE:  '<x> Tri-state checkbox CheckBox'",
+     "     VISIBLE:  '<x> Tri-state checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: ' Tri-state checkbox  check box checked'"]))
+     "SPEECH OUTPUT: 'Tri-state checkbox check box checked'"]))
     
 ########################################################################
 # change checkbox tristate state three times
@@ -135,24 +143,24 @@
 sequence.append(TypeAction(" "))
 sequence.append(utils.AssertPresentationAction(
     "1 change state of tristate checkbox", 
-    ["BRAILLE LINE:  '< >  Tri-state checkbox  CheckBox'",
-     "     VISIBLE:  '< >  Tri-state checkbox  CheckBo', cursor=1",
+    ["BRAILLE LINE:  '< > Tri-state checkbox CheckBox'",
+     "     VISIBLE:  '< > Tri-state checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: 'not checked'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(TypeAction(" "))
 sequence.append(utils.AssertPresentationAction(
     "2 change state of tristate checkbox", 
-    ["BRAILLE LINE:  '<->  Tri-state checkbox  CheckBox'",
-     "     VISIBLE:  '<->  Tri-state checkbox  CheckBo', cursor=1",
+    ["BRAILLE LINE:  '<-> Tri-state checkbox CheckBox'",
+     "     VISIBLE:  '<-> Tri-state checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: 'partially checked'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(TypeAction(" "))
 sequence.append(utils.AssertPresentationAction(
     "3 change state of tristate checkbox", 
-    ["BRAILLE LINE:  '<x>  Tri-state checkbox  CheckBox'",
-     "     VISIBLE:  '<x>  Tri-state checkbox  CheckBo', cursor=1",
+    ["BRAILLE LINE:  '<x> Tri-state checkbox CheckBox'",
+     "     VISIBLE:  '<x> Tri-state checkbox CheckBox', cursor=1",
      "SPEECH OUTPUT: 'checked'"]))
 
 ########################################################################

Modified: branches/gnome-2-22/test/keystrokes/firefox/moz_menu.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/moz_menu.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/moz_menu.py	Sun Mar  2 03:36:43 2008
@@ -71,7 +71,8 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "Move to Themes", 
-    ["BRAILLE LINE:  'Themes ÂÂ Â ÂÂ Â> Themes ÂÂ Â ÂÂ Â>'",
+    ["[[[Bug: not a bug]]]",
+     "BRAILLE LINE:  'Themes ÂÂ Â ÂÂ Â> Themes ÂÂ Â ÂÂ Â>'",
      "     VISIBLE:  'Themes ÂÂ Â ÂÂ Â> Themes ï', cursor=0",
      "BRAILLE LINE:  'Themes ÂÂ Â ÂÂ Â>'",
      "     VISIBLE:  'Themes ÂÂ Â ÂÂ Â>', cursor=1",
@@ -84,14 +85,14 @@
 sequence.append(KeyComboAction("Right"))
 sequence.append(utils.AssertPresentationAction(
     "Move to basic grey", 
-    ["BRAILLE LINE:  'Basic Grey '",
-     "     VISIBLE:  'Basic Grey ', cursor=0",
-     "BRAILLE LINE:  'Basic Grey '",
-     "     VISIBLE:  'Basic Grey ', cursor=1",
+    ["BRAILLE LINE:  'Basic Grey'",
+     "     VISIBLE:  'Basic Grey', cursor=0",
+     "BRAILLE LINE:  'Basic Grey'",
+     "     VISIBLE:  'Basic Grey', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'menu'",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Basic Grey '"]))
+     "SPEECH OUTPUT: 'Basic Grey'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))
@@ -124,10 +125,10 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "Move to rose", 
-    ["BRAILLE LINE:  'Rose '",
-     "     VISIBLE:  'Rose ', cursor=1",
+    ["BRAILLE LINE:  'Rose'",
+     "     VISIBLE:  'Rose', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Rose '"]))
+     "SPEECH OUTPUT: 'Rose'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Left"))
@@ -169,14 +170,14 @@
 sequence.append(KeyComboAction("Right"))
 sequence.append(utils.AssertPresentationAction(
     "Move to one", 
-    ["BRAILLE LINE:  'one '",
-     "     VISIBLE:  'one ', cursor=0",
-     "BRAILLE LINE:  'one '",
-     "     VISIBLE:  'one ', cursor=1",
+    ["BRAILLE LINE:  'one'",
+     "     VISIBLE:  'one', cursor=0",
+     "BRAILLE LINE:  'one'",
+     "     VISIBLE:  'one', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'menu'",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'one '"]))
+     "SPEECH OUTPUT: 'one'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))

Modified: branches/gnome-2-22/test/keystrokes/firefox/moz_tabpanel.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/moz_tabpanel.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/moz_tabpanel.py	Sun Mar  2 03:36:43 2008
@@ -38,8 +38,8 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "basic whereAmI", 
-    [ "BRAILLE LINE:  'Tab Zero  Page Tab One  Page Tab Two  Page Tab Three  Page Tab Four  Page'",
-     "     VISIBLE:  'Tab Zero  Page Tab One  Page Tab', cursor=1",
+    [ "BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page'",
+     "     VISIBLE:  'Tab Zero Page Tab One Page Tab T', cursor=1",
      "SPEECH OUTPUT: 'tab list'",
      "SPEECH OUTPUT: 'Tab Zero page'",
      "SPEECH OUTPUT: 'item 1 of 5'",
@@ -52,10 +52,10 @@
 sequence.append(KeyComboAction("Right"))
 sequence.append(utils.AssertPresentationAction(
     "arrow to tab 2", 
-    ["BRAILLE LINE:  'Tab Zero  Page Tab One  Page Tab Two  Page Tab Three  Page Tab Four  Page Tab Zero  Tab Zero ScrollPane'",
-     "     VISIBLE:  'Tab One  Page Tab Two  Page Tab ', cursor=1",
+    ["BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page Tab Zero  Tab Zero ScrollPane'",
+     "     VISIBLE:  'Tab One Page Tab Two Page Tab Th', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Tab One  page'"]))
+     "SPEECH OUTPUT: 'Tab One page'"]))
 ########################################################################
 # Move to tab 3
 #
@@ -63,10 +63,10 @@
 sequence.append(KeyComboAction("Right"))
 sequence.append(utils.AssertPresentationAction(
     "arrow to tab 3", 
-    [ "BRAILLE LINE:  'Tab Zero  Page Tab One  Page Tab Two  Page Tab Three  Page Tab Four  Page Tab One  Tab One ScrollPane'",
-     "     VISIBLE:  'Tab Two  Page Tab Three  Page Ta', cursor=1",
+    [ "BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page Tab One  Tab One ScrollPane'",
+     "     VISIBLE:  'Tab Two Page Tab Three Page Tab ', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Tab Two  page'"]))
+     "SPEECH OUTPUT: 'Tab Two page'"]))
 ########################################################################
 # Move to tab 3 contents
 #
@@ -86,12 +86,12 @@
 sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
 sequence.append(utils.AssertPresentationAction(
     "move back to tab 3", 
-    ["BRAILLE LINE:  'Tab Zero  Page Tab One  Page Tab Two  Page Tab Three  Page Tab Four  Page'",
-     "     VISIBLE:  'Tab Two  Page Tab Three  Page Ta', cursor=1",
-     "BRAILLE LINE:  'Tab Zero  Page Tab One  Page Tab Two  Page Tab Three  Page Tab Four  Page'",
-     "     VISIBLE:  'Tab Two  Page Tab Three  Page Ta', cursor=1",
+    ["BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page'",
+     "     VISIBLE:  'Tab Two Page Tab Three Page Tab ', cursor=1",
+     "BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page'",
+     "     VISIBLE:  'Tab Two Page Tab Three Page Tab ', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Tab Two  page'"]))
+     "SPEECH OUTPUT: 'Tab Two page'"]))
 ########################################################################
 # Move to tab 4
 #
@@ -99,10 +99,10 @@
 sequence.append(KeyComboAction("Right"))
 sequence.append(utils.AssertPresentationAction(
     "arrow to tab 4", 
-    ["BRAILLE LINE:  'Tab Zero  Page Tab One  Page Tab Two  Page Tab Three  Page Tab Four  Page Tab Two  Tab Two ScrollPane'",
-     "     VISIBLE:  'Tab Three  Page Tab Four  Page T', cursor=1",
+    ["BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page Tab Two  Tab Two ScrollPane'",
+     "     VISIBLE:  'Tab Three Page Tab Four Page Tab', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Tab Three  page'"]))
+     "SPEECH OUTPUT: 'Tab Three page'"]))
 ########################################################################
 # Move to tab 5
 #
@@ -110,10 +110,10 @@
 sequence.append(KeyComboAction("Right"))
 sequence.append(utils.AssertPresentationAction(
     "arrow to tab 5", 
-    ["BRAILLE LINE:  'Tab Zero  Page Tab One  Page Tab Two  Page Tab Three  Page Tab Four  Page'",
-     "     VISIBLE:  'Tab Four  Page', cursor=1",
+    ["BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page'",
+     "     VISIBLE:  'Tab Four Page', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Tab Four  page'"]))
+     "SPEECH OUTPUT: 'Tab Four page'"]))
 ########################################################################
 # Close the demo
 #

Modified: branches/gnome-2-22/test/keystrokes/firefox/uiuc_button.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/uiuc_button.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/uiuc_button.py	Sun Mar  2 03:36:43 2008
@@ -31,10 +31,10 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "tab to first button", 
-    ["BRAILLE LINE:  '& y Font Larger + ToggleButton & y Font Smaller - ToggleButton & y Italic i ToggleButton & y Bold B ToggleButton'",
-     "     VISIBLE:  '& y Font Larger + ToggleButton &', cursor=1",
-     "BRAILLE LINE:  '& y Font Larger + ToggleButton & y Font Smaller - ToggleButton & y Italic i ToggleButton & y Bold B ToggleButton'",
-     "     VISIBLE:  '& y Font Larger + ToggleButton &', cursor=1",
+    ["BRAILLE LINE:  '& y Font Larger + ToggleButton'",
+     "     VISIBLE:  '& y Font Larger + ToggleButton', cursor=1",
+     "BRAILLE LINE:  '& y Font Larger + ToggleButton'",
+     "     VISIBLE:  '& y Font Larger + ToggleButton', cursor=1",
      "SPEECH OUTPUT: 'Text Formating Controls 1 list'",
      "SPEECH OUTPUT: 'Font Larger + toggle button not pressed'"]))
 

Modified: branches/gnome-2-22/test/keystrokes/firefox/uiuc_tree.py
==============================================================================
--- branches/gnome-2-22/test/keystrokes/firefox/uiuc_tree.py	(original)
+++ branches/gnome-2-22/test/keystrokes/firefox/uiuc_tree.py	Sun Mar  2 03:36:43 2008
@@ -26,7 +26,7 @@
 
 ########################################################################
 # Tab to the tree.  
-#
+#[[[Bug?: repeated Braille]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(WaitForFocus("Fruits", acc_role=pyatspi.ROLE_LIST_ITEM))
@@ -36,6 +36,8 @@
      "     VISIBLE:  'Fruits ListItem', cursor=1",
      "BRAILLE LINE:  'Fruits ListItem'",
      "     VISIBLE:  'Fruits ListItem', cursor=1",
+     "BRAILLE LINE:  'Fruits ListItem'",
+     "     VISIBLE:  'Fruits ListItem', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Foods tree'",
      "SPEECH OUTPUT: ''",
@@ -191,11 +193,13 @@
      "SPEECH OUTPUT: 'Vegetables list item expanded'",
      "SPEECH OUTPUT: 'tree level 1'"]))
 
+# [[[Bug?: "Panel list" addition.  below are expected results]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Left"))
 sequence.append(utils.AssertPresentationAction(
     "collapse vegetables", 
-    ["BRAILLE LINE:  'Vegetables ListItem'",
+    ["[[[Bug: list and panel should probably not be output]]]",
+     "BRAILLE LINE:  'Vegetables ListItem'",
      "     VISIBLE:  'Vegetables ListItem', cursor=1",
      "SPEECH OUTPUT: 'collapsed'"]))
 



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