orca r3774 - in trunk: . src/orca test/keystrokes/firefox



Author: joanied
Date: Thu Mar 27 21:32:02 2008
New Revision: 3774
URL: http://svn.gnome.org/viewvc/orca?rev=3774&view=rev

Log:
* src/orca/Gecko.py:
  test/keystrokes/firefox/dojo_tree.py:
  test/keystrokes/firefox/dojo_slider.py:
  test/keystrokes/firefox/dojo_spinner.py:
  test/keystrokes/firefox/moz_menu.py:
  test/keystrokes/firefox/label_guess_bugzilla_search.py:
  test/keystrokes/firefox/label_guess_entries.py:
  test/keystrokes/firefox/page_summary.py:
  test/keystrokes/firefox/xul_role_tree.py:
  test/keystrokes/firefox/xul_role_list_item.py:
  Fix for bug #523480 - Unwanted roles appearing in the braille
  context for dojo in FF3.  In addition, as long as I was updating
  tests, I marked some known bugs in the regression tests to help
  spot new regressions.


Modified:
   trunk/ChangeLog
   trunk/src/orca/Gecko.py
   trunk/test/keystrokes/firefox/dojo_slider.py
   trunk/test/keystrokes/firefox/dojo_spinner.py
   trunk/test/keystrokes/firefox/dojo_tree.py
   trunk/test/keystrokes/firefox/html_role_combo_box.py
   trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py
   trunk/test/keystrokes/firefox/label_guess_entries.py
   trunk/test/keystrokes/firefox/moz_menu.py
   trunk/test/keystrokes/firefox/page_summary.py
   trunk/test/keystrokes/firefox/xul_role_list_item.py
   trunk/test/keystrokes/firefox/xul_role_tree.py

Modified: trunk/src/orca/Gecko.py
==============================================================================
--- trunk/src/orca/Gecko.py	(original)
+++ trunk/src/orca/Gecko.py	Thu Mar 27 21:32:02 2008
@@ -190,6 +190,15 @@
         self.brailleGenerators[pyatspi.ROLE_LINK]         = \
              self._getBrailleRegionsForLink
 
