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



Author: joanied
Date: Sat Jun  7 04:30:56 2008
New Revision: 3964
URL: http://svn.gnome.org/viewvc/orca?rev=3964&view=rev

Log:
* test/keystrokes/firefox/dojo_slider.py::
* test/keystrokes/firefox/xul_role_menu_bar.py:
* test/keystrokes/firefox/xul_role_list_item.py:
* test/keystrokes/firefox/uiuc_slider.py:
* test/keystrokes/firefox/xul_role_entry.py:
* test/keystrokes/firefox/html_struct_nav_large_obj.py:
* test/keystrokes/firefox/uiuc_tree.py:
* test/keystrokes/firefox/xul_where_am_i_dialog.py:
* test/keystrokes/firefox/uiuc_grid.py:
* test/keystrokes/firefox/moz_tabpanel.py:
* test/keystrokes/firefox/xul_role_push_button.py:
  Updated regression tests.



Modified:
   trunk/ChangeLog
   trunk/test/keystrokes/firefox/dojo_slider.py
   trunk/test/keystrokes/firefox/html_struct_nav_large_obj.py
   trunk/test/keystrokes/firefox/moz_tabpanel.py
   trunk/test/keystrokes/firefox/uiuc_grid.py
   trunk/test/keystrokes/firefox/uiuc_slider.py
   trunk/test/keystrokes/firefox/uiuc_tree.py
   trunk/test/keystrokes/firefox/xul_role_entry.py
   trunk/test/keystrokes/firefox/xul_role_list_item.py
   trunk/test/keystrokes/firefox/xul_role_menu_bar.py
   trunk/test/keystrokes/firefox/xul_role_push_button.py
   trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py

Modified: trunk/test/keystrokes/firefox/dojo_slider.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_slider.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_slider.py	Sat Jun  7 04:30:56 2008
@@ -199,13 +199,14 @@
 sequence.append(PauseAction(1000))
 sequence.append(utils.AssertPresentationAction(
     "move to entry", 
-    ["BUG? - We're not guessing the label",
+    ["BUG? - We're guessing other text in addition to the label",
      "BRAILLE LINE:  'Slider1 Value: 10.0% $l'",
      "     VISIBLE:  'Slider1 Value: 10.0% $l', cursor=21",
      "BRAILLE LINE:  'Slider1 Value: 10.0% $l'",
      "     VISIBLE:  'Slider1 Value: 10.0% $l', cursor=21",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'text 10.0%'"]))
+     "SPEECH OUTPUT: 'initial value=10, min=0, max=100, pageIncrement=100, onChange event triggers input box value change immediately",
+     "Slider1 Value: text 10.0%'"]))
      
 ########################################################################
 # Tab to the button between the sliders.  

Modified: trunk/test/keystrokes/firefox/html_struct_nav_large_obj.py
==============================================================================
--- trunk/test/keystrokes/firefox/html_struct_nav_large_obj.py	(original)
+++ trunk/test/keystrokes/firefox/html_struct_nav_large_obj.py	Sat Jun  7 04:30:56 2008
@@ -124,22 +124,37 @@
      "the beauty of the world, the paragon of animals!'"]))
 
 ########################################################################
-# Navigate to the next 'large chunk'.  It is the 2nd paragraph under 'From 
-# Wislawa Szymborska - 1972'  The following will be presented.
+# Navigate to the next 'large chunk'.  
 #
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("o"))
 sequence.append(utils.AssertPresentationAction(
     "Fourth large chunk", 
-    ["BRAILLE LINE:  'I know how to cope with misfortune,'",
-     "     VISIBLE:  'I know how to cope with misfortu', cursor=1",
-     "SPEECH OUTPUT: 'I know how to cope with misfortune, ",
+    ["BRAILLE LINE:  'I am a tranquilizer.'",
+     "     VISIBLE:  'I am a tranquilizer.', cursor=1",
+     "SPEECH OUTPUT: 'I am a tranquilizer.",
+     "I am effective at home, ",
+     "I work well at the office, ",
+     "I take exams, ",
+     "I appear in court, ",
+     "I carefully mend broken crockery - ",
+     "all you need do is take me, ",
+     "dissolve me under the tongue, ",
+     "all you need do is swallow me, ",
+     "just wash me down with water. I know how to cope with misfortune, ",
      "how to endure bad news, ",
      "take the edge of injustice, ",
      "make up for the absence of God, ",
      "help pick out your widow's weeds. ",
      "What are you waiting for - ",
-     "have faith in chemistry's compassion.'"]))
+     "have faith in chemistry's compassion. You're still a young man/woman, ",
+     "you really should settle down somehow. ",
+     "Who said ",
+     "life must be lived courageously? Hand your abyss over to me - ",
+     "I will line it up with soft sleep, ",
+     "you'll be grateful for ",
+     "the four-footed landing. Sell me your soul. ",
+     "There's no other buyer likely to turn up.'"]))
 
 ########################################################################
 # Navigate to the previous 'large chunk'.  It is the 3rd paragraph under 'From 

