[orca] Adjust firefox tests for new mnemonic speech presentation



commit 25110cc847736f85111f1c8d9b2cc88551b327a7
Author: Willie Walker <william walker sun com>
Date:   Sun Jun 14 16:29:09 2009 -0400

    Adjust firefox tests for new mnemonic speech presentation

 test/keystrokes/firefox/xul_role_check_box.py    |    6 ++++--
 test/keystrokes/firefox/xul_role_push_button.py  |    3 ++-
 test/keystrokes/firefox/xul_role_radio_button.py |    6 ++++--
 3 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/test/keystrokes/firefox/xul_role_check_box.py b/test/keystrokes/firefox/xul_role_check_box.py
index b17bca2..f3816c3 100755
--- a/test/keystrokes/firefox/xul_role_check_box.py
+++ b/test/keystrokes/firefox/xul_role_check_box.py
@@ -63,7 +63,8 @@ sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I", 
     ["BRAILLE LINE:  '" + utils.firefoxAppNames + " Application Print Dialog TabList Options Page <x> Ignore Scaling and Shrink To Fit Page Width CheckBox'",
      "     VISIBLE:  '<x> Ignore Scaling and Shrink To', cursor=1",
-     "SPEECH OUTPUT: 'Ignore Scaling and Shrink To Fit Page Width check box checked Alt h'"]))
+     "SPEECH OUTPUT: 'Ignore Scaling and Shrink To Fit Page Width check box checked.'",
+     "SPEECH OUTPUT: 'Alt h'"]))
 
 ########################################################################
 # Toggle the state of the check box by pressing Space. 
@@ -87,7 +88,8 @@ sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I", 
     ["BRAILLE LINE:  '" + utils.firefoxAppNames + " Application Print Dialog TabList Options Page < > Ignore Scaling and Shrink To Fit Page Width CheckBox'",
      "     VISIBLE:  '< > Ignore Scaling and Shrink To', cursor=1",
-     "SPEECH OUTPUT: 'Ignore Scaling and Shrink To Fit Page Width check box not checked Alt h'"]))
+     "SPEECH OUTPUT: 'Ignore Scaling and Shrink To Fit Page Width check box not checked.'",
+     "SPEECH OUTPUT: 'Alt h'"]))
 
 ########################################################################
 # Toggle the state of the check box by pressing Space. 
diff --git a/test/keystrokes/firefox/xul_role_push_button.py b/test/keystrokes/firefox/xul_role_push_button.py
index a1a33ad..7fde1d4 100755
--- a/test/keystrokes/firefox/xul_role_push_button.py
+++ b/test/keystrokes/firefox/xul_role_push_button.py
@@ -43,7 +43,8 @@ sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I", 
     ["BRAILLE LINE:  '" + utils.firefoxAppNames + " Application Print Dialog Cancel Button'",
      "     VISIBLE:  'Cancel Button', cursor=1",
-     "SPEECH OUTPUT: 'Cancel button Alt c'"]))
+     "SPEECH OUTPUT: 'Cancel button.'",
+     "SPEECH OUTPUT: 'Alt c'"]))
 
 ########################################################################
 # Dismiss the dialog by pressing Escape and wait for the location bar
diff --git a/test/keystrokes/firefox/xul_role_radio_button.py b/test/keystrokes/firefox/xul_role_radio_button.py
index 10aadd3..f451442 100755
--- a/test/keystrokes/firefox/xul_role_radio_button.py
+++ b/test/keystrokes/firefox/xul_role_radio_button.py
@@ -43,7 +43,8 @@ sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I", 
     ["BRAILLE LINE:  '" + utils.firefoxAppNames + " Application Print Dialog TabList General Page Range Filler &=y All Pages RadioButton'",
      "     VISIBLE:  '&=y All Pages RadioButton', cursor=1",
-     "SPEECH OUTPUT: 'Range All Pages radio button selected item 1 of 3 Alt a'"]))
+     "SPEECH OUTPUT: 'Range All Pages radio button selected item 1 of 3.'",
+     "SPEECH OUTPUT: 'Alt a'"]))
 
 ########################################################################
 # Down Arrow to the next radio button.
@@ -66,7 +67,8 @@ sequence.append(utils.AssertPresentationAction(
     "Basic Where Am I", 
     ["BRAILLE LINE:  '" + utils.firefoxAppNames + " Application Print Dialog TabList General Page Range Filler &=y Pages: RadioButton'",
      "     VISIBLE:  '&=y Pages: RadioButton', cursor=1",
-     "SPEECH OUTPUT: 'Range Pages: radio button selected item 3 of 3 Alt e'"]))
+     "SPEECH OUTPUT: 'Range Pages: radio button selected item 3 of 3.'",
+     "SPEECH OUTPUT: 'Alt e'"]))
 
 ########################################################################
 # Dismiss the dialog by pressing Escape and wait for the location bar



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