+    def _getTextForRole(self, obj, role=None):
+        if settings.brailleVerbosityLevel == settings.VERBOSITY_LEVEL_VERBOSE \
+           and not obj.getRole() in [pyatspi.ROLE_SECTION,
+                                     pyatspi.ROLE_FORM,
+                                     pyatspi.ROLE_UNKNOWN]:
+            return rolenames.getBrailleForRoleName(obj, role)
+        else:
+            return None
+
     def _getBrailleRegionsForAutocomplete(self, obj):
         """Gets the braille for an autocomplete box.  We let the
         handlers for the children do the rest.
@@ -4610,6 +4619,11 @@
                 isFocusedObj = self.isSameObject(obj, focusedObj)
 
             text = self.queryNonEmptyText(obj)
+            if text and text.getText(startOffset, endOffset) == " " \
+               and not obj.getRole() in [pyatspi.ROLE_PAGE_TAB_LIST,
+                                         pyatspi.ROLE_ENTRY]:
+                continue
+
             if not self.isNavigableAria(obj):
                 # Treat unnavigable ARIA widgets like normal default.py widgets
                 #
@@ -4630,8 +4644,6 @@
                 if string.endswith(" "):
                     endOffset -= 1
                     string = text.getText(startOffset, endOffset)
-                if not len(string):
-                    continue
 
                 regions = [braille.Region(
                     string,

Modified: trunk/test/keystrokes/firefox/dojo_slider.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_slider.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_slider.py	Thu Mar 27 21:32:02 2008
@@ -196,10 +196,11 @@
 #
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
+sequence.append(PauseAction(1000))
 sequence.append(utils.AssertPresentationAction(
     "move to entry", 
-    ["[[Bug: labeling problem]]",
-    "BRAILLE LINE:  '10.0% $l Slider1 Value: 10.0% $l  '",
+    ["BUG? - We're not guessing the label",
+     "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",

Modified: trunk/test/keystrokes/firefox/dojo_spinner.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_spinner.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_spinner.py	Thu Mar 27 21:32:02 2008
@@ -25,9 +25,12 @@
 sequence.append(WaitForFocus("Dojo Spinner Widget Test", acc_role=pyatspi.ROLE_DOCUMENT_FRAME))
 
 ########################################################################
-# Give the widget a moment to construct itself
+# Give the widget a moment to construct itself.  Move to the top of
+# the file because that seems to give us more consistent results for
+# the first test.
 #
 sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("<Control>Home"))
 
 ########################################################################
 # Tab to the first spinner.  
@@ -36,10 +39,9 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "Tab to the first spinner", 
-    ["[[[Bug?: \"Form\" addition in Braille.]]]",
-     "BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l'",
+    ["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'",
+     "BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  900 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Spinbox #1:  900 selected spin button'"]))
@@ -51,9 +53,9 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner decrement 1", 
-    ["BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  900 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  899 $l not fired yet! $l'",
+     "BRAILLE LINE:  'Spinbox #1:  899 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  899 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '899'"]))
 
@@ -64,9 +66,9 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner decrement 2", 
-    ["BRAILLE LINE:  'Spinbox #1:  899 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  899 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  898 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  899 $l'",
+     "     VISIBLE:  'Spinbox #1:  899 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  898 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  898 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '898'"]))
 
@@ -77,9 +79,9 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner decrement 3", 
-    ["BRAILLE LINE:  'Spinbox #1:  898 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  898 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  897 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  898 $l'",
+     "     VISIBLE:  'Spinbox #1:  898 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  897 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  897 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '897'"]))
 
@@ -90,9 +92,9 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner decrement 4", 
-    ["BRAILLE LINE:  'Spinbox #1:  897 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  897 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  896 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  897 $l'",
+     "     VISIBLE:  'Spinbox #1:  897 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  896 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  896 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '896'"]))
 
@@ -103,9 +105,9 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner decrement 5", 
-    [ "BRAILLE LINE:  'Spinbox #1:  896 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  896 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  895 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  896 $l'",
+     "     VISIBLE:  'Spinbox #1:  896 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  895 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  895 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '895'"]))
 
@@ -116,9 +118,9 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner increment 1", 
-    ["BRAILLE LINE:  'Spinbox #1:  895 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  895 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  896 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  895 $l'",
+     "     VISIBLE:  'Spinbox #1:  895 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  896 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  896 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '896'"]))
 
@@ -129,9 +131,9 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner increment 2", 
-    [ "BRAILLE LINE:  'Spinbox #1:  896 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  896 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  897 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  896 $l'",
+     "     VISIBLE:  'Spinbox #1:  896 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  897 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  897 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '897'"]))
 
@@ -142,9 +144,9 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner increment 3", 
-    ["BRAILLE LINE:  'Spinbox #1:  897 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  897 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  898 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  897 $l'",
+     "     VISIBLE:  'Spinbox #1:  897 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  898 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  898 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '898'"]))
 
@@ -155,9 +157,9 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner increment 4", 
-    ["BRAILLE LINE:  'Spinbox #1:  898 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  898 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  899 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  898 $l'",
+     "     VISIBLE:  'Spinbox #1:  898 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  899 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  899 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '899'"]))
 
@@ -168,9 +170,9 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner increment 5", 
-    ["BRAILLE LINE:  'Spinbox #1:  899 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  899 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  899 $l'",
+     "     VISIBLE:  'Spinbox #1:  899 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  900 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '900'"]))
 
@@ -181,9 +183,9 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner increment 6", 
-    ["BRAILLE LINE:  'Spinbox #1:  900 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  900 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  901 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  900 $l'",
+     "     VISIBLE:  'Spinbox #1:  900 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  901 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  901 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '901'"]))
 
@@ -194,9 +196,9 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "first spinner increment 7", 
-    ["BRAILLE LINE:  'Spinbox #1:  901 $l not fired yet! $l'",
-     "     VISIBLE:  'Spinbox #1:  901 $l not fired ye', cursor=17",
-     "BRAILLE LINE:  'Spinbox #1:  902 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  901 $l'",
+     "     VISIBLE:  'Spinbox #1:  901 $l', cursor=17",
+     "BRAILLE LINE:  'Spinbox #1:  902 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  902 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: '902'"]))
 
@@ -208,7 +210,7 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "basic whereAmI", 
-    ["BRAILLE LINE:  'Spinbox #1:  902 $l not fired yet! $l'",
+    ["BRAILLE LINE:  'Spinbox #1:  902 $l not fired yet! $l '",
      "     VISIBLE:  'Spinbox #1:  902 $l not fired ye', cursor=17",
      "SPEECH OUTPUT: 'Spinbox #1: '",
      "SPEECH OUTPUT: 'spin button'",

Modified: trunk/test/keystrokes/firefox/dojo_tree.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_tree.py	(original)
+++ trunk/test/keystrokes/firefox/dojo_tree.py	Thu Mar 27 21:32:02 2008
@@ -66,7 +66,7 @@
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "basic whereAmI", 
-    ["[[[Bug: no item # of #]]]",
+    ["BUG? - We aren't getting the correct item count",
      "BRAILLE LINE:  'Africa ListItem'",
      "     VISIBLE:  'Africa ListItem', cursor=1",
      "SPEECH OUTPUT: 'list item'",

Modified: trunk/test/keystrokes/firefox/html_role_combo_box.py
==============================================================================
--- trunk/test/keystrokes/firefox/html_role_combo_box.py	(original)
+++ trunk/test/keystrokes/firefox/html_role_combo_box.py	Thu Mar 27 21:32:02 2008
@@ -48,7 +48,8 @@
 sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
 sequence.append(utils.AssertPresentationAction(
     "Tab to Severity combo box", 
-    ["BRAILLE LINE:  'Severity Link : Severity normal Combo'",
+    ["BUG? - For some reason we're also speaking the link that precedes the combo box",
+     "BRAILLE LINE:  'Severity Link : Severity normal Combo'",
      "     VISIBLE:  'normal Combo', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Severity normal combo box'"]))

Modified: trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py
==============================================================================
--- trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py	(original)
+++ trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py	Thu Mar 27 21:32:02 2008
@@ -525,7 +525,8 @@
 sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
 sequence.append(utils.AssertPresentationAction(
     "Next form field", 
-    ["BRAILLE LINE:  'ÂÂÂ < > CheckBox  and remember these as my default search options'",
+    ["BUG? - Extra garbage",
+     "BRAILLE LINE:  'ÂÂÂ < > CheckBox  and remember these as my default search options'",
      "     VISIBLE:  'Â < > CheckBox  and remember th', cursor=1",
      "SPEECH OUTPUT: 'and remember these as my default search options check box not checked'"]))
 

Modified: trunk/test/keystrokes/firefox/label_guess_entries.py
==============================================================================
--- trunk/test/keystrokes/firefox/label_guess_entries.py	(original)
+++ trunk/test/keystrokes/firefox/label_guess_entries.py	Thu Mar 27 21:32:02 2008
@@ -62,7 +62,8 @@
 sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
 sequence.append(utils.AssertPresentationAction(
     "Next form field", 
-    ["BRAILLE LINE:  'Amusing numbers fall between  $l  and  $l .'",
+    ["BUG? - We're getting an extra and",
+     "BRAILLE LINE:  'Amusing numbers fall between  $l  and  $l .'",
      "     VISIBLE:  ' $l  and  $l .', cursor=1",
      "SPEECH OUTPUT: 'Amusing numbers fall between text'"]))
 
@@ -176,7 +177,8 @@
 sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
 sequence.append(utils.AssertPresentationAction(
     "Next form field", 
-    ["BRAILLE LINE:  ' $l  $l  $l'",
+    ["BUG? - We're not guessing this correctly",
+     "BRAILLE LINE:  ' $l  $l  $l'",
      "     VISIBLE:  ' $l  $l  $l', cursor=9",
      "SPEECH OUTPUT: 'Last text'"]))
 
@@ -209,7 +211,7 @@
     "Next form field", 
     ["BRAILLE LINE:  ' $l  $l  $l'",
      "     VISIBLE:  ' $l  $l  $l', cursor=9",
-     "SPEECH OUTPUT: 'text'"]))
+     "SPEECH OUTPUT: 'Last text'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyPressAction(0, None, "KP_Insert"))
@@ -423,10 +425,12 @@
 sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
 sequence.append(utils.AssertPresentationAction(
     "Next form field", 
-    ["BRAILLE LINE:  'Magic disappearing text trick: tab to me and I disappear $l'",
+    ["BRAILLE LINE:  'tab to me and I disappear $l'",
      "     VISIBLE:  'tab to me and I disappear $l', cursor=26",
      "BRAILLE LINE:  'Magic disappearing text trick:  $l'",
      "     VISIBLE:  ' $l', cursor=1",
+     "BRAILLE LINE:  'Magic disappearing text trick:  $l'",
+     "     VISIBLE:  ' $l', cursor=1",
      "SPEECH OUTPUT: 'Magic disappearing text trick: text'"]))
 
 sequence.append(utils.StartRecordingAction())

Modified: trunk/test/keystrokes/firefox/moz_menu.py
==============================================================================
--- trunk/test/keystrokes/firefox/moz_menu.py	(original)
+++ trunk/test/keystrokes/firefox/moz_menu.py	Thu Mar 27 21:32:02 2008
@@ -65,15 +65,13 @@
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'View'"]))
     
-# We get flagged because of the unicode.  Everything else seems good.
-# [[[Bug?: This is probably not a bug.  Chalk the whitespace up to a hack web design.]]]
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))
+sequence.append(PauseAction(1000))
 sequence.append(utils.AssertPresentationAction(
     "Move to Themes", 
-    ["[[[Bug: not a bug]]]",
-     "BRAILLE LINE:  'Themes ÂÂ Â ÂÂ Â> Themes ÂÂ Â ÂÂ Â>'",
-     "     VISIBLE:  'Themes ÂÂ Â ÂÂ Â> Themes ï', cursor=0",
+    ["BRAILLE LINE:  'Themes ÂÂ Â ÂÂ Â>'",
+     "     VISIBLE:  'Themes ÂÂ Â ÂÂ Â>', cursor=1",
      "BRAILLE LINE:  'Themes ÂÂ Â ÂÂ Â>'",
      "     VISIBLE:  'Themes ÂÂ Â ÂÂ Â>', cursor=1",
      "SPEECH OUTPUT: ''",
@@ -83,10 +81,11 @@
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Right"))
+sequence.append(PauseAction(1000))
 sequence.append(utils.AssertPresentationAction(
     "Move to basic grey", 
     ["BRAILLE LINE:  'Basic Grey'",
-     "     VISIBLE:  'Basic Grey', cursor=0",
+     "     VISIBLE:  'Basic Grey', cursor=1",
      "BRAILLE LINE:  'Basic Grey'",
      "     VISIBLE:  'Basic Grey', cursor=1",
      "SPEECH OUTPUT: ''",
@@ -168,6 +167,7 @@
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Right"))
+sequence.append(PauseAction(1000))
 sequence.append(utils.AssertPresentationAction(
     "Move to one", 
     ["BRAILLE LINE:  'one'",

Modified: trunk/test/keystrokes/firefox/page_summary.py
==============================================================================
--- trunk/test/keystrokes/firefox/page_summary.py	(original)
+++ trunk/test/keystrokes/firefox/page_summary.py	Thu Mar 27 21:32:02 2008
@@ -47,7 +47,8 @@
 sequence.append(PauseAction(30000))
 sequence.append(utils.AssertPresentationAction(
     "Where Am I for page summary info",
-    [     "BRAILLE LINE:  'This is a Heading 6. h6'",
+    ["BUG? - Seems that we're no longer indicating the percent",
+     "BRAILLE LINE:  'This is a Heading 6. h6'",
      "     VISIBLE:  'This is a Heading 6. h6', cursor=1",
      "BRAILLE LINE:  'This is a Heading 6. h6'",
      "     VISIBLE:  'This is a Heading 6. h6', cursor=1",

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	Thu Mar 27 21:32:02 2008
@@ -38,7 +38,8 @@
 sequence.append(KeyComboAction("Right"))
 sequence.append(utils.AssertPresentationAction(
     "Right Arrow in list",
-    ["BRAILLE LINE:  'Minefield Application Minefield Preferences Frame List Content ListItem'",
+    ["BUG? - Extra stuff is being spoken",
+     "BRAILLE LINE:  'Minefield Application Minefield Preferences Frame List Content ListItem'",
      "     VISIBLE:  'Content ListItem', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Content list item'"]))

Modified: trunk/test/keystrokes/firefox/xul_role_tree.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_tree.py	(original)
+++ trunk/test/keystrokes/firefox/xul_role_tree.py	Thu Mar 27 21:32:02 2008
@@ -50,7 +50,8 @@
 sequence.append(KeyComboAction("<Shift>ISO_Left_Tab", 1000))
 sequence.append(utils.AssertPresentationAction(
     "Shift Tab for tree",
-    ["BRAILLE LINE:  'Minefield Application Library Frame Tree All Bookmarks ListItem'",
+    ["BUG? - We are no longer speaking the Level",
+     "BRAILLE LINE:  'Minefield Application Library Frame Tree All Bookmarks ListItem'",
      "     VISIBLE:  'All Bookmarks ListItem', cursor=1",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'All Bookmarks list item expanded'",
@@ -90,7 +91,7 @@
      "     VISIBLE:  'Bookmarks Menu ListItem', cursor=1",
      "SPEECH OUTPUT: 'list item'",
      "SPEECH OUTPUT: 'Bookmarks Menu'",
-     "SPEECH OUTPUT: 'item 2 of 3'",
+     "SPEECH OUTPUT: 'item 2 of 4'",
      "SPEECH OUTPUT: 'collapsed'",
      "SPEECH OUTPUT: 'tree level 2'"]))
 
@@ -117,7 +118,7 @@
      "     VISIBLE:  'Bookmarks Menu ListItem', cursor=1",
      "SPEECH OUTPUT: 'list item'",
      "SPEECH OUTPUT: 'Bookmarks Menu'",
-     "SPEECH OUTPUT: 'item 2 of 3'",
+     "SPEECH OUTPUT: 'item 2 of 4'",
      "SPEECH OUTPUT: 'expanded'",
      "SPEECH OUTPUT: 'tree level 2'"]))
 
@@ -203,11 +204,11 @@
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "Tab back to tree table",
-    ["BRAILLE LINE:  'Minefield Application Library Frame ScrollPane TreeTable Name ColumnHeader Bookmarks Toolbar   TREE LEVEL 1'",
-     "     VISIBLE:  'Bookmarks Toolbar   TREE LEVEL 1', cursor=1",
+    ["BRAILLE LINE:  'Minefield Application Library Frame ScrollPane TreeTable   Bookmarks Menu  TREE LEVEL 1'",
+     "     VISIBLE:  'Minefield Application Library Fr', cursor=0",
      "SPEECH OUTPUT: ''",
      "SPEECH OUTPUT: 'Name column header'",
-     "SPEECH OUTPUT: 'Bookmarks Toolbar  '",
+     "SPEECH OUTPUT: '  Bookmarks Menu '",
      "SPEECH OUTPUT: ' not selected'"]))
 
 ########################################################################



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