Modified: trunk/test/keystrokes/firefox/moz_tabpanel.py
==============================================================================
--- trunk/test/keystrokes/firefox/moz_tabpanel.py	(original)
+++ trunk/test/keystrokes/firefox/moz_tabpanel.py	Sat Jun  7 04:30:56 2008
@@ -52,7 +52,7 @@
 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'",
+    ["BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page Tab Zero Page'",
      "     VISIBLE:  'Tab One Page Tab Two Page Tab Th', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Tab One page'"]))
@@ -63,7 +63,7 @@
 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'",
+    [ "BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page Tab One Page'",
      "     VISIBLE:  'Tab Two Page Tab Three Page Tab ', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Tab Two page'"]))
@@ -99,7 +99,7 @@
 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'",
+    ["BRAILLE LINE:  'Tab Zero Page Tab One Page Tab Two Page Tab Three Page Tab Four Page Tab Two Page'",
      "     VISIBLE:  'Tab Three Page Tab Four Page Tab', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Tab Three page'"]))

Modified: trunk/test/keystrokes/firefox/uiuc_grid.py
==============================================================================
--- trunk/test/keystrokes/firefox/uiuc_grid.py	(original)
+++ trunk/test/keystrokes/firefox/uiuc_grid.py	Sat Jun  7 04:30:56 2008
@@ -36,6 +36,8 @@
      "     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'",
+     "     VISIBLE:  '< > Email 0 Selected CheckBox 1 ', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'E-mail List Sorted by Date table'",
      "SPEECH OUTPUT: ''",

Modified: trunk/test/keystrokes/firefox/uiuc_slider.py
==============================================================================
--- trunk/test/keystrokes/firefox/uiuc_slider.py	(original)
+++ trunk/test/keystrokes/firefox/uiuc_slider.py	Sat Jun  7 04:30:56 2008
@@ -63,6 +63,7 @@
      "     VISIBLE:  'Slider Control 1 51 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 1 51 Slider'",
      "     VISIBLE:  'Slider Control 1 51 Slider', cursor=1",
+     "SPEECH OUTPUT: '51'",
      "SPEECH OUTPUT: '51'"]))
     
 sequence.append(utils.StartRecordingAction())
@@ -75,6 +76,7 @@
      "     VISIBLE:  'Slider Control 1 52 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 1 52 Slider'",
      "     VISIBLE:  'Slider Control 1 52 Slider', cursor=1",
+     "SPEECH OUTPUT: '52'",
      "SPEECH OUTPUT: '52'"]))
     
 sequence.append(utils.StartRecordingAction())
@@ -87,6 +89,7 @@
      "     VISIBLE:  'Slider Control 1 53 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 1 53 Slider'",
      "     VISIBLE:  'Slider Control 1 53 Slider', cursor=1",
+     "SPEECH OUTPUT: '53'",
      "SPEECH OUTPUT: '53'"]))
     
 sequence.append(utils.StartRecordingAction())
@@ -99,6 +102,7 @@
      "     VISIBLE:  'Slider Control 1 54 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 1 54 Slider'",
      "     VISIBLE:  'Slider Control 1 54 Slider', cursor=1",
