[orca] Updated tests



commit a6f645d074fd2f1b36c34459723bb640fa2595f6
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Oct 8 11:45:19 2015 -0400

    Updated tests

 test/keystrokes/firefox/aria_alert.py              |    1 +
 test/keystrokes/firefox/aria_alert_dialog.py       |   10 +++++-----
 test/keystrokes/firefox/aria_button.py             |    2 ++
 test/keystrokes/firefox/aria_button_dojo.py        |    6 +++---
 test/keystrokes/firefox/aria_button_toggle.py      |   10 +++++-----
 test/keystrokes/firefox/aria_combobox_dojo.py      |    3 +--
 .../firefox/aria_editor_navigation_dojo.py         |    8 ++++----
 test/keystrokes/firefox/aria_landmarks.py          |   12 ++++++------
 test/keystrokes/firefox/aria_slider_dojo.py        |    6 +++---
 test/keystrokes/firefox/focus_tracking_links.py    |    8 ++++++--
 test/keystrokes/firefox/html_struct_nav_links.py   |    6 +-----
 test/keystrokes/firefox/label_inference_entries.py |    6 +++---
 test/keystrokes/firefox/label_inference_mailman.py |    7 ++++---
 .../firefox/object_nav_descriptions_down.py        |    1 +
 14 files changed, 45 insertions(+), 41 deletions(-)
---
diff --git a/test/keystrokes/firefox/aria_alert.py b/test/keystrokes/firefox/aria_alert.py
index 3f059ea..f2957ec 100644
--- a/test/keystrokes/firefox/aria_alert.py
+++ b/test/keystrokes/firefox/aria_alert.py
@@ -27,6 +27,7 @@ sequence.append(utils.AssertPresentationAction(
      "     VISIBLE:  'close', cursor=1",
      "BRAILLE LINE:  'close'",
      "     VISIBLE:  'close', cursor=1",
+     "SPEECH OUTPUT: 'alert.'",
      "SPEECH OUTPUT: 'This popup is created as a div in the HTML content, rather than being created in the 
DOM at the time of use. The display style is changed from \"none\" to \"block\" to hide and show it. close'",
      "SPEECH OUTPUT: 'close link.'"]))
 
diff --git a/test/keystrokes/firefox/aria_alert_dialog.py b/test/keystrokes/firefox/aria_alert_dialog.py
index eb52623..70ad152 100644
--- a/test/keystrokes/firefox/aria_alert_dialog.py
+++ b/test/keystrokes/firefox/aria_alert_dialog.py
@@ -50,13 +50,13 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Return"))
 sequence.append(utils.AssertPresentationAction(
     "5. Close Alert",
-    ["BRAILLE LINE:  '12 12 $l'",
-     "     VISIBLE:  '12 12 $l', cursor=6",
+    ["BRAILLE LINE:  'Guess a number between 1 and 10 12 $l'",
+     "     VISIBLE:  'ss a number between 1 and 10 12 ', cursor=32",
      "BRAILLE LINE:  'Focus mode'",
      "     VISIBLE:  'Focus mode', cursor=0",
-     "BRAILLE LINE:  '12 12 $l'",
-     "     VISIBLE:  '12 12 $l', cursor=6",
-     "SPEECH OUTPUT: '12 entry 12 selected'",
+     "BRAILLE LINE:  'Guess a number between 1 and 10 12 $l'",
+     "     VISIBLE:  'ss a number between 1 and 10 12 ', cursor=32",
+     "SPEECH OUTPUT: 'Guess a number between 1 and 10 entry 12 selected'",
      "SPEECH OUTPUT: 'Focus mode' voice=system"]))
 
 sequence.append(utils.AssertionSummaryAction())
diff --git a/test/keystrokes/firefox/aria_button.py b/test/keystrokes/firefox/aria_button.py
index 7bf8ac9..03ed4d3 100644
--- a/test/keystrokes/firefox/aria_button.py
+++ b/test/keystrokes/firefox/aria_button.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/aria_button_dojo.py b/test/keystrokes/firefox/aria_button_dojo.py
index 7d73ecb..c723fa0 100644
--- a/test/keystrokes/firefox/aria_button_dojo.py
+++ b/test/keystrokes/firefox/aria_button_dojo.py
@@ -258,7 +258,7 @@ sequence.append(utils.AssertPresentationAction(
     "27. Tab to the toggle me off button",
     ["BRAILLE LINE:  '&=y Toggle me off toggle button'",
      "     VISIBLE:  '&=y Toggle me off toggle button', cursor=1",
-     "SPEECH OUTPUT: 'Toggle me off  toggle button pressed'"]))
+     "SPEECH OUTPUT: 'Toggle me off toggle button pressed'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("space"))
@@ -280,8 +280,8 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "30. Tab to the toggle me button",
-    ["BRAILLE LINE:  '&=y toggle button'",
-     "     VISIBLE:  '&=y toggle button', cursor=1",
+    ["BRAILLE LINE:  'Toggle me  push button'",
+     "     VISIBLE:  'Toggle me  push button', cursor=1",
      "SPEECH OUTPUT: 'Toggle me  push button'"]))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_button_toggle.py b/test/keystrokes/firefox/aria_button_toggle.py
