[orca] New tests



commit b9aa1e7ccb65f0fbdd2686a44db875c7cf5ee791
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sun Sep 14 18:51:13 2014 -0400

    New tests

 test/html/descriptions.html                        |   25 +++
 .../firefox/focus_tracking_descriptions.params     |    1 +
 .../firefox/focus_tracking_descriptions.py         |   96 +++++++++
 .../firefox/html_struct_nav_descriptions.params    |    1 +
 .../firefox/html_struct_nav_descriptions.py        |   92 ++++++++
 .../firefox/line_nav_descriptions.params           |    1 +
 test/keystrokes/firefox/line_nav_descriptions.py   |   62 ++++++
 .../firefox/object_nav_descriptions_down.params    |    1 +
 .../firefox/object_nav_descriptions_down.py        |  179 ++++++++++++++++
 .../firefox/object_nav_descriptions_down.settings  |  122 +++++++++++
 .../firefox/object_nav_descriptions_up.params      |    1 +
 .../firefox/object_nav_descriptions_up.py          |  218 ++++++++++++++++++++
 .../firefox/object_nav_descriptions_up.settings    |  122 +++++++++++
 13 files changed, 921 insertions(+), 0 deletions(-)
---
diff --git a/test/html/descriptions.html b/test/html/descriptions.html
new file mode 100644
index 0000000..044d3be
--- /dev/null
+++ b/test/html/descriptions.html
@@ -0,0 +1,25 @@
+<html>
+<body>
+<p>Elements with titles and descriptions</p>
+<p>
+<a href="foo" title="Title of the Foo link.">Foo</a>,
+<a href="bar" title="Title of the Bar link." aria-describedby="description">Bar</a>, and
+<a href="baz" title="Title of the Baz link.">Baz</a>.
+</p>
+<p>Checkboxes without labels:<br />
+<input type="checkbox" name="color1" value="black" title="Title of the Black checkbox">Black
+<input type="checkbox" name="color1" value="white" title="Title of the White checkbox" 
aria-describedby="description">White
+<input type="checkbox" name="color1" value="grey" title="Title of the Grey checkbox">Grey
+</p>
+<p>Checkboxes with html labels:<br />
+<input type="checkbox" name="color2" value="black" id="black" "title="Title of the Black checkbox">
+<label for="black">Black</label>
+<input type="checkbox" name="color2" value="white" id="white" title="Title of the White checkbox" 
aria-describedby="description">
+<label for="white">White</label>
+<input type="checkbox" name="color2" value="grey" id="grey" title="Title of the Grey checkbox">
+<label for="grey">Grey</label>
+</p>
+<div id="description" aria-hidden="true">ARIA description text.</div>
+</body>
+</html>
+
diff --git a/test/keystrokes/firefox/focus_tracking_descriptions.params 
b/test/keystrokes/firefox/focus_tracking_descriptions.params
new file mode 100644
index 0000000..855abc3
--- /dev/null
+++ b/test/keystrokes/firefox/focus_tracking_descriptions.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/descriptions.html
diff --git a/test/keystrokes/firefox/focus_tracking_descriptions.py 
b/test/keystrokes/firefox/focus_tracking_descriptions.py
new file mode 100644
index 0000000..0105f38
--- /dev/null
+++ b/test/keystrokes/firefox/focus_tracking_descriptions.py
@@ -0,0 +1,96 @@
+#!/usr/bin/python
+
+"""Test of the fix for bug 511389."""
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(KeyComboAction("<Control>Home"))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "1. Tab",
+    ["BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=1",
+     "BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=1",
+     "SPEECH OUTPUT: 'Foo link Title of the Foo link.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "2. Tab",
+    ["BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=6",
+     "BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=6",
+     "SPEECH OUTPUT: 'Bar link ARIA description text.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "3. Tab",
+    ["BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=15",
+     "BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=15",
+     "SPEECH OUTPUT: 'Baz link Title of the Baz link.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "4. Tab",
+    ["BRAILLE LINE:  '< > Title of the Black checkbox check box Black < > Title of the White checkbox check 
box White < > Title of the Grey checkbox check box Grey'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Black checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "5. Tab",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Title of the Black checkbox check box Black < > Title of the White checkbox check 
box White < > Title of the Grey checkbox check box Grey'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the White checkbox check box not checked ARIA description text.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "6. Tab",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Title of the Black checkbox check box Black < > Title of the White checkbox check 
box White < > Title of the Grey checkbox check box Grey'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Grey checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "7. Tab",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Black check box < > White check box < > Grey check box'",
+     "     VISIBLE:  '< > Black check box < > White ch', cursor=0",
+     "SPEECH OUTPUT: 'Black check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "8. Tab",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Black check box < > White check box < > Grey check box'",
+     "     VISIBLE:  '< > Black check box < > White ch', cursor=0",
+     "SPEECH OUTPUT: 'White check box not checked ARIA description text.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Tab"))
+sequence.append(utils.AssertPresentationAction(
+    "9. Tab",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Black check box < > White check box < > Grey check box'",
+     "     VISIBLE:  '< > Black check box < > White ch', cursor=0",
+     "SPEECH OUTPUT: 'Grey check box not checked Title of the Grey checkbox'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/html_struct_nav_descriptions.params 
b/test/keystrokes/firefox/html_struct_nav_descriptions.params
new file mode 100644
index 0000000..855abc3
--- /dev/null
+++ b/test/keystrokes/firefox/html_struct_nav_descriptions.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/descriptions.html
diff --git a/test/keystrokes/firefox/html_struct_nav_descriptions.py 
b/test/keystrokes/firefox/html_struct_nav_descriptions.py
new file mode 100644
index 0000000..f12398e
--- /dev/null
+++ b/test/keystrokes/firefox/html_struct_nav_descriptions.py
@@ -0,0 +1,92 @@
+#!/usr/bin/python
+
+"""Test of structural navigation."""
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(KeyComboAction("<Control>Home"))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("k"))
+sequence.append(utils.AssertPresentationAction(
+    "1. k for next link",
+    ["BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=1",
+     "SPEECH OUTPUT: 'Foo'",
+     "SPEECH OUTPUT: 'link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("k"))
+sequence.append(utils.AssertPresentationAction(
+    "2. k for next link",
+    ["BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=6",
+     "SPEECH OUTPUT: 'Bar'",
+     "SPEECH OUTPUT: 'link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("k"))
+sequence.append(utils.AssertPresentationAction(
+    "3. k for next link",
+    ["BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=1",
+     "SPEECH OUTPUT: 'Baz'",
+     "SPEECH OUTPUT: 'link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("x"))
+sequence.append(utils.AssertPresentationAction(
+    "4. x for next checkbox",
+    ["BRAILLE LINE:  '< > Title of the Black checkbox check box Black < > Title of the White checkbox check 
box White < > Title of the Grey checkbox check box Grey'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Black checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("x"))
+sequence.append(utils.AssertPresentationAction(
+    "5. x for next checkbox",
+    ["BRAILLE LINE:  '< > Title of the Black checkbox check box Black < > Title of the White checkbox check 
box White < > Title of the Grey checkbox check box Grey'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the White checkbox check box not checked ARIA description text.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("x"))
+sequence.append(utils.AssertPresentationAction(
+    "6. x for next checkbox",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Title of the Black checkbox check box Black < > Title of the White checkbox check 
box White < > Title of the Grey checkbox check box Grey'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Grey checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("x"))
+sequence.append(utils.AssertPresentationAction(
+    "7. x for next checkbox",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Black check box < > White check box < > Grey check box'",
+     "     VISIBLE:  '< > Black check box < > White ch', cursor=0",
+     "SPEECH OUTPUT: 'Black check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("x"))
+sequence.append(utils.AssertPresentationAction(
+    "8. x for next checkbox",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Black check box < > White check box < > Grey check box'",
+     "     VISIBLE:  '< > Black check box < > White ch', cursor=0",
+     "SPEECH OUTPUT: 'White check box not checked ARIA description text.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("x"))
+sequence.append(utils.AssertPresentationAction(
+    "9. x for next checkbox",
+    ["KNOWN ISSUE: We're not scrolling braille",
+     "BRAILLE LINE:  '< > Black check box < > White check box < > Grey check box'",
+     "     VISIBLE:  '< > Black check box < > White ch', cursor=0",
+     "SPEECH OUTPUT: 'Grey check box not checked Title of the Grey checkbox'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/line_nav_descriptions.params 
b/test/keystrokes/firefox/line_nav_descriptions.params
new file mode 100644
index 0000000..855abc3
--- /dev/null
+++ b/test/keystrokes/firefox/line_nav_descriptions.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/descriptions.html
diff --git a/test/keystrokes/firefox/line_nav_descriptions.py 
b/test/keystrokes/firefox/line_nav_descriptions.py
new file mode 100644
index 0000000..95fe170
--- /dev/null
+++ b/test/keystrokes/firefox/line_nav_descriptions.py
@@ -0,0 +1,62 @@
+#!/usr/bin/python
+
+"""Test of line navigation output of Firefox."""
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(KeyComboAction("<Control>Home"))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "1. Line Down",
+    ["BRAILLE LINE:  'Foo, Bar, and Baz.'",
+     "     VISIBLE:  'Foo, Bar, and Baz.', cursor=1",
+     "SPEECH OUTPUT: 'Foo'",
+     "SPEECH OUTPUT: 'link'",
+     "SPEECH OUTPUT: ','",
+     "SPEECH OUTPUT: 'Bar'",
+     "SPEECH OUTPUT: 'link'",
+     "SPEECH OUTPUT: ', and'",
+     "SPEECH OUTPUT: 'Baz'",
+     "SPEECH OUTPUT: 'link'",
+     "SPEECH OUTPUT: '.'"]))
+
+sequence.append(KeyComboAction("Down"))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "2. Line Down",
+    ["BRAILLE LINE:  '< > Title of the Black checkbox check box Black < > Title of the White checkbox check 
box White < > Title of the Grey checkbox check box Grey'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Black checkbox check box not checked'",
+     "SPEECH OUTPUT: 'Black'",
+     "SPEECH OUTPUT: 'Title of the White checkbox check box not checked'",
+     "SPEECH OUTPUT: 'White'",
+     "SPEECH OUTPUT: 'Title of the Grey checkbox check box not checked'",
+     "SPEECH OUTPUT: 'Grey'"]))
+
+sequence.append(KeyComboAction("Down"))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "3. Line Down",
+    ["BRAILLE LINE:  '< > Black check box < > White check box < > Grey check box'",
+     "     VISIBLE:  '< > Black check box < > White ch', cursor=0",
+     "SPEECH OUTPUT: 'Black check box not checked'",
+     "SPEECH OUTPUT: 'White check box not checked'",
+     "SPEECH OUTPUT: 'Grey check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "3. Line Down to aria-hidden line",
+    [""]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/object_nav_descriptions_down.params 
b/test/keystrokes/firefox/object_nav_descriptions_down.params
new file mode 100644
index 0000000..855abc3
--- /dev/null
+++ b/test/keystrokes/firefox/object_nav_descriptions_down.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/descriptions.html
diff --git a/test/keystrokes/firefox/object_nav_descriptions_down.py 
b/test/keystrokes/firefox/object_nav_descriptions_down.py
new file mode 100644
index 0000000..43fe86f
--- /dev/null
+++ b/test/keystrokes/firefox/object_nav_descriptions_down.py
@@ -0,0 +1,179 @@
+#!/usr/bin/python
+
+"""Test of line navigation output of Firefox."""
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(KeyComboAction("<Control>Home"))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "1. Line Down",
+    ["BRAILLE LINE:  'Foo'",
+     "     VISIBLE:  'Foo', cursor=1",
+     "SPEECH OUTPUT: 'Foo link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "2. Line Down",
+    ["BRAILLE LINE:  ','",
+     "     VISIBLE:  ',', cursor=1",
+     "SPEECH OUTPUT: ','"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "3. Line Down",
+    ["BRAILLE LINE:  'Bar'",
+     "     VISIBLE:  'Bar', cursor=1",
+     "SPEECH OUTPUT: 'Bar link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "4. Line Down",
+    ["BRAILLE LINE:  ', and'",
+     "     VISIBLE:  ', and', cursor=1",
+     "SPEECH OUTPUT: ', and'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "5. Line Down",
+    ["BRAILLE LINE:  'Baz'",
+     "     VISIBLE:  'Baz', cursor=1",
+     "SPEECH OUTPUT: 'Baz link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "6. Line Down",
+    ["BRAILLE LINE:  '.'",
+     "     VISIBLE:  '.', cursor=1",
+     "SPEECH OUTPUT: '.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "7. Line Down",
+    ["BRAILLE LINE:  'Checkboxes without labels:'",
+     "     VISIBLE:  'Checkboxes without labels:', cursor=1",
+     "SPEECH OUTPUT: 'Checkboxes without labels:'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "8. Line Down",
+    ["BRAILLE LINE:  '< > Title of the Black checkbox check box'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Black checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "9. Line Down",
+    ["BRAILLE LINE:  'Black'",
+     "     VISIBLE:  'Black', cursor=1",
+     "SPEECH OUTPUT: 'Black'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "10. Line Down",
+    ["BRAILLE LINE:  '< > Title of the White checkbox check box'",
+     "     VISIBLE:  '< > Title of the White checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the White checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "11. Line Down",
+    ["BRAILLE LINE:  'White'",
+     "     VISIBLE:  'White', cursor=1",
+     "SPEECH OUTPUT: 'White'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "12. Line Down",
+    ["BRAILLE LINE:  '< > Title of the Grey checkbox check box'",
+     "     VISIBLE:  '< > Title of the Grey checkbox c', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Grey checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "13. Line Down",
+    ["BRAILLE LINE:  'Grey'",
+     "     VISIBLE:  'Grey', cursor=1",
+     "SPEECH OUTPUT: 'Grey'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "14. Line Down",
+    ["BRAILLE LINE:  'Checkboxes with html labels:'",
+     "     VISIBLE:  'Checkboxes with html labels:', cursor=1",
+     "SPEECH OUTPUT: 'Checkboxes with html labels:'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "15. Line Down",
+    ["BRAILLE LINE:  '< > Black check box'",
+     "     VISIBLE:  '< > Black check box', cursor=0",
+     "SPEECH OUTPUT: 'Black check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "16. Line Down",
+    ["BRAILLE LINE:  'Black'",
+     "     VISIBLE:  'Black', cursor=1",
+     "SPEECH OUTPUT: 'Black'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "17. Line Down",
+    ["BRAILLE LINE:  '< > White check box'",
+     "     VISIBLE:  '< > White check box', cursor=0",
+     "SPEECH OUTPUT: 'White check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "18. Line Down",
+    ["BRAILLE LINE:  'White'",
+     "     VISIBLE:  'White', cursor=1",
+     "SPEECH OUTPUT: 'White'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "19. Line Down",
+    ["BRAILLE LINE:  '< > Grey check box'",
+     "     VISIBLE:  '< > Grey check box', cursor=0",
+     "SPEECH OUTPUT: 'Grey check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "20. Line Down",
+    ["BRAILLE LINE:  'Grey'",
+     "     VISIBLE:  'Grey', cursor=1",
+     "SPEECH OUTPUT: 'Grey'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+    "21. Line Down",
+    [""]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/object_nav_descriptions_down.settings 
b/test/keystrokes/firefox/object_nav_descriptions_down.settings
new file mode 100644
index 0000000..d66b1e4
--- /dev/null
+++ b/test/keystrokes/firefox/object_nav_descriptions_down.settings
@@ -0,0 +1,122 @@
+{
+    "profiles": {
+        "default": {
+            "keybindings": {}, 
+            "pronunciations": {}, 
+            "profile": [
+                "Default", 
+                "default"
+            ]
+        }
+    }, 
+    "general": {
+        "speakSpreadsheetCoordinates": true, 
+        "disableBrailleEOL": false, 
+        "profile": [
+            "Default", 
+            "default"
+        ], 
+        "enableContractedBraille": false, 
+        "findResultsMinimumLength": 4, 
+        "readTableCellRow": true, 
+        "brailleAlignmentStyle": 0, 
+        "presentDateFormat": "%x", 
+        "flashIsPersistent": false, 
+        "brailleRequiredStateString": null, 
+        "voices": {
+            "hyperlink": {
+                "established": false
+            }, 
+            "system": {
+                "established": false
+            }, 
+            "default": {
+                "established": false
+            }, 
+            "uppercase": {
+                "average-pitch": 7.0
+            }
+        }, 
+        "enableSpeechIndentation": false, 
+        "chatSpeakRoomName": false, 
+        "flashVerbosityLevel": 1, 
+        "enableBraille": true, 
+        "speakCellHeaders": true, 
+        "layoutMode": false, 
+        "enableBrailleMonitor": true, 
+        "progressBarUpdateInterval": 10, 
+        "enableProgressBarUpdates": true, 
+        "chatRoomHistories": false, 
+        "enableTutorialMessages": false, 
+        "enableFunctionKeys": true, 
+        "brailleContractionTable": "", 
+        "speechRequiredStateString": null, 
+        "messageVerbosityLevel": 1, 
+        "verbalizePunctuationStyle": 1, 
+        "enableBrailleContext": true, 
+        "enableDiacriticalKeys": false, 
+        "brailleRolenameStyle": 1, 
+        "mouseDwellDelay": 0, 
+        "wrappedStructuralNavigation": true, 
+        "enableKeyEcho": false, 
+        "enableEchoByWord": false, 
+        "presentToolTips": false, 
+        "enableNavigationKeys": false, 
+        "startingProfile": [
+            "Default", 
+            "default"
+        ], 
+        "enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; 
strikethrough:false; justification:left; style:normal; text-spelling:none;", 
+        "sayAllStyle": 1, 
+        "keyboardLayout": 1, 
+        "structNavTriggersFocusMode": false, 
+        "textAttributesBrailleIndicator": 0, 
+        "enableSpeech": true, 
+        "speechVerbosityLevel": 1, 
+        "onlySpeakDisplayedText": false, 
+        "speechServerFactory": "speechdispatcherfactory", 
+        "skipBlankCells": false, 
+        "enableActionKeys": true, 
+        "enableModifierKeys": true, 
+        "brailleLinkIndicator": 192, 
+        "orcaModifierKeys": [
+            "Insert", 
+            "KP_Insert"
+        ], 
+        "enablePauseBreaks": true, 
+        "enablePrintableKeys": true, 
+        "speakMultiCaseStringsAsWords": false, 
+        "spellcheckSpellError": true, 
+        "spellcheckPresentContext": true, 
+        "caretNavTriggersFocusMode": false, 
+        "findResultsVerbosity": 2, 
+        "largeObjectTextLength": 75, 
+        "enableMnemonicSpeaking": false, 
+        "enableMouseReview": false, 
+        "speakBlankLines": true, 
+        "speechServerInfo": null, 
+        "speakCellSpan": true, 
+        "enableFlashMessages": true, 
+        "brailleSelectorIndicator": 192, 
+        "spellcheckSpellSuggestion": true, 
+        "chatMessageVerbosity": 0, 
+        "progressBarVerbosity": 1, 
+        "brailleFlashTime": 5000, 
+        "enableEchoBySentence": false, 
+        "structuralNavigationEnabled": true, 
+        "useColorNames": true, 
+        "enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; 
strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;", 
+        "speakCellCoordinates": true, 
+        "enableEchoByCharacter": false, 
+        "enablePositionSpeaking": false, 
+        "brailleVerbosityLevel": 1, 
+        "presentTimeFormat": "%X", 
+        "chatAnnounceBuddyTyping": false, 
+        "activeProfile": [
+            "Default", 
+            "default"
+        ]
+    }, 
+    "keybindings": {}, 
+    "pronunciations": {}
+}
diff --git a/test/keystrokes/firefox/object_nav_descriptions_up.params 
b/test/keystrokes/firefox/object_nav_descriptions_up.params
new file mode 100644
index 0000000..855abc3
--- /dev/null
+++ b/test/keystrokes/firefox/object_nav_descriptions_up.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/descriptions.html
diff --git a/test/keystrokes/firefox/object_nav_descriptions_up.py 
b/test/keystrokes/firefox/object_nav_descriptions_up.py
new file mode 100644
index 0000000..97c5b9f
--- /dev/null
+++ b/test/keystrokes/firefox/object_nav_descriptions_up.py
@@ -0,0 +1,218 @@
+#!/usr/bin/python
+
+"""Test of line navigation output of Firefox."""
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(KeyComboAction("<Control>End"))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "1. Line Up",
+    ["BRAILLE LINE:  'Grey'",
+     "     VISIBLE:  'Grey', cursor=1",
+     "SPEECH OUTPUT: 'Grey'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "2. Line Up",
+    ["KNOWN ISSUE: We hit blank lines on the way up",
+     "BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=0",
+     "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "3. Line Up",
+    ["BRAILLE LINE:  '< > Grey check box'",
+     "     VISIBLE:  '< > Grey check box', cursor=0",
+     "SPEECH OUTPUT: 'Grey check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "4. Line Up",
+    ["KNOWN ISSUE: We hit blank lines on the way up",
+     "BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=0",
+     "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "5. Line Up",
+    ["BRAILLE LINE:  'White'",
+     "     VISIBLE:  'White', cursor=1",
+     "SPEECH OUTPUT: 'White'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "6. Line Up",
+    ["KNOWN ISSUE: We hit blank lines on the way up",
+     "BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=0",
+     "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "7. Line Up",
+    ["BRAILLE LINE:  '< > White check box'",
+     "     VISIBLE:  '< > White check box', cursor=0",
+     "SPEECH OUTPUT: 'White check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "8. Line Up",
+    ["KNOWN ISSUE: We hit blank lines on the way up",
+     "BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=0",
+     "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "9. Line Up",
+    ["BRAILLE LINE:  'Black'",
+     "     VISIBLE:  'Black', cursor=1",
+     "SPEECH OUTPUT: 'Black'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "10. Line Up",
+    ["KNOWN ISSUE: We hit blank lines on the way up",
+     "BRAILLE LINE:  ''",
+     "     VISIBLE:  '', cursor=0",
+     "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "11. Line Up",
+    ["BRAILLE LINE:  '< > Black check box'",
+     "     VISIBLE:  '< > Black check box', cursor=0",
+     "SPEECH OUTPUT: 'Black check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "12. Line Up",
+    ["BRAILLE LINE:  'Checkboxes with html labels:'",
+     "     VISIBLE:  'Checkboxes with html labels:', cursor=1",
+     "SPEECH OUTPUT: 'Checkboxes with html labels:'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "13. Line Up",
+    ["BRAILLE LINE:  'Grey'",
+     "     VISIBLE:  'Grey', cursor=1",
+     "SPEECH OUTPUT: 'Grey'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "14. Line Up",
+    ["BRAILLE LINE:  '< > Title of the Grey checkbox check box'",
+     "     VISIBLE:  '< > Title of the Grey checkbox c', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Grey checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "15. Line Up",
+    ["BRAILLE LINE:  'White'",
+     "     VISIBLE:  'White', cursor=1",
+     "SPEECH OUTPUT: 'White'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "16. Line Up",
+    ["BRAILLE LINE:  '< > Title of the White checkbox check box'",
+     "     VISIBLE:  '< > Title of the White checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the White checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "17. Line Up",
+    ["BRAILLE LINE:  'Black'",
+     "     VISIBLE:  'Black', cursor=1",
+     "SPEECH OUTPUT: 'Black'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "18. Line Up",
+    ["BRAILLE LINE:  '< > Title of the Black checkbox check box'",
+     "     VISIBLE:  '< > Title of the Black checkbox ', cursor=0",
+     "SPEECH OUTPUT: 'Title of the Black checkbox check box not checked'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "19. Line Up",
+    ["BRAILLE LINE:  'Checkboxes without labels:'",
+     "     VISIBLE:  'Checkboxes without labels:', cursor=1",
+     "SPEECH OUTPUT: 'Checkboxes without labels:'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "20. Line Up",
+    ["BRAILLE LINE:  '.'",
+     "     VISIBLE:  '.', cursor=1",
+     "SPEECH OUTPUT: '.'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "21. Line Up",
+    ["BRAILLE LINE:  'Baz'",
+     "     VISIBLE:  'Baz', cursor=1",
+     "SPEECH OUTPUT: 'Baz link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "22. Line Up",
+    ["BRAILLE LINE:  ', and'",
+     "     VISIBLE:  ', and', cursor=1",
+     "SPEECH OUTPUT: ', and'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "23. Line Up",
+    ["BRAILLE LINE:  'Bar'",
+     "     VISIBLE:  'Bar', cursor=1",
+     "SPEECH OUTPUT: 'Bar link'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "24. Line Up",
+    ["BRAILLE LINE:  ','",
+     "     VISIBLE:  ',', cursor=1",
+     "SPEECH OUTPUT: ','"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+    "25. Line Up",
+    ["BRAILLE LINE:  'Foo'",
+     "     VISIBLE:  'Foo', cursor=1",
+     "SPEECH OUTPUT: 'Foo link'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/object_nav_descriptions_up.settings 
b/test/keystrokes/firefox/object_nav_descriptions_up.settings
new file mode 100644
index 0000000..d66b1e4
--- /dev/null
+++ b/test/keystrokes/firefox/object_nav_descriptions_up.settings
@@ -0,0 +1,122 @@
+{
+    "profiles": {
+        "default": {
+            "keybindings": {}, 
+            "pronunciations": {}, 
+            "profile": [
+                "Default", 
+                "default"
+            ]
+        }
+    }, 
+    "general": {
+        "speakSpreadsheetCoordinates": true, 
+        "disableBrailleEOL": false, 
+        "profile": [
+            "Default", 
+            "default"
+        ], 
+        "enableContractedBraille": false, 
+        "findResultsMinimumLength": 4, 
+        "readTableCellRow": true, 
+        "brailleAlignmentStyle": 0, 
+        "presentDateFormat": "%x", 
+        "flashIsPersistent": false, 
+        "brailleRequiredStateString": null, 
+        "voices": {
+            "hyperlink": {
+                "established": false
+            }, 
+            "system": {
+                "established": false
+            }, 
+            "default": {
+                "established": false
+            }, 
+            "uppercase": {
+                "average-pitch": 7.0
+            }
+        }, 
+        "enableSpeechIndentation": false, 
+        "chatSpeakRoomName": false, 
+        "flashVerbosityLevel": 1, 
+        "enableBraille": true, 
+        "speakCellHeaders": true, 
+        "layoutMode": false, 
+        "enableBrailleMonitor": true, 
+        "progressBarUpdateInterval": 10, 
+        "enableProgressBarUpdates": true, 
+        "chatRoomHistories": false, 
+        "enableTutorialMessages": false, 
+        "enableFunctionKeys": true, 
+        "brailleContractionTable": "", 
+        "speechRequiredStateString": null, 
+        "messageVerbosityLevel": 1, 
+        "verbalizePunctuationStyle": 1, 
+        "enableBrailleContext": true, 
+        "enableDiacriticalKeys": false, 
+        "brailleRolenameStyle": 1, 
+        "mouseDwellDelay": 0, 
+        "wrappedStructuralNavigation": true, 
+        "enableKeyEcho": false, 
+        "enableEchoByWord": false, 
+        "presentToolTips": false, 
+        "enableNavigationKeys": false, 
+        "startingProfile": [
+            "Default", 
+            "default"
+        ], 
+        "enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; 
strikethrough:false; justification:left; style:normal; text-spelling:none;", 
+        "sayAllStyle": 1, 
+        "keyboardLayout": 1, 
+        "structNavTriggersFocusMode": false, 
+        "textAttributesBrailleIndicator": 0, 
+        "enableSpeech": true, 
+        "speechVerbosityLevel": 1, 
+        "onlySpeakDisplayedText": false, 
+        "speechServerFactory": "speechdispatcherfactory", 
+        "skipBlankCells": false, 
+        "enableActionKeys": true, 
+        "enableModifierKeys": true, 
+        "brailleLinkIndicator": 192, 
+        "orcaModifierKeys": [
+            "Insert", 
+            "KP_Insert"
+        ], 
+        "enablePauseBreaks": true, 
+        "enablePrintableKeys": true, 
+        "speakMultiCaseStringsAsWords": false, 
+        "spellcheckSpellError": true, 
+        "spellcheckPresentContext": true, 
+        "caretNavTriggersFocusMode": false, 
+        "findResultsVerbosity": 2, 
+        "largeObjectTextLength": 75, 
+        "enableMnemonicSpeaking": false, 
+        "enableMouseReview": false, 
+        "speakBlankLines": true, 
+        "speechServerInfo": null, 
+        "speakCellSpan": true, 
+        "enableFlashMessages": true, 
+        "brailleSelectorIndicator": 192, 
+        "spellcheckSpellSuggestion": true, 
+        "chatMessageVerbosity": 0, 
+        "progressBarVerbosity": 1, 
+        "brailleFlashTime": 5000, 
+        "enableEchoBySentence": false, 
+        "structuralNavigationEnabled": true, 
+        "useColorNames": true, 
+        "enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; 
strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;", 
+        "speakCellCoordinates": true, 
+        "enableEchoByCharacter": false, 
+        "enablePositionSpeaking": false, 
+        "brailleVerbosityLevel": 1, 
+        "presentTimeFormat": "%X", 
+        "chatAnnounceBuddyTyping": false, 
+        "activeProfile": [
+            "Default", 
+            "default"
+        ]
+    }, 
+    "keybindings": {}, 
+    "pronunciations": {}
+}



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