+     "SPEECH OUTPUT: '54'",
      "SPEECH OUTPUT: '54'"]))
     
 ########################################################################
@@ -124,6 +128,7 @@
      "     VISIBLE:  'Slider Control 2 101 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 2 101 Slider'",
      "     VISIBLE:  'Slider Control 2 101 Slider', cursor=1",
+     "SPEECH OUTPUT: '101'",
      "SPEECH OUTPUT: '101'"]))
     
 sequence.append(utils.StartRecordingAction())
@@ -136,6 +141,7 @@
      "     VISIBLE:  'Slider Control 2 102 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 2 102 Slider'",
      "     VISIBLE:  'Slider Control 2 102 Slider', cursor=1",
+     "SPEECH OUTPUT: '102'",
      "SPEECH OUTPUT: '102'"]))
     
 sequence.append(utils.StartRecordingAction())
@@ -148,6 +154,7 @@
      "     VISIBLE:  'Slider Control 2 103 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 2 103 Slider'",
      "     VISIBLE:  'Slider Control 2 103 Slider', cursor=1",
+     "SPEECH OUTPUT: '103'",
      "SPEECH OUTPUT: '103'"]))
     
 sequence.append(utils.StartRecordingAction())
@@ -160,6 +167,7 @@
      "     VISIBLE:  'Slider Control 2 104 Slider', cursor=1",
      "BRAILLE LINE:  'Slider Control 2 104 Slider'",
      "     VISIBLE:  'Slider Control 2 104 Slider', cursor=1",
+     "SPEECH OUTPUT: '104'",
      "SPEECH OUTPUT: '104'"]))
 
 ########################################################################

Modified: trunk/test/keystrokes/firefox/uiuc_tree.py
==============================================================================
--- trunk/test/keystrokes/firefox/uiuc_tree.py	(original)
+++ trunk/test/keystrokes/firefox/uiuc_tree.py	Sat Jun  7 04:30:56 2008
@@ -38,6 +38,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: ''",

Modified: trunk/test/keystrokes/firefox/xul_role_entry.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_entry.py	(original)
+++ trunk/test/keystrokes/firefox/xul_role_entry.py	Sat Jun  7 04:30:56 2008
@@ -42,7 +42,7 @@
 sequence.append(TypeAction("this is a test"))
 sequence.append(utils.AssertPresentationAction(
     "Type 'this is a test'",
-    [     "BRAILLE LINE:  'Minefield Application Add Bookmark Dialog t $l'",
+    ["BRAILLE LINE:  'Minefield Application Add Bookmark Dialog t $l'",
      "     VISIBLE:  't $l', cursor=2",
      "BRAILLE LINE:  'Minefield Application Add Bookmark Dialog t $l'",
      "     VISIBLE:  't $l', cursor=2",
@@ -493,7 +493,9 @@
      "BRAILLE LINE:  'Minefield Application Add Bookmark Dialog Here is the first line. $l'",
      "     VISIBLE:  'Here is the first line. $l', cursor=23",
      "BRAILLE LINE:  'Minefield Application Add Bookmark Dialog Here is the first line. $l'",
-     "     VISIBLE:  'Here is the first line. $l', cursor=24"]))
+     "     VISIBLE:  'Here is the first line. $l', cursor=24",
+     "SPEECH OUTPUT: '",
+     "'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Return"))
@@ -502,7 +504,9 @@
     ["BRAILLE LINE:  'Minefield Application Add Bookmark Dialog  $l'",
      "     VISIBLE:  ' $l', cursor=1",
      "BRAILLE LINE:  'Minefield Application Add Bookmark Dialog  $l'",
-     "     VISIBLE:  ' $l', cursor=1"]))
+     "     VISIBLE:  ' $l', cursor=1",
+     "SPEECH OUTPUT: '",
+     "'"]))
 
 ########################################################################
 # Type "Here is the second line."

Modified: trunk/test/keystrokes/firefox/xul_role_list_item.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_list_item.py	(original)
+++ trunk/test/keystrokes/firefox/xul_role_list_item.py	Sat Jun  7 04:30:56 2008
@@ -42,7 +42,8 @@
      "     VISIBLE:  'Content ListItem', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Content list item'",