index 060ad66..913ee28 100644
--- a/test/keystrokes/firefox/aria_button_toggle.py
+++ b/test/keystrokes/firefox/aria_button_toggle.py
@@ -17,7 +17,7 @@ sequence.append(utils.AssertPresentationAction(
     "1. Tab to first button",
     ["BRAILLE LINE:  '& y Font Larger toggle button'",
      "     VISIBLE:  '& y Font Larger toggle button', cursor=1",
-     "SPEECH OUTPUT: 'Font Larger + toggle button not pressed'"]))
+     "SPEECH OUTPUT: 'Font Larger toggle button not pressed'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
@@ -25,7 +25,7 @@ sequence.append(utils.AssertPresentationAction(
     "2. Basic whereamI",
     ["BRAILLE LINE:  '& y Font Larger toggle button'",
      "     VISIBLE:  '& y Font Larger toggle button', cursor=1",
-     "SPEECH OUTPUT: 'Font Larger + toggle button not pressed'"]))
+     "SPEECH OUTPUT: 'Font Larger toggle button not pressed'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
@@ -33,7 +33,7 @@ sequence.append(utils.AssertPresentationAction(
     "3. Tab to second button",
     ["BRAILLE LINE:  '& y Font Smaller toggle button'",
      "     VISIBLE:  '& y Font Smaller toggle button', cursor=1",
-     "SPEECH OUTPUT: 'Font Smaller - toggle button not pressed'"]))
+     "SPEECH OUTPUT: 'Font Smaller toggle button not pressed'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(TypeAction(" "))
@@ -53,7 +53,7 @@ sequence.append(utils.AssertPresentationAction(
     "5. Tab to third button",
     ["BRAILLE LINE:  '&=y Italic toggle button'",
      "     VISIBLE:  '&=y Italic toggle button', cursor=1",
-     "SPEECH OUTPUT: 'Italic i toggle button pressed'"]))
+     "SPEECH OUTPUT: 'Italic toggle button pressed'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(TypeAction(" "))
@@ -69,7 +69,7 @@ sequence.append(utils.AssertPresentationAction(
     "7. Tab to fourth button",
     ["BRAILLE LINE:  '& y Bold toggle button'",
      "     VISIBLE:  '& y Bold toggle button', cursor=1",
-     "SPEECH OUTPUT: 'Bold B toggle button not pressed'"]))
+     "SPEECH OUTPUT: 'Bold toggle button not pressed'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(TypeAction(" "))
diff --git a/test/keystrokes/firefox/aria_combobox_dojo.py b/test/keystrokes/firefox/aria_combobox_dojo.py
index c4cb4ff..cda0295 100644
--- a/test/keystrokes/firefox/aria_combobox_dojo.py
+++ b/test/keystrokes/firefox/aria_combobox_dojo.py
@@ -43,7 +43,6 @@ sequence.append(utils.AssertPresentationAction(
     "3. Down Arrow",
     ["BRAILLE LINE:  'C alifornia (CA)'",
      "     VISIBLE:  'C alifornia (CA)', cursor=1",
-     "SPEECH OUTPUT: 'California menu'",
      "SPEECH OUTPUT: 'C alifornia (CA).'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -100,7 +99,7 @@ sequence.append(utils.AssertPresentationAction(
     "10. Basic Where Am I - Combo box expanded",
     ["BRAILLE LINE:  'C alifornia (CA)'",
      "     VISIBLE:  'C alifornia (CA)', cursor=1",
-     "SPEECH OUTPUT: 'California menu'",
+     "SPEECH OUTPUT: 'expanded'",
      "SPEECH OUTPUT: 'C alifornia (CA).'",
      "SPEECH OUTPUT: '1 of 3'"]))
 
diff --git a/test/keystrokes/firefox/aria_editor_navigation_dojo.py 
b/test/keystrokes/firefox/aria_editor_navigation_dojo.py
index 909273a..f6ddcc7 100644
--- a/test/keystrokes/firefox/aria_editor_navigation_dojo.py
+++ b/test/keystrokes/firefox/aria_editor_navigation_dojo.py
@@ -14,8 +14,8 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "1. Up Arrow in Focus Mode - which should do nothing",
-    ["BRAILLE LINE:  ' $l'",
-     "     VISIBLE:  ' $l', cursor=1"]))
+    ["BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=1"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyPressAction(0, None, "KP_Insert"))
@@ -31,8 +31,8 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "3. Up Arrow in Browse Mode",
-    ["BRAILLE LINE:  ' $l'",
-     "     VISIBLE:  ' $l', cursor=1",
+    ["BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=1",
      "BRAILLE LINE:  'editor0 tool bar'",
      "     VISIBLE:  'editor0 tool bar', cursor=1",
      "SPEECH OUTPUT: 'editor0 tool bar'"]))
diff --git a/test/keystrokes/firefox/aria_landmarks.py b/test/keystrokes/firefox/aria_landmarks.py
index 490a2db..a5ee564 100644
--- a/test/keystrokes/firefox/aria_landmarks.py
+++ b/test/keystrokes/firefox/aria_landmarks.py
@@ -47,9 +47,9 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("m"))
 sequence.append(utils.AssertPresentationAction(
     "5. m to next landmark",
-    ["BRAILLE LINE:  'form'",
-     "     VISIBLE:  'form', cursor=1",
-     "SPEECH OUTPUT: 'form'"]))
+    ["BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=1",
+     "SPEECH OUTPUT: 'form '"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("m"))
@@ -101,9 +101,9 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Shift>m"))
 sequence.append(utils.AssertPresentationAction(
     "11. Shift+m to previous landmark",
-    ["BRAILLE LINE:  'form'",
-     "     VISIBLE:  'form', cursor=1",
-     "SPEECH OUTPUT: 'form'"]))
+    ["BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=1",
+     "SPEECH OUTPUT: 'form '"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Shift>m"))
diff --git a/test/keystrokes/firefox/aria_slider_dojo.py b/test/keystrokes/firefox/aria_slider_dojo.py
index a67379f..05f5048 100644
--- a/test/keystrokes/firefox/aria_slider_dojo.py
+++ b/test/keystrokes/firefox/aria_slider_dojo.py
@@ -51,9 +51,9 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Left"))
 sequence.append(utils.AssertPresentationAction(
     "5. Decrement first slider",
-    ["BRAILLE LINE:  'slider 1 10.0[0-9]+ slider'",
-     "     VISIBLE:  'slider 1 10.0[0-9]+ slid', cursor=1",
-     "SPEECH OUTPUT: '10.0[0-9]+'"]))
+    ["BRAILLE LINE:  'slider 1 10 slider'",
+     "     VISIBLE:  'slider 1 10 slider', cursor=1",
+     "SPEECH OUTPUT: '10'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
diff --git a/test/keystrokes/firefox/focus_tracking_links.py b/test/keystrokes/firefox/focus_tracking_links.py
index cf8843b..371fd58 100644
--- a/test/keystrokes/firefox/focus_tracking_links.py
+++ b/test/keystrokes/firefox/focus_tracking_links.py
@@ -23,9 +23,13 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "2. Line Down to the Foo link",
-    ["BRAILLE LINE:  'Foo'",
+    ["KNOWN ISSUE: We're double-presenting this due to the caret-moved event",
+     "BRAILLE LINE:  'Foo'",
      "     VISIBLE:  'Foo', cursor=1",
-     "SPEECH OUTPUT: 'Foo link.'"]))
+     "BRAILLE LINE:  'Foo'",
+     "     VISIBLE:  'Foo', cursor=1",
+     "SPEECH OUTPUT: 'Foo link.'",
+     "SPEECH OUTPUT: 'Foo'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
diff --git a/test/keystrokes/firefox/html_struct_nav_links.py 
b/test/keystrokes/firefox/html_struct_nav_links.py
index 7539e3e..33dcb41 100644
--- a/test/keystrokes/firefox/html_struct_nav_links.py
+++ b/test/keystrokes/firefox/html_struct_nav_links.py
@@ -68,12 +68,8 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("u"))
 sequence.append(utils.AssertPresentationAction(
     "6. u to textattributes.html link",
-    ["BRAILLE LINE:  'tables.html'",
-     "     VISIBLE:  'tables.html', cursor=1",
-     "BRAILLE LINE:  'textattributes.html'",
+    ["BRAILLE LINE:  'textattributes.html'",
      "     VISIBLE:  'textattributes.html', cursor=1",
-     "BRAILLE LINE:  '• textattributes.html'",
-     "     VISIBLE:  '• textattributes.html', cursor=3",
      "SPEECH OUTPUT: 'textattributes.html link.'"]))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/label_inference_entries.py 
b/test/keystrokes/firefox/label_inference_entries.py
index 7270757..42010d6 100644
--- a/test/keystrokes/firefox/label_inference_entries.py
+++ b/test/keystrokes/firefox/label_inference_entries.py
@@ -69,9 +69,9 @@ sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
 sequence.append(utils.AssertPresentationAction(
     "6. Next form field",
-    ["BRAILLE LINE:  ' $l'",
-     "     VISIBLE:  ' $l', cursor=1",
-     "SPEECH OUTPUT: 'entry'"]))
+    ["BRAILLE LINE:  'Looking at what follows visually, I'm not sure what I would type/i.e. what the labels 
are.  $l'",
+     "     VISIBLE:  'type/i.e. what the labels are.  ', cursor=32",
+     "SPEECH OUTPUT: 'Looking at what follows visually, I'm not sure what I would type/i.e. what the labels 
are. entry'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyPressAction(0, None, "KP_Insert"))
diff --git a/test/keystrokes/firefox/label_inference_mailman.py 
b/test/keystrokes/firefox/label_inference_mailman.py
index 2b93f6a..f257e02 100644
--- a/test/keystrokes/firefox/label_inference_mailman.py
+++ b/test/keystrokes/firefox/label_inference_mailman.py
@@ -8,6 +8,7 @@ import utils
 sequence = MacroSequence()
 
 sequence.append(WaitForDocLoad())
+sequence.append(PauseAction(3000))
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
@@ -138,9 +139,9 @@ sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
 sequence.append(utils.AssertPresentationAction(
     "13. Next form field",
-    ["BRAILLE LINE:  'your subscription email address:  $l'",
-     "     VISIBLE:  'ur subscription email address:  ', cursor=32",
-     "SPEECH OUTPUT: 'your subscription email address: entry'"]))
+    ["BRAILLE LINE:  'subscription email address:  $l'",
+     "     VISIBLE:  'subscription email address:  $l', cursor=29",
+     "SPEECH OUTPUT: 'subscription email address: entry'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyPressAction(0, None, "KP_Insert"))
diff --git a/test/keystrokes/firefox/object_nav_descriptions_down.py 
b/test/keystrokes/firefox/object_nav_descriptions_down.py
index e8c7d2c..9bbda79 100644
--- a/test/keystrokes/firefox/object_nav_descriptions_down.py
+++ b/test/keystrokes/firefox/object_nav_descriptions_down.py
@@ -14,6 +14,7 @@ sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>r"))
 
 sequence.append(KeyComboAction("<Control>Home"))
+sequence.append(PauseAction(3000))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))


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