orca r3642 - in trunk: . test/harness test/keystrokes/firefox



Author: shaeger
Date: Tue Feb 26 18:17:02 2008
New Revision: 3642
URL: http://svn.gnome.org/viewvc/orca?rev=3642&view=rev

Log:
Updated ARIA regression tests.


Modified:
   trunk/ChangeLog
   trunk/test/harness/utils.py
   trunk/test/keystrokes/firefox/dojo_checkbox.py
   trunk/test/keystrokes/firefox/dojo_dialog.py
   trunk/test/keystrokes/firefox/dojo_slider.py
   trunk/test/keystrokes/firefox/dojo_spinner.py
   trunk/test/keystrokes/firefox/moz_checkbox.py
   trunk/test/keystrokes/firefox/uiuc_grid.py
   trunk/test/keystrokes/firefox/uiuc_tree.py

Modified: trunk/test/harness/utils.py
==============================================================================
--- trunk/test/harness/utils.py	(original)
+++ trunk/test/harness/utils.py	Tue Feb 26 18:17:02 2008
@@ -5,9 +5,9 @@
 
 # Where to find Dojo tests.
 #
-DojoURLPrefix="http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/";
-#DojoURLPrefix="http://localhost/apache2-default/dojo-release-1.0.0/dijit/tests/";
-#DojoURLPrefix="http://bashautomation.com/dojo-release-1.0.0/dijit/tests/";
+#DojoURLPrefix="http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/";
+#DojoURLPrefix="http://localhost/apache2-default/dojo-release-1.1.0b2/dijit/tests/";
+DojoURLPrefix="http://bashautomation.com/dojo-release-1.1.0b2/dijit/tests/";
 # Where to find our local HTML tests.
 #
 import sys, os

Modified: trunk/test/keystrokes/firefox/dojo_checkbox.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_checkbox.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_checkbox.py	Tue Feb 26 18:17:02 2008
@@ -83,7 +83,7 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "Tab to the cb2 checkbox", 
-    ["BRAILLE LINE:  '<x> CheckBox cb2: normal checkbox, initially turned on.  \"onChange\" handler updates: [true] '",
+    ["BRAILLE LINE:  '<x> CheckBox cb2: normal checkbox, initially turned on.  \"onChange\" handler updates: [] '",
      "     VISIBLE:  '<x> CheckBox cb2: normal checkbo', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'cb2: normal checkbox, initially turned on. check box checked'"]))
@@ -119,7 +119,7 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "Tab to the cb7 checkbox", 
-    ["BRAILLE LINE:  '< > CheckBox cb7: normal checkbox. disable Button enable Button set value to \"fish\" Button  \"onChange\" handler updates: [false] '",
+    ["BRAILLE LINE:  '< > CheckBox cb7: normal checkbox. disable Button enable Button set value to \"fish\" Button Reset value+checked Button  \"onChange\" handler updates: [] '",
      "     VISIBLE:  '< > CheckBox cb7: normal checkbo', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'cb7: normal checkbox. check box not checked'"]))
@@ -139,7 +139,7 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I", 
-    ["BRAILLE LINE:  '< > CheckBox cb7: normal checkbox. disable Button enable Button set value to \"fish\" Button  \"onChange\" handler updates: [false] '",
+    ["BRAILLE LINE:  '< > CheckBox cb7: normal checkbox. disable Button enable Button set value to \"fish\" Button Reset value+checked Button  \"onChange\" handler updates: [] '",
      "     VISIBLE:  '< > CheckBox cb7: normal checkbo', cursor=1",
      "SPEECH OUTPUT: 'cb7: normal checkbox. check box not checked'",
      "SPEECH OUTPUT: ''"]))

Modified: trunk/test/keystrokes/firefox/dojo_dialog.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_dialog.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_dialog.py	Tue Feb 26 18:17:02 2008
@@ -35,25 +35,50 @@
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
-    "Tab to show dialog", 
+    "Tab to show dialog button", 
     ["BRAILLE LINE:  'Show Dialog    Button'",
      "     VISIBLE:  'Show Dialog    Button', cursor=1",
      "SPEECH OUTPUT: ''",
      "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    Butt', 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    Butt', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Show Dialog    button'"]))
+     "SPEECH OUTPUT: 'Show TabContainer Dialog    button'"]))
 
 ########################################################################
 # Close the demo

Modified: trunk/test/keystrokes/firefox/dojo_slider.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_slider.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_slider.py	Tue Feb 26 18:17:02 2008
@@ -207,7 +207,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: trunk/test/keystrokes/firefox/dojo_spinner.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_spinner.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_spinner.py	Tue Feb 26 18:17:02 2008
@@ -31,7 +31,7 @@
 
 ########################################################################
 # Tab to the first spinner.  
-#
+# [[[Bug?: "Form" addition in Braille.  below are expected results]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(

Modified: trunk/test/keystrokes/firefox/moz_checkbox.py
==============================================================================
--- trunk/test/keystrokes/firefox/moz_checkbox.py	(original)
+++ trunk/test/keystrokes/firefox/moz_checkbox.py	Tue Feb 26 18:17:02 2008
@@ -26,7 +26,7 @@
 
 ########################################################################
 # Tab to the first checkbox.
-#
+# [[[Bug?: repeated Braille.  below are expected results]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(

Modified: trunk/test/keystrokes/firefox/uiuc_grid.py
==============================================================================
--- trunk/test/keystrokes/firefox/uiuc_grid.py	(original)
+++ trunk/test/keystrokes/firefox/uiuc_grid.py	Tue Feb 26 18:17:02 2008
@@ -31,8 +31,8 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "Tab to grid", 
-    ["BRAILLE LINE:  'E-mail List Sorted by Date $l Sel $l'",
-     "     VISIBLE:  'E-mail List Sorted by Date $l Se', cursor=0",
+    ["BRAILLE LINE:  'E-mail List Sorted by Date Caption Sel $l'",
+     "     VISIBLE:  'E-mail List Sorted by Date Capti', cursor=0",
      "BRAILLE LINE:  '< > Email 0 Selected CheckBox 1 Cell Read message Image Attachment Image Lowest priority Image John Smith Cell Trip to Florida Cell 2007-10-03 Cell 2K Cell'",
      "     VISIBLE:  '< > Email 0 Selected CheckBox 1 ', cursor=1",
      "BRAILLE LINE:  '< > Email 0 Selected CheckBox 1 Cell Read message Image Attachment Image Lowest priority Image John Smith Cell Trip to Florida Cell 2007-10-03 Cell 2K Cell'",

Modified: trunk/test/keystrokes/firefox/uiuc_tree.py
==============================================================================
--- trunk/test/keystrokes/firefox/uiuc_tree.py	(original)
+++ trunk/test/keystrokes/firefox/uiuc_tree.py	Tue Feb 26 18:17:02 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))
@@ -191,6 +191,7 @@
      "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(



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