-     "SPEECH OUTPUT: 'Size:'"]))
+     "SPEECH OUTPUT: 'Size:'",
+     "SPEECH OUTPUT: 'Default font:'"]))
 
 ########################################################################
 # Press Left Arrow to move backward list item by list item.

Modified: trunk/test/keystrokes/firefox/xul_role_menu_bar.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_menu_bar.py	(original)
+++ trunk/test/keystrokes/firefox/xul_role_menu_bar.py	Sat Jun  7 04:30:56 2008
@@ -96,12 +96,12 @@
     "Left Arrow on menu bar",
     ["BRAILLE LINE:  'Minefield Application Minefield Frame ToolBar Edit Menu'",
      "     VISIBLE:  'Edit Menu', cursor=1",
-     "BRAILLE LINE:  'Minefield Application Minefield Frame ToolBar Application MenuBar Select All(Control A)'",
-     "     VISIBLE:  'Select All(Control A)', cursor=1",
+     "BRAILLE LINE:  'Minefield Application Minefield Frame ToolBar Application MenuBar Paste(Control V)'",
+     "     VISIBLE:  'Paste(Control V)', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Edit menu'",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Select All Control A'"]))
+     "SPEECH OUTPUT: 'Paste Control V'"]))
 
 ########################################################################
 # Dismiss the menu by pressing Escape and wait for the location bar

Modified: trunk/test/keystrokes/firefox/xul_role_push_button.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_push_button.py	(original)
+++ trunk/test/keystrokes/firefox/xul_role_push_button.py	Sat Jun  7 04:30:56 2008
@@ -29,10 +29,10 @@
 sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
 sequence.append(utils.AssertPresentationAction(
     "Shift+Tab to button",
-    ["BRAILLE LINE:  'Minefield Application Print Dialog Print Button'",
-     "     VISIBLE:  'Print Button', cursor=1",
+    ["BRAILLE LINE:  'Minefield Application Print Dialog Cancel Button'",
+     "     VISIBLE:  'Cancel Button', cursor=1",
      "SPEECH OUTPUT: ''",
-     "SPEECH OUTPUT: 'Print button'"]))
+     "SPEECH OUTPUT: 'Cancel button'"]))
 
 ########################################################################
 # Do a basic "Where Am I" via KP_Enter. 
@@ -42,11 +42,11 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I", 
-    ["BRAILLE LINE:  'Minefield Application Print Dialog Print Button'",
-     "     VISIBLE:  'Print Button', cursor=1",
-     "SPEECH OUTPUT: 'Print'",
+    ["BRAILLE LINE:  'Minefield Application Print Dialog Cancel Button'",
+     "     VISIBLE:  'Cancel Button', cursor=1",
+     "SPEECH OUTPUT: 'Cancel'",
      "SPEECH OUTPUT: 'button'",
-     "SPEECH OUTPUT: 'Alt p'"]))
+     "SPEECH OUTPUT: 'Alt c'"]))
 
 ########################################################################
 # Dismiss the dialog by pressing Escape and wait for the location bar

Modified: trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py	(original)
+++ trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py	Sat Jun  7 04:30:56 2008
@@ -55,10 +55,10 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "Default button", 
-    ["BRAILLE LINE:  'Minefield Application Print Dialog TabList General Page ScrollPane Table  PDF  '",
-     "     VISIBLE:  ' PDF  ', cursor=1",
-     "BRAILLE LINE:  'Minefield Application Print Dialog TabList General Page ScrollPane Table  PDF  '",
-     "     VISIBLE:  ' PDF  ', cursor=1",
+    ["BRAILLE LINE:  'Minefield Application Print Dialog TabList General Page ScrollPane Table  Print to File  '",
+     "     VISIBLE:  ' Print to File  ', cursor=1",
+     "BRAILLE LINE:  'Minefield Application Print Dialog TabList General Page ScrollPane Table  Print to File  '",
+     "     VISIBLE:  ' Print to File  ', cursor=1",
      "SPEECH OUTPUT: 'Print'",
      "SPEECH OUTPUT: 'Default button is Print'"]))
 



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