Remove files that should be ignored based on .gitignore
This commit is contained in:
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-alert.html
|
@ -1,148 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA alert presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Press button",
|
||||
["KNOWN ISSUE: Because the link has focus, we double-present it.",
|
||||
"BRAILLE LINE: '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'",
|
||||
" VISIBLE: 'This popup is created as a div i', cursor=0",
|
||||
"BRAILLE LINE: 'close'",
|
||||
" VISIBLE: 'close', cursor=1",
|
||||
"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. '",
|
||||
"SPEECH OUTPUT: 'close'",
|
||||
"SPEECH OUTPUT: 'link.'",
|
||||
"SPEECH OUTPUT: 'close link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Up Arrow",
|
||||
["BRAILLE LINE: '\"none\" to \"block\" to hide and show it.'",
|
||||
" VISIBLE: '\"none\" to \"block\" to hide and sh', cursor=1",
|
||||
"SPEECH OUTPUT: '\"none\" to \"block\" to hide and show it. '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Up Arrow",
|
||||
["BRAILLE LINE: 'The display style is changed from'",
|
||||
" VISIBLE: 'The display style is changed fro', cursor=1",
|
||||
"SPEECH OUTPUT: 'The display style is changed from '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up Arrow",
|
||||
["BRAILLE LINE: 'created in the DOM at the time of use.'",
|
||||
" VISIBLE: 'created in the DOM at the time o', cursor=1",
|
||||
"SPEECH OUTPUT: 'created in the DOM at the time of use. '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Up Arrow",
|
||||
["BRAILLE LINE: 'HTML content, rather than being'",
|
||||
" VISIBLE: 'HTML content, rather than being', cursor=1",
|
||||
"SPEECH OUTPUT: 'HTML content, rather than being '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Up Arrow",
|
||||
["BRAILLE LINE: 'This popup is created as a div in the'",
|
||||
" VISIBLE: 'This popup is created as a div i', cursor=1",
|
||||
"SPEECH OUTPUT: 'This popup is created as a div in the '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Up Arrow",
|
||||
["KNOWN ISSUE: You should not be able to arrow out of this alert.",
|
||||
"BRAILLE LINE: 'Show (via display style) and put focus inside alert (on link) push button'",
|
||||
" VISIBLE: 'Show (via display style) and put', cursor=1",
|
||||
"SPEECH OUTPUT: 'Show (via display style) and put focus inside alert (on link) push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Down Arrow",
|
||||
["BRAILLE LINE: 'This popup is created as a div in the'",
|
||||
" VISIBLE: 'This popup is created as a div i', cursor=1",
|
||||
"SPEECH OUTPUT: 'This popup is created as a div in the '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Down Arrow",
|
||||
["BRAILLE LINE: 'HTML content, rather than being'",
|
||||
" VISIBLE: 'HTML content, rather than being', cursor=1",
|
||||
"SPEECH OUTPUT: 'HTML content, rather than being '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Down Arrow",
|
||||
["BRAILLE LINE: 'created in the DOM at the time of use.'",
|
||||
" VISIBLE: 'created in the DOM at the time o', cursor=1",
|
||||
"SPEECH OUTPUT: 'created in the DOM at the time of use. '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Down Arrow",
|
||||
["BRAILLE LINE: 'The display style is changed from'",
|
||||
" VISIBLE: 'The display style is changed fro', cursor=1",
|
||||
"SPEECH OUTPUT: 'The display style is changed from '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Down Arrow",
|
||||
["BRAILLE LINE: '\"none\" to \"block\" to hide and show it.'",
|
||||
" VISIBLE: '\"none\" to \"block\" to hide and sh', cursor=1",
|
||||
"SPEECH OUTPUT: '\"none\" to \"block\" to hide and show it. '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Down Arrow",
|
||||
["BRAILLE LINE: 'close'",
|
||||
" VISIBLE: 'close', cursor=1",
|
||||
"SPEECH OUTPUT: 'close'",
|
||||
"SPEECH OUTPUT: 'link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Down Arrow",
|
||||
["BRAILLE LINE: 'Some text after the alert to help with selection in order to view alert source'",
|
||||
" VISIBLE: 'Some text after the alert to hel', cursor=1",
|
||||
"SPEECH OUTPUT: 'Some text after the alert to help with selection in order to view alert source'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Return on close link",
|
||||
["KNOWN ISSUE: We should present something here.",
|
||||
""]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-alert-dialog.html
|
@ -1,63 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of UIUC button presentation using Firefox."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(TypeAction("12"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Open Alert Box",
|
||||
["BRAILLE LINE: 'dialog'",
|
||||
" VISIBLE: 'dialog', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Alert Box You must choose a number between 1 and 10!'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down to message",
|
||||
["BRAILLE LINE: 'dialog'",
|
||||
" VISIBLE: 'dialog', cursor=1",
|
||||
"BRAILLE LINE: 'You must choose a number'",
|
||||
" VISIBLE: 'You must choose a number', cursor=1",
|
||||
"SPEECH OUTPUT: 'You must choose a number'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down arrow to read next line of message",
|
||||
["BRAILLE LINE: 'between 1 and 10!'",
|
||||
" VISIBLE: 'between 1 and 10!', cursor=1",
|
||||
"SPEECH OUTPUT: 'between 1 and 10!'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down arrow to read next line of message",
|
||||
["BRAILLE LINE: 'Close push button'",
|
||||
" VISIBLE: 'Close push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Close push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Close Alert",
|
||||
["BRAILLE LINE: 'Guess a number between 1 and 10 12 $l invalid'",
|
||||
" VISIBLE: '12 $l invalid', cursor=3",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Guess a number between 1 and 10 entry 12 selected.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-button.html
|
@ -1,48 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA button presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to Tracking number text entry",
|
||||
["BRAILLE LINE: 'Tracking number $l'",
|
||||
" VISIBLE: 'Tracking number $l', cursor=17",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Tracking number entry.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab to Check Now push button",
|
||||
["BRAILLE LINE: 'Tracking number $l'",
|
||||
" VISIBLE: 'Tracking number $l', cursor=17",
|
||||
"BRAILLE LINE: 'Check Now push button'",
|
||||
" VISIBLE: 'Check Now push button', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Check Now push button Check to see if your order has been shipped.'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Basic whereamI",
|
||||
["BRAILLE LINE: 'Check Now push button'",
|
||||
" VISIBLE: 'Check Now push button', cursor=1",
|
||||
"BRAILLE LINE: 'Check Now push button'",
|
||||
" VISIBLE: 'Check Now push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Check Now push button Check to see if your order has been shipped.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Button.html
|
@ -1,308 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to the <button> button",
|
||||
["BRAILLE LINE: '<button> push button'",
|
||||
" VISIBLE: '<button> push button', cursor=1",
|
||||
"SPEECH OUTPUT: '<button> push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic Where Am I on <button>",
|
||||
["BRAILLE LINE: '<button> push button'",
|
||||
" VISIBLE: '<button> push button', cursor=1",
|
||||
"SPEECH OUTPUT: '<button> push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to <input type='button'>",
|
||||
["BRAILLE LINE: '<input type='button'> push button'",
|
||||
" VISIBLE: '<input type='button'> push butto', cursor=1",
|
||||
"SPEECH OUTPUT: '<input type='button'> push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Basic Where Am I on <input type='button'>",
|
||||
["BRAILLE LINE: '<input type='button'> push button'",
|
||||
" VISIBLE: '<input type='button'> push butto', cursor=1",
|
||||
"SPEECH OUTPUT: '<input type='button'> push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to first Create button",
|
||||
["BRAILLE LINE: 'Create push button'",
|
||||
" VISIBLE: 'Create push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Create push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Basic Where Am I on first Create button",
|
||||
["BRAILLE LINE: 'Create push button'",
|
||||
" VISIBLE: 'Create push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Create push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Tab to View push button",
|
||||
["BRAILLE LINE: 'View push button'",
|
||||
" VISIBLE: 'View push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'View push button view title'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Tab to second Create button",
|
||||
["BRAILLE LINE: 'Create push button'",
|
||||
" VISIBLE: 'Create push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Create push button creative title'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Tab to drop down menu on Create -- whose tooltip and accessible name is 'save options'",
|
||||
["BRAILLE LINE: 'save options push button'",
|
||||
" VISIBLE: 'save options push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'save options push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Open drop down menu on Create",
|
||||
["BRAILLE LINE: 'push button'",
|
||||
" VISIBLE: 'push button', cursor=1",
|
||||
"BRAILLE LINE: 'Create blank'",
|
||||
" VISIBLE: 'Create blank', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'expanded'",
|
||||
"SPEECH OUTPUT: 'Create save options menu'",
|
||||
"SPEECH OUTPUT: 'Create blank.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Down to Create from template",
|
||||
["BRAILLE LINE: 'Create blank'",
|
||||
" VISIBLE: 'Create blank', cursor=1",
|
||||
"BRAILLE LINE: 'Create from template'",
|
||||
" VISIBLE: 'Create from template', cursor=1",
|
||||
"SPEECH OUTPUT: 'Create from template.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Close Create drop down menu",
|
||||
["BRAILLE LINE: 'save options collapsed push button'",
|
||||
" VISIBLE: 'save options collapsed push butt', cursor=1",
|
||||
"SPEECH OUTPUT: 'save options collapsed push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Go to Edit!",
|
||||
["BRAILLE LINE: 'Edit! push button'",
|
||||
" VISIBLE: 'Edit! push button', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Edit! push button edit title'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("space"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Open the Edit! menu",
|
||||
["BRAILLE LINE: 'Edit! push button'",
|
||||
" VISIBLE: 'Edit! push button', cursor=1",
|
||||
"BRAILLE LINE: 'Edit! menu button'",
|
||||
" VISIBLE: 'Edit! menu button', cursor=1",
|
||||
"BRAILLE LINE: 'Cut'",
|
||||
" VISIBLE: 'Cut', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Edit! edit title menu'",
|
||||
"SPEECH OUTPUT: 'Cut.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Go to Copy",
|
||||
["BRAILLE LINE: 'Cut'",
|
||||
" VISIBLE: 'Cut', cursor=1",
|
||||
"BRAILLE LINE: 'Copy'",
|
||||
" VISIBLE: 'Copy', cursor=1",
|
||||
"SPEECH OUTPUT: 'Copy.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Go to Paste",
|
||||
["BRAILLE LINE: 'Paste'",
|
||||
" VISIBLE: 'Paste', cursor=1",
|
||||
"SPEECH OUTPUT: 'Paste.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Go to Submenu",
|
||||
["BRAILLE LINE: 'Submenu menu'",
|
||||
" VISIBLE: 'Submenu menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'Submenu menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("space"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"18. Open Submenu",
|
||||
["BRAILLE LINE: 'Submenu Item One'",
|
||||
" VISIBLE: 'Submenu Item One', cursor=1",
|
||||
"SPEECH OUTPUT: 'Submenu menu'",
|
||||
"SPEECH OUTPUT: 'Submenu Item One.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"19. Down to Submenu Item Two",
|
||||
["BRAILLE LINE: 'Submenu Item Two'",
|
||||
" VISIBLE: 'Submenu Item Two', cursor=1",
|
||||
"SPEECH OUTPUT: 'Submenu Item Two.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"20. Down to Deeper Submenu",
|
||||
["BRAILLE LINE: 'Deeper Submenu menu'",
|
||||
" VISIBLE: 'Deeper Submenu menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'Deeper Submenu menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"21. Close the Submenu",
|
||||
["BRAILLE LINE: 'Submenu menu'",
|
||||
" VISIBLE: 'Submenu menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'Submenu menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"22. Close the Edit! menu",
|
||||
["BRAILLE LINE: 'Edit! collapsed push button'",
|
||||
" VISIBLE: 'Edit! collapsed push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Edit! collapsed push button edit title'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"23. Tab to the Color button",
|
||||
["BRAILLE LINE: 'Color push button'",
|
||||
" VISIBLE: 'Color push button', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Color push button'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("space"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"24. Open the Color menu",
|
||||
["BRAILLE LINE: 'Color push button'",
|
||||
" VISIBLE: 'Color push button', cursor=1",
|
||||
"BRAILLE LINE: 'Color push button'",
|
||||
" VISIBLE: 'Color push button', cursor=1",
|
||||
"BRAILLE LINE: 'white table cell'",
|
||||
" VISIBLE: 'white table cell', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'white.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"25. Go to lime",
|
||||
["KNOWN ISSUE: This is a side effect of working around Roundcube's message list table.",
|
||||
"BRAILLE LINE: 'white table cell'",
|
||||
" VISIBLE: 'white table cell', cursor=1",
|
||||
"BRAILLE LINE: 'white white lime lime green green blue blue table row'",
|
||||
" VISIBLE: 'white white lime lime green gree', cursor=1",
|
||||
"SPEECH OUTPUT: 'white white lime lime green green blue blue.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"26. Close the Color menu",
|
||||
["BRAILLE LINE: 'Color collapsed push button'",
|
||||
" VISIBLE: 'Color collapsed push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Color collapsed push button'"]))
|
||||
|
||||
for i in range(18):
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
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'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("space"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"28. Toggle the state of the toggle me off button",
|
||||
["BRAILLE LINE: '& y toggle me on toggle button'",
|
||||
" VISIBLE: '& y toggle me on toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'not pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("space"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"29. Toggle the state of the toggle me off button",
|
||||
["BRAILLE LINE: '&=y toggle me on toggle button'",
|
||||
" VISIBLE: '&=y toggle me on toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"30. Tab to the toggle me button",
|
||||
["BRAILLE LINE: 'Toggle me push button'",
|
||||
" VISIBLE: 'Toggle me push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Toggle me push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("space"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"31. Toggle the state of the toggle me button",
|
||||
["KNOWN ISSUE: This claims to be a toggle button in name; in role it's a push button. We don't announce pressing buttons.",
|
||||
"BRAILLE LINE: 'Toggle me push button'",
|
||||
" VISIBLE: 'Toggle me push button', cursor=1"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("space"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"32. Toggle the state of the toggle me button",
|
||||
["KNOWN ISSUE: This claims to be a toggle button in name; in role it's a push button. We don't announce pressing buttons.",
|
||||
"BRAILLE LINE: 'Toggle me push button'",
|
||||
" VISIBLE: 'Toggle me push button', cursor=1"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-button-toggle.html
|
@ -1,98 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to first button",
|
||||
["BRAILLE LINE: '& y Font Larger toggle button'",
|
||||
" VISIBLE: '& y Font Larger toggle button', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
|
||||
"SPEECH OUTPUT: 'Font Larger toggle button not pressed'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic whereamI",
|
||||
["BRAILLE LINE: '& y Font Larger toggle button'",
|
||||
" VISIBLE: '& y Font Larger toggle button', cursor=1",
|
||||
"BRAILLE LINE: '& y Font Larger toggle button'",
|
||||
" VISIBLE: '& y Font Larger toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Font Larger toggle button not pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
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'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Push second button",
|
||||
["KNOWN ISSUE: We're presenting two updates.",
|
||||
"BRAILLE LINE: '&=y Font Smaller toggle button'",
|
||||
" VISIBLE: '&=y Font Smaller toggle button', cursor=1",
|
||||
"BRAILLE LINE: '& y Font Smaller toggle button'",
|
||||
" VISIBLE: '& y Font Smaller toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'pressed'",
|
||||
"SPEECH OUTPUT: 'not pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
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 toggle button pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Push third button",
|
||||
["BRAILLE LINE: '& y Italic toggle button'",
|
||||
" VISIBLE: '& y Italic toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'not pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
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 toggle button not pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Push fourth button",
|
||||
["BRAILLE LINE: '&=y Bold toggle button'",
|
||||
" VISIBLE: '&=y Bold toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'pressed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Push fourth button again",
|
||||
["BRAILLE LINE: '& y Bold toggle button'",
|
||||
" VISIBLE: '& y Bold toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'not pressed'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-checkbox.html
|
@ -1,111 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA checkbox presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to first checkbox",
|
||||
["BRAILLE LINE: '<x> Include decorative fruit basket check box'",
|
||||
" VISIBLE: '<x> Include decorative fruit bas', cursor=1",
|
||||
"SPEECH OUTPUT: 'Include decorative fruit basket check box checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Change state of first checkbox",
|
||||
["BRAILLE LINE: '< > Include decorative fruit basket check box'",
|
||||
" VISIBLE: '< > Include decorative fruit bas', cursor=1",
|
||||
"SPEECH OUTPUT: 'not checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to second checkbox",
|
||||
["BRAILLE LINE: '<x> Invalid checkbox check box'",
|
||||
" VISIBLE: '<x> Invalid checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Invalid checkbox check box checked.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Change state of second checkbox",
|
||||
["BRAILLE LINE: '< > Invalid checkbox check box'",
|
||||
" VISIBLE: '< > Invalid checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'not checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to third checkbox",
|
||||
["BRAILLE LINE: '<x> Required checkbox check box'",
|
||||
" VISIBLE: '<x> Required checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Required checkbox check box checked required.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Change state of third checkbox",
|
||||
["BRAILLE LINE: '< > Required checkbox check box'",
|
||||
" VISIBLE: '< > Required checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'not checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Change state of third checkbox again",
|
||||
["BRAILLE LINE: '<x> Required checkbox check box'",
|
||||
" VISIBLE: '<x> Required checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Basic whereAmI",
|
||||
["BRAILLE LINE: '<x> Required checkbox check box'",
|
||||
" VISIBLE: '<x> Required checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Required checkbox check box checked required.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Tab to checkbox tristate",
|
||||
["BRAILLE LINE: '<x> Tri-state checkbox check box'",
|
||||
" VISIBLE: '<x> Tri-state checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tri-state checkbox check box checked required.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Change state of tristate checkbox",
|
||||
["BRAILLE LINE: '< > Tri-state checkbox check box'",
|
||||
" VISIBLE: '< > Tri-state checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'not checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Change state of tristate checkbox",
|
||||
["BRAILLE LINE: '<-> Tri-state checkbox check box'",
|
||||
" VISIBLE: '<-> Tri-state checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'partially checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Change state of tristate checkbox",
|
||||
["BRAILLE LINE: '<x> Tri-state checkbox check box'",
|
||||
" VISIBLE: '<x> Tri-state checkbox check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'checked'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_CheckBox.html
|
@ -1,99 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo checkbox presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to the cb0 checkbox",
|
||||
["KNOWN ISSUE: We are not presenting this in Nightly; we do with stable",
|
||||
"BRAILLE LINE: '<x> cb0: Vanilla (non-dojo) checkbox (for comparison purposes) check box'",
|
||||
" VISIBLE: '<x> cb0: Vanilla (non-dojo) chec', cursor=1",
|
||||
"SPEECH OUTPUT: 'form'",
|
||||
"SPEECH OUTPUT: 'cb0: Vanilla (non-dojo) checkbox (for comparison purposes) check box checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Change state on cb0 checkbox",
|
||||
["BRAILLE LINE: '< > cb0: Vanilla (non-dojo) checkbox (for comparison purposes) check box'",
|
||||
" VISIBLE: '< > cb0: Vanilla (non-dojo) chec', cursor=1",
|
||||
"SPEECH OUTPUT: 'not checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to the cb1 checkbox",
|
||||
["BRAILLE LINE: '< > cb1: normal checkbox, with value=foo, clicking generates console log messages check box'",
|
||||
" VISIBLE: '< > cb1: normal checkbox, with v', cursor=1",
|
||||
"SPEECH OUTPUT: 'cb1: normal checkbox, with value=foo, clicking generates console log messages check box not checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Change state on cb1 checkbox",
|
||||
["BRAILLE LINE: '<x> cb1: normal checkbox, with value=foo, clicking generates console log messages check box'",
|
||||
" VISIBLE: '<x> cb1: normal checkbox, with v', cursor=1",
|
||||
"SPEECH OUTPUT: 'checked'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to the cb2 checkbox",
|
||||
["BRAILLE LINE: '<x> cb2: normal checkbox, with default value, initially turned on. check box'",
|
||||
" VISIBLE: '<x> cb2: normal checkbox, with d', cursor=1",
|
||||
"SPEECH OUTPUT: 'cb2: normal checkbox, with default value, initially turned on. check box checked.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab to the cb4 checkbox",
|
||||
["BRAILLE LINE: '<x> cb4: readOnly checkbox, turned on check box'",
|
||||
" VISIBLE: '<x> cb4: readOnly checkbox, turn', cursor=1",
|
||||
"SPEECH OUTPUT: 'cb4: readOnly checkbox, turned on check box checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Tab to the cb5 checkbox",
|
||||
["BRAILLE LINE: '< > cb5: normal checkbox, with specified value=\"\", clicking generates console log messages check box'",
|
||||
" VISIBLE: '< > cb5: normal checkbox, with s', cursor=1",
|
||||
"SPEECH OUTPUT: 'cb5: normal checkbox, with specified value=\"\", clicking generates console log messages check box not checked.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Tab to the cb6 checkbox",
|
||||
["BRAILLE LINE: '<x> cb6: instantiated from script check box'",
|
||||
" VISIBLE: '<x> cb6: instantiated from scrip', cursor=1",
|
||||
"SPEECH OUTPUT: 'cb6: instantiated from script check box checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Tab to the cb7 checkbox",
|
||||
["BRAILLE LINE: '< > cb7: normal checkbox. check box'",
|
||||
" VISIBLE: '< > cb7: normal checkbox. check ', cursor=1",
|
||||
"SPEECH OUTPUT: 'cb7: normal checkbox. check box not checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Basic Where Am I",
|
||||
["BRAILLE LINE: '< > cb7: normal checkbox. check box'",
|
||||
" VISIBLE: '< > cb7: normal checkbox. check ', cursor=1",
|
||||
"SPEECH OUTPUT: 'cb7: normal checkbox. check box not checked.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_ComboBox.html
|
@ -1,124 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo combo box presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to the first combo box",
|
||||
["BRAILLE LINE: 'US State test 1 (200% Courier font): California $l'",
|
||||
" VISIBLE: 'font\): California $l', cursor=18",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'collapsed'",
|
||||
"SPEECH OUTPUT: 'US State test 1 (200% Courier font): editable combo box California selected.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction("C"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Replace existing text with a 'C'",
|
||||
["KNOWN ISSUE: The braille line is not quite right",
|
||||
"BRAILLE LINE: 'US State test 1 (200% Courier font): C $l'",
|
||||
" VISIBLE: '(200% Courier font): C $l', cursor=23",
|
||||
"BRAILLE LINE: 'Selection deleted.'",
|
||||
" VISIBLE: 'Selection deleted.', cursor=0",
|
||||
"BRAILLE LINE: 'US State test 1 (200% Courier font): C $l'",
|
||||
" VISIBLE: 'e test 1 (200% Courier font): C ', cursor=32",
|
||||
"BRAILLE LINE: 'US State test 1 (200% Courier font): C $l'",
|
||||
" VISIBLE: 'e test 1 (200% Courier font): C ', cursor=32",
|
||||
"BRAILLE LINE: 'US State test 1 (200% Courier font): US State test 1 (200% Courier font): combo box'",
|
||||
" VISIBLE: 'te test 1 (200% Courier font): U', cursor=32",
|
||||
"SPEECH OUTPUT: 'Selection deleted.' voice=system",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down Arrow",
|
||||
["BRAILLE LINE: 'C alifornia (CA)'",
|
||||
" VISIBLE: 'C alifornia (CA)', cursor=1",
|
||||
"SPEECH OUTPUT: 'C alifornia (CA)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down Arrow",
|
||||
["BRAILLE LINE: 'C olorado (CO)'",
|
||||
" VISIBLE: 'C olorado (CO)', cursor=1",
|
||||
"SPEECH OUTPUT: 'C olorado (CO)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down Arrow",
|
||||
["BRAILLE LINE: 'C onnecticut (CT)'",
|
||||
" VISIBLE: 'C onnecticut (CT)', cursor=1",
|
||||
"SPEECH OUTPUT: 'C onnecticut (CT)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Down Arrow",
|
||||
["BRAILLE LINE: 'C alifornia (CA)'",
|
||||
" VISIBLE: 'C alifornia (CA)', cursor=1",
|
||||
"SPEECH OUTPUT: 'C alifornia (CA)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Up Arrow",
|
||||
["BRAILLE LINE: 'C onnecticut (CT)'",
|
||||
" VISIBLE: 'C onnecticut (CT)', cursor=1",
|
||||
"SPEECH OUTPUT: 'C onnecticut (CT)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Up Arrow",
|
||||
["BRAILLE LINE: 'C olorado (CO)'",
|
||||
" VISIBLE: 'C olorado (CO)', cursor=1",
|
||||
"SPEECH OUTPUT: 'C olorado (CO)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Up Arrow",
|
||||
["BRAILLE LINE: 'C alifornia (CA)'",
|
||||
" VISIBLE: 'C alifornia (CA)', cursor=1",
|
||||
"SPEECH OUTPUT: 'C alifornia (CA)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
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: 'expanded'",
|
||||
"SPEECH OUTPUT: 'C alifornia (CA)'",
|
||||
"SPEECH OUTPUT: '1 of 3'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Escape",
|
||||
["BRAILLE LINE: 'US State test 1 (200% Courier font): US State test 1 (200% Courier font): combo box'",
|
||||
" VISIBLE: 'te test 1 (200% Courier font): U', cursor=32",
|
||||
"BRAILLE LINE: 'US State test 1 (200% Courier font): California $l'",
|
||||
" VISIBLE: '(200% Courier font): California ', cursor=32",
|
||||
"SPEECH OUTPUT: 'collapsed'",
|
||||
"SPEECH OUTPUT: 'US State test 1 (200% Courier font): editable combo box California selected.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-modal-dialog.html
|
@ -1,51 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to link",
|
||||
["BRAILLE LINE: 'Display a dialog'",
|
||||
" VISIBLE: 'Display a dialog', cursor=1",
|
||||
"SPEECH OUTPUT: 'Display a dialog link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Return to open dialog",
|
||||
["BRAILLE LINE: 'Just an example. dialog'",
|
||||
" VISIBLE: 'Just an example. dialog', cursor=1",
|
||||
"SPEECH OUTPUT: 'Just an example.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to dialog button",
|
||||
["BRAILLE LINE: 'OK push button'",
|
||||
" VISIBLE: 'OK push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'OK push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Escape to dismiss dialog",
|
||||
["KNOWN ISSUE: https://bugzilla.mozilla.org/show_bug.cgi?id=1190882",
|
||||
""]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down to move to next line",
|
||||
["KNOWN ISSUE: https://bugzilla.mozilla.org/show_bug.cgi?id=1190882",
|
||||
""]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Dialog.html
|
@ -1,46 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo dialog presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Launch dialog",
|
||||
["BRAILLE LINE: 'TabContainer Dialog dialog'",
|
||||
" VISIBLE: 'TabContainer Dialog dialog', cursor=1",
|
||||
"BRAILLE LINE: 'First tab page tab'",
|
||||
" VISIBLE: 'First tab page tab', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'TabContainer Dialog This is the first tab. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae risus.'",
|
||||
"SPEECH OUTPUT: 'First tab page tab.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic whereAmI",
|
||||
["BRAILLE LINE: 'First tab page tab'",
|
||||
" VISIBLE: 'First tab page tab', cursor=1",
|
||||
"BRAILLE LINE: 'First tab page tab'",
|
||||
" VISIBLE: 'First tab page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'page tab list.",
|
||||
"SPEECH OUTPUT: 'First tab page tab.",
|
||||
"SPEECH OUTPUT: '1 of 2'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/editor/test_Editor.html
|
@ -1,57 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test navigation out of the Dojo editor."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Up Arrow in Focus Mode - which should do nothing",
|
||||
[""]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("a"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Toggle Browse Mode",
|
||||
["BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Up Arrow in Browse Mode",
|
||||
["BRAILLE LINE: 'applied with aria $l'",
|
||||
" VISIBLE: 'applied with aria $l', cursor=19",
|
||||
"BRAILLE LINE: 'editor0 tool bar'",
|
||||
" VISIBLE: 'editor0 tool bar', cursor=1",
|
||||
"SPEECH OUTPUT: 'editor0 tool bar'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up Arrow in Browse Mode",
|
||||
["BRAILLE LINE: 'No plugins, initially empty h2'",
|
||||
" VISIBLE: 'No plugins, initially empty h2', cursor=1",
|
||||
"SPEECH OUTPUT: 'No plugins, initially empty heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Up Arrow in Browse Mode",
|
||||
["BRAILLE LINE: 'Editor + Plugins Test h1'",
|
||||
" VISIBLE: 'Editor + Plugins Test h1', cursor=1",
|
||||
"SPEECH OUTPUT: 'Editor + Plugins Test heading level 1'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-invalid.html
|
@ -1,150 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab",
|
||||
["BRAILLE LINE: 'text 1 Hello wurld $l spelling'",
|
||||
" VISIBLE: 'text 1 Hello wurld $l spelling', cursor=19",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'text 1 entry Hello wurld selected.'",
|
||||
"SPEECH OUTPUT: 'invalid spelling'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. WhereAmI",
|
||||
["BRAILLE LINE: 'text 1 Hello wurld $l spelling'",
|
||||
" VISIBLE: 'text 1 Hello wurld $l spelling', cursor=19",
|
||||
"BRAILLE LINE: 'text 1 Hello wurld $l spelling'",
|
||||
" VISIBLE: 'text 1 Hello wurld $l spelling', cursor=19",
|
||||
"SPEECH OUTPUT: 'text 1 entry Hello wurld selected.'",
|
||||
"SPEECH OUTPUT: 'invalid spelling'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab",
|
||||
["BRAILLE LINE: 'text 2 World hello $l grammar'",
|
||||
" VISIBLE: 'text 2 World hello $l grammar', cursor=19",
|
||||
"SPEECH OUTPUT: 'text 2 entry World hello selected.'",
|
||||
"SPEECH OUTPUT: 'invalid grammar'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. WhereAmI",
|
||||
["BRAILLE LINE: 'text 2 World hello $l grammar'",
|
||||
" VISIBLE: 'text 2 World hello $l grammar', cursor=19",
|
||||
"SPEECH OUTPUT: 'text 2 entry World hello selected.'",
|
||||
"SPEECH OUTPUT: 'invalid grammar'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab",
|
||||
["BRAILLE LINE: 'text 3 1234 $l invalid'",
|
||||
" VISIBLE: 'text 3 1234 $l invalid', cursor=12",
|
||||
"SPEECH OUTPUT: 'text 3 entry 1234 selected.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. WhereAmI",
|
||||
["BRAILLE LINE: 'text 3 1234 $l invalid'",
|
||||
" VISIBLE: 'text 3 1234 $l invalid', cursor=12",
|
||||
"SPEECH OUTPUT: 'text 3 entry 1234 selected.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Tab",
|
||||
["BRAILLE LINE: 'text 4 Good $l'",
|
||||
" VISIBLE: 'text 4 Good $l', cursor=12",
|
||||
"SPEECH OUTPUT: 'text 4 entry Good selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. WhereAmI",
|
||||
["BRAILLE LINE: 'text 4 Good $l'",
|
||||
" VISIBLE: 'text 4 Good $l', cursor=12",
|
||||
"SPEECH OUTPUT: 'text 4 entry Good selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Tab",
|
||||
["BRAILLE LINE: '< > accept terms of service check box'",
|
||||
" VISIBLE: '< > accept terms of service chec', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'accept terms of service check box not checked.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. WhereAmI",
|
||||
["BRAILLE LINE: '< > accept terms of service check box'",
|
||||
" VISIBLE: '< > accept terms of service chec', cursor=1",
|
||||
"BRAILLE LINE: '< > accept terms of service check box'",
|
||||
" VISIBLE: '< > accept terms of service chec', cursor=1",
|
||||
"SPEECH OUTPUT: 'accept terms of service check box not checked.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Tab",
|
||||
["BRAILLE LINE: 'time 1 $l'",
|
||||
" VISIBLE: 'time 1 $l', cursor=8",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'time 1 entry.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. WhereAmI",
|
||||
["BRAILLE LINE: 'time 1 $l'",
|
||||
" VISIBLE: 'time 1 $l', cursor=8",
|
||||
"BRAILLE LINE: 'time 1 $l'",
|
||||
" VISIBLE: 'time 1 $l', cursor=8",
|
||||
"SPEECH OUTPUT: 'time 1 entry.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Tab",
|
||||
["BRAILLE LINE: 'time 2 11:30 PM $l invalid'",
|
||||
" VISIBLE: 'time 2 11:30 PM $l invalid', cursor=16",
|
||||
"SPEECH OUTPUT: 'time 2 entry 11:30 PM selected.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. WhereAmI",
|
||||
["BRAILLE LINE: 'time 2 11:30 PM $l invalid'",
|
||||
" VISIBLE: 'time 2 11:30 PM $l invalid', cursor=16",
|
||||
"SPEECH OUTPUT: 'time 2 entry 11:30 PM selected.'",
|
||||
"SPEECH OUTPUT: 'invalid entry'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-landmarks.html
|
@ -1,135 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of structural navigation amongst landmarks."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. m to next landmark",
|
||||
["BRAILLE LINE: 'navigation'",
|
||||
" VISIBLE: 'navigation', cursor=1",
|
||||
"SPEECH OUTPUT: 'navigation'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. m to next landmark",
|
||||
["BRAILLE LINE: 'main application embedded'",
|
||||
" VISIBLE: 'main application embedded', cursor=1",
|
||||
"SPEECH OUTPUT: 'main'",
|
||||
"SPEECH OUTPUT: 'embedded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. m to next landmark",
|
||||
["BRAILLE LINE: 'complementary'",
|
||||
" VISIBLE: 'complementary', cursor=1",
|
||||
"SPEECH OUTPUT: 'complementary'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. m to next landmark",
|
||||
["BRAILLE LINE: ''",
|
||||
" VISIBLE: '', cursor=1",
|
||||
"SPEECH OUTPUT: 'form '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. m to next landmark",
|
||||
["BRAILLE LINE: 'search'",
|
||||
" VISIBLE: 'search', cursor=1",
|
||||
"SPEECH OUTPUT: 'search'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. m to next landmark",
|
||||
["BRAILLE LINE: 'contentinfo'",
|
||||
" VISIBLE: 'contentinfo', cursor=1",
|
||||
"SPEECH OUTPUT: 'contentinfo'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. m to next landmark",
|
||||
["BRAILLE LINE: 'Wrapping to top.'",
|
||||
" VISIBLE: 'Wrapping to top.', cursor=0",
|
||||
"BRAILLE LINE: 'banner'",
|
||||
" VISIBLE: 'banner', cursor=1",
|
||||
"SPEECH OUTPUT: 'Wrapping to top.' voice=system",
|
||||
"SPEECH OUTPUT: 'banner'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Shift+m to previous landmark",
|
||||
["BRAILLE LINE: 'Wrapping to bottom.'",
|
||||
" VISIBLE: 'Wrapping to bottom.', cursor=0",
|
||||
"BRAILLE LINE: 'contentinfo'",
|
||||
" VISIBLE: 'contentinfo', cursor=1",
|
||||
"SPEECH OUTPUT: 'Wrapping to bottom.' voice=system",
|
||||
"SPEECH OUTPUT: 'contentinfo'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Shift+m to previous landmark",
|
||||
["BRAILLE LINE: 'search'",
|
||||
" VISIBLE: 'search', cursor=1",
|
||||
"SPEECH OUTPUT: 'search'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Shift+m to previous landmark",
|
||||
["BRAILLE LINE: ''",
|
||||
" VISIBLE: '', cursor=1",
|
||||
"SPEECH OUTPUT: 'form '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Shift+m to previous landmark",
|
||||
["BRAILLE LINE: 'complementary'",
|
||||
" VISIBLE: 'complementary', cursor=1",
|
||||
"SPEECH OUTPUT: 'complementary'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Shift+m to previous landmark",
|
||||
["BRAILLE LINE: 'main application embedded'",
|
||||
" VISIBLE: 'main application embedded', cursor=1",
|
||||
"SPEECH OUTPUT: 'main'",
|
||||
"SPEECH OUTPUT: 'embedded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Shift+m to previous landmark",
|
||||
["BRAILLE LINE: 'navigation'",
|
||||
" VISIBLE: 'navigation', cursor=1",
|
||||
"SPEECH OUTPUT: 'navigation'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Shift+m to previous landmark",
|
||||
["BRAILLE LINE: 'banner'",
|
||||
" VISIBLE: 'banner', cursor=1",
|
||||
"SPEECH OUTPUT: 'banner'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-role-list.html
|
@ -1,49 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of presentation of ARIA role list."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Down Arrow",
|
||||
["BRAILLE LINE: 'cat'",
|
||||
" VISIBLE: 'cat', cursor=1",
|
||||
"SPEECH OUTPUT: 'cat.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down Arrow",
|
||||
["BRAILLE LINE: 'sparrow'",
|
||||
" VISIBLE: 'sparrow', cursor=1",
|
||||
"SPEECH OUTPUT: 'sparrow.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Basic whereAmI",
|
||||
["BRAILLE LINE: 'sparrow'",
|
||||
" VISIBLE: 'sparrow', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: 'sparrow.'",
|
||||
"SPEECH OUTPUT: '3 of 4.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up Arrow",
|
||||
["BRAILLE LINE: 'cat'",
|
||||
" VISIBLE: 'cat', cursor=1",
|
||||
"SPEECH OUTPUT: 'cat.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-spreadsheet.html
|
@ -1,141 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA menu presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Alt>m"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Move to the menu",
|
||||
["BRAILLE LINE: 'Edit menu'",
|
||||
" VISIBLE: 'Edit menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'leaving table.'",
|
||||
"SPEECH OUTPUT: 'Edit menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. basic whereAmI",
|
||||
["BRAILLE LINE: 'Edit menu'",
|
||||
" VISIBLE: 'Edit menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'Edit menu.'",
|
||||
"SPEECH OUTPUT: '1 of 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Move to View",
|
||||
["BRAILLE LINE: 'View menu'",
|
||||
" VISIBLE: 'View menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'View menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Move to Themes",
|
||||
["BRAILLE LINE: 'Themes > menu'",
|
||||
" VISIBLE: 'Themes > menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'menu'",
|
||||
"SPEECH OUTPUT: 'Themes > menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Move to basic grey",
|
||||
["BRAILLE LINE: 'Basic Grey'",
|
||||
" VISIBLE: 'Basic Grey', cursor=1",
|
||||
"SPEECH OUTPUT: 'menu'",
|
||||
"SPEECH OUTPUT: 'Basic Grey.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Move to the blues",
|
||||
["BRAILLE LINE: 'The Blues'",
|
||||
" VISIBLE: 'The Blues', cursor=1",
|
||||
"SPEECH OUTPUT: 'The Blues.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Move to garden",
|
||||
["BRAILLE LINE: 'Garden'",
|
||||
" VISIBLE: 'Garden', cursor=1",
|
||||
"SPEECH OUTPUT: 'Garden.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Move to in the pink",
|
||||
["BRAILLE LINE: 'In the Pink grayed'",
|
||||
" VISIBLE: 'In the Pink grayed', cursor=1",
|
||||
"SPEECH OUTPUT: 'In the Pink grayed.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Move to rose",
|
||||
["BRAILLE LINE: 'Rose'",
|
||||
" VISIBLE: 'Rose', cursor=1",
|
||||
"SPEECH OUTPUT: 'Rose.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Move back to Themes",
|
||||
["BRAILLE LINE: 'Themes > menu'",
|
||||
" VISIBLE: 'Themes > menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'Themes > menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Move to hide",
|
||||
["BRAILLE LINE: 'Hide'",
|
||||
" VISIBLE: 'Hide', cursor=1",
|
||||
"SPEECH OUTPUT: 'Hide.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Move to show",
|
||||
["BRAILLE LINE: 'Show'",
|
||||
" VISIBLE: 'Show', cursor=1",
|
||||
"SPEECH OUTPUT: 'Show.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Move to more",
|
||||
["BRAILLE LINE: 'More > menu'",
|
||||
" VISIBLE: 'More > menu', cursor=1",
|
||||
"SPEECH OUTPUT: 'More > menu.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Move to one",
|
||||
["BRAILLE LINE: 'one'",
|
||||
" VISIBLE: 'one', cursor=1",
|
||||
"SPEECH OUTPUT: 'menu'",
|
||||
"SPEECH OUTPUT: 'one.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Move to two",
|
||||
["BRAILLE LINE: 'two'",
|
||||
" VISIBLE: 'two', cursor=1",
|
||||
"SPEECH OUTPUT: 'two.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-progressbar.html
|
@ -1,30 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA progressbar presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Progress output",
|
||||
["SPEECH OUTPUT: '10 percent.'",
|
||||
"SPEECH OUTPUT: '20 percent.'",
|
||||
"SPEECH OUTPUT: '30 percent.'",
|
||||
"SPEECH OUTPUT: '40 percent.'",
|
||||
"SPEECH OUTPUT: '50 percent.'",
|
||||
"SPEECH OUTPUT: '60 percent.'",
|
||||
"SPEECH OUTPUT: '70 percent.'",
|
||||
"SPEECH OUTPUT: '80 percent.'",
|
||||
"SPEECH OUTPUT: '90 percent.'",
|
||||
"SPEECH OUTPUT: '100 percent.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-radiobutton.html
|
@ -1,91 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to first radio button",
|
||||
["BRAILLE LINE: '&=y Radio Maria radio button'",
|
||||
" VISIBLE: '&=y Radio Maria radio button', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Lunch Options panel.'",
|
||||
"SPEECH OUTPUT: 'Radio Maria.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic whereamI",
|
||||
["BRAILLE LINE: '&=y Radio Maria radio button'",
|
||||
" VISIBLE: '&=y Radio Maria radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Lunch Options.'",
|
||||
"SPEECH OUTPUT: 'Radio Maria radio button.'",
|
||||
"SPEECH OUTPUT: 'selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Move to next radio button",
|
||||
["BRAILLE LINE: '&=y Rainbow Gardens radio button'",
|
||||
" VISIBLE: '&=y Rainbow Gardens radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Rainbow Gardens.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Basic whereamI",
|
||||
["BRAILLE LINE: '&=y Rainbow Gardens radio button'",
|
||||
" VISIBLE: '&=y Rainbow Gardens radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Lunch Options.'",
|
||||
"SPEECH OUTPUT: 'Rainbow Gardens radio button.'",
|
||||
"SPEECH OUTPUT: 'selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down arrow within radio group",
|
||||
["BRAILLE LINE: '&=y Thai radio button'",
|
||||
" VISIBLE: '&=y Thai radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Thai.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab to second radio group",
|
||||
["BRAILLE LINE: '&=y Water radio button'",
|
||||
" VISIBLE: '&=y Water radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'leaving panel.'",
|
||||
"SPEECH OUTPUT: 'Drink Options panel.'",
|
||||
"SPEECH OUTPUT: 'Water.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Move to next radio button",
|
||||
["BRAILLE LINE: '&=y Tea radio button'",
|
||||
" VISIBLE: '&=y Tea radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tea.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Move back to previous radio button",
|
||||
["BRAILLE LINE: '&=y Water radio button'",
|
||||
" VISIBLE: '&=y Water radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Water.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-roledescription.html
|
@ -1,49 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Basic Where Am I on a div with only a roledescription",
|
||||
["BRAILLE LINE: 'Focus me 2 kill switch'",
|
||||
" VISIBLE: 'Focus me 2 kill switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 2 kill switch'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic Where Am I on a div with role button and a roledescription",
|
||||
["BRAILLE LINE: 'Focus me 4 kill switch'",
|
||||
" VISIBLE: 'Focus me 4 kill switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 4 kill switch'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Basic Where Am I on a button element with a roledescription",
|
||||
["BRAILLE LINE: 'Focus me 6 kill switch'",
|
||||
" VISIBLE: 'Focus me 6 kill switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 6 kill switch'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-slider.html
|
@ -1,75 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA slider presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. tab to slider",
|
||||
["BRAILLE LINE: 'My slider 10% horizontal slider'",
|
||||
" VISIBLE: 'My slider 10% horizontal slider', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'My slider horizontal slider 10%'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. basic whereAmI",
|
||||
["BRAILLE LINE: 'My slider 10% horizontal slider'",
|
||||
" VISIBLE: 'My slider 10% horizontal slider', cursor=1",
|
||||
"BRAILLE LINE: 'My slider 10% horizontal slider'",
|
||||
" VISIBLE: 'My slider 10% horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: 'My slider horizontal slider 10% 10 percent.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. move slider right",
|
||||
["BRAILLE LINE: 'My slider $15.00 horizontal slider'",
|
||||
" VISIBLE: 'My slider $15.00 horizontal slid', cursor=1",
|
||||
"SPEECH OUTPUT: '$15.00'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. move slider right",
|
||||
["BRAILLE LINE: 'My slider $20.00 horizontal slider'",
|
||||
" VISIBLE: 'My slider $20.00 horizontal slid', cursor=1",
|
||||
"SPEECH OUTPUT: '$20.00'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. move slider left",
|
||||
["BRAILLE LINE: 'My slider $15.00 horizontal slider'",
|
||||
" VISIBLE: 'My slider $15.00 horizontal slid', cursor=1",
|
||||
"SPEECH OUTPUT: '$15.00'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("End"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. move slider end",
|
||||
["BRAILLE LINE: 'My slider $100.00 horizontal slider'",
|
||||
" VISIBLE: 'My slider $100.00 horizontal sli', cursor=1",
|
||||
"SPEECH OUTPUT: '$100.00'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. move slider home",
|
||||
["BRAILLE LINE: 'My slider $0.00 horizontal slider'",
|
||||
" VISIBLE: 'My slider $0.00 horizontal slide', cursor=1",
|
||||
"SPEECH OUTPUT: '$0.00'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Slider.html
|
@ -1,127 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo slider presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(10000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to first slider",
|
||||
["BRAILLE LINE: 'slider 1 10 horizontal slider'",
|
||||
" VISIBLE: 'slider 1 10 horizontal slider', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'form'",
|
||||
"SPEECH OUTPUT: 'slider 1 horizontal slider 10.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Increment first slider",
|
||||
["KNOWN ISSUE: This is the value exposed to us so we're passing it along as-is.",
|
||||
"BRAILLE LINE: 'slider 1 10.[0-9]+ horizontal slider'",
|
||||
" VISIBLE: 'slider 1 10.[0-9]+ hori[a-z]*', cursor=1",
|
||||
"SPEECH OUTPUT: '10.[0-9]+'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Increment first slider",
|
||||
["BRAILLE LINE: 'slider 1 10.[0-9]+ horizontal slider'",
|
||||
" VISIBLE: 'slider 1 10.[0-9]+ hori[a-z]*', cursor=1",
|
||||
"SPEECH OUTPUT: '10.[0-9]+'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Decrement first slider",
|
||||
["BRAILLE LINE: 'slider 1 10.[0-9]+ horizontal slider'",
|
||||
" VISIBLE: 'slider 1 10.[0-9]+ hori[a-z]*', cursor=1",
|
||||
"SPEECH OUTPUT: '10.[0-9]+'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Decrement first slider",
|
||||
["BRAILLE LINE: 'slider 1 10.[0-9]+ horizontal slider'",
|
||||
" VISIBLE: 'slider 1 10.[0-9]+ hori[a-z]*', cursor=1",
|
||||
"SPEECH OUTPUT: '10.[0-9]+'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Move to entry",
|
||||
["BRAILLE LINE: 'Slider1 Value: 10.[0-9]% rdonly'",
|
||||
" VISIBLE: 'Slider1 Value: 10.[0-9]% rdonly', cursor=21",
|
||||
"SPEECH OUTPUT: 'Slider1 Value: read only entry 10.[0-9]% selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Move to button",
|
||||
["BRAILLE LINE: 'Disable previous slider push button'",
|
||||
" VISIBLE: 'Disable previous slider push but', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Disable previous slider push button'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Tab to second slider",
|
||||
["BRAILLE LINE: 'Disable previous slider push button'",
|
||||
" VISIBLE: 'Disable previous slider push but', cursor=1",
|
||||
"BRAILLE LINE: 'slider 2 10 horizontal slider'",
|
||||
" VISIBLE: 'slider 2 10 horizontal slider', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'slider 2 horizontal slider 10.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Increment second slider",
|
||||
["BRAILLE LINE: 'slider 2 10 horizontal slider'",
|
||||
" VISIBLE: 'slider 2 10 horizontal slider', cursor=1",
|
||||
"BRAILLE LINE: 'slider 2 20 horizontal slider'",
|
||||
" VISIBLE: 'slider 2 20 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '20'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Increment second slider",
|
||||
["BRAILLE LINE: 'slider 2 30 horizontal slider'",
|
||||
" VISIBLE: 'slider 2 30 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '30'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Decrement second slider",
|
||||
["BRAILLE LINE: 'slider 2 20 horizontal slider'",
|
||||
" VISIBLE: 'slider 2 20 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '20'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Decrement second slider",
|
||||
["BRAILLE LINE: 'slider 2 10 horizontal slider'",
|
||||
" VISIBLE: 'slider 2 10 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '10'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://files.paciellogroup.com/blogmisc/samples/aria/slider/
|
@ -1,210 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA horizontal sliders using Firefox."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(10000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to Volume Horizontal Slider",
|
||||
["BRAILLE LINE: 'Volume 0 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 0 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: 'Volume horizontal slider 0 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Volume Right Arrow",
|
||||
["BRAILLE LINE: 'Volume 1 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 1 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '1 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Volume Right Arrow",
|
||||
["BRAILLE LINE: 'Volume 2 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 2 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '2 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Volume Left Arrow",
|
||||
["BRAILLE LINE: 'Volume 1 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 1 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '1 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Volume Left Arrow",
|
||||
["BRAILLE LINE: 'Volume 0 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 0 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '0 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Volume Up Arrow",
|
||||
["BRAILLE LINE: 'Volume 1 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 1 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '1 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Volume Up Arrow",
|
||||
["BRAILLE LINE: 'Volume 2 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 2 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '2 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Volume Down Arrow",
|
||||
["BRAILLE LINE: 'Volume 1 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 1 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '1 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Volume Down Arrow",
|
||||
["BRAILLE LINE: 'Volume 0 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 0 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '0 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Page_Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Volume Page Up",
|
||||
["BRAILLE LINE: 'Volume 25 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 25 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '25 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Page_Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Volume Page Down",
|
||||
["BRAILLE LINE: 'Volume 0 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 0 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '0 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("End"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Volume End",
|
||||
["BRAILLE LINE: 'Volume 100 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 100 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '100 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Volume Home",
|
||||
["BRAILLE LINE: 'Volume 0 % horizontal slider'",
|
||||
" VISIBLE: 'Volume 0 % horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '0 %'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Tab to Food Quality Horizontal Slider",
|
||||
["KNOWN ISSUE: The double-presentation is because of the authoring, putting the name and value into the description",
|
||||
"BRAILLE LINE: 'Food Quality terrible horizontal slider'",
|
||||
" VISIBLE: 'Food Quality terrible horizontal', cursor=1",
|
||||
"SPEECH OUTPUT: 'Food Quality horizontal slider terrible.'",
|
||||
"SPEECH OUTPUT: 'Food Quality: terrible (1 of 5)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Food Quality Right Arrow",
|
||||
["BRAILLE LINE: 'Food Quality bad horizontal slider'",
|
||||
" VISIBLE: 'Food Quality bad horizontal slid', cursor=1",
|
||||
"SPEECH OUTPUT: 'bad'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Food Quality Right Arrow",
|
||||
["BRAILLE LINE: 'Food Quality decent horizontal slider'",
|
||||
" VISIBLE: 'Food Quality decent horizontal s', cursor=1",
|
||||
"SPEECH OUTPUT: 'decent'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Food Quality Left Arrow",
|
||||
["BRAILLE LINE: 'Food Quality bad horizontal slider'",
|
||||
" VISIBLE: 'Food Quality bad horizontal slid', cursor=1",
|
||||
"SPEECH OUTPUT: 'bad'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"18. Food Quality Up Arrow",
|
||||
["BRAILLE LINE: 'Food Quality decent horizontal slider'",
|
||||
" VISIBLE: 'Food Quality decent horizontal s', cursor=1",
|
||||
"SPEECH OUTPUT: 'decent'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"19. Food Quality Down Arrow",
|
||||
["BRAILLE LINE: 'Food Quality bad horizontal slider'",
|
||||
" VISIBLE: 'Food Quality bad horizontal slid', cursor=1",
|
||||
"SPEECH OUTPUT: 'bad'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"20. Food Quality Down Arrow",
|
||||
["BRAILLE LINE: 'Food Quality terrible horizontal slider'",
|
||||
" VISIBLE: 'Food Quality terrible horizontal', cursor=1",
|
||||
"SPEECH OUTPUT: 'terrible'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Page_Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"21. Food Quality Page Up",
|
||||
["BRAILLE LINE: 'Food Quality bad horizontal slider'",
|
||||
" VISIBLE: 'Food Quality bad horizontal slid', cursor=1",
|
||||
"SPEECH OUTPUT: 'bad'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Page_Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"22. Food Quality Page Down",
|
||||
["BRAILLE LINE: 'Food Quality terrible horizontal slider'",
|
||||
" VISIBLE: 'Food Quality terrible horizontal', cursor=1",
|
||||
"SPEECH OUTPUT: 'terrible'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("End"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"23. Food Quality End",
|
||||
["BRAILLE LINE: 'Food Quality excellent horizontal slider'",
|
||||
" VISIBLE: 'Food Quality excellent horizonta', cursor=1",
|
||||
"SPEECH OUTPUT: 'excellent'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"24. Food Quality Home",
|
||||
["BRAILLE LINE: 'Food Quality terrible horizontal slider'",
|
||||
" VISIBLE: 'Food Quality terrible horizontal', cursor=1",
|
||||
"SPEECH OUTPUT: 'terrible'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-sliders.html
|
@ -1,118 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to slider 1",
|
||||
["BRAILLE LINE: 'embedded'",
|
||||
" VISIBLE: 'embedded', cursor=1",
|
||||
"BRAILLE LINE: '30 horizontal slider'",
|
||||
" VISIBLE: '30 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: 'horizontal slider 30.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic whereAmI on slider 1",
|
||||
["BRAILLE LINE: '30 horizontal slider'",
|
||||
" VISIBLE: '30 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: 'horizontal slider 30 30 percent.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Increment slider 1",
|
||||
["BRAILLE LINE: '35 horizontal slider'",
|
||||
" VISIBLE: '35 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '35'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Increment slider 1",
|
||||
["BRAILLE LINE: '40 horizontal slider'",
|
||||
" VISIBLE: '40 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '40'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Decrement slider 1",
|
||||
["BRAILLE LINE: '35 horizontal slider'",
|
||||
" VISIBLE: '35 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '35'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab to slider 2's left range",
|
||||
["BRAILLE LINE: '1950 horizontal slider'",
|
||||
" VISIBLE: '1950 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: 'horizontal slider 1950.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Increment slider 2's left range",
|
||||
["BRAILLE LINE: '1951 horizontal slider'",
|
||||
" VISIBLE: '1951 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '1951'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Increment slider 2's left range",
|
||||
["BRAILLE LINE: '1952 horizontal slider'",
|
||||
" VISIBLE: '1952 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '1952'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Decrement slider 2's left range",
|
||||
["BRAILLE LINE: '1951 horizontal slider'",
|
||||
" VISIBLE: '1951 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '1951'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Tab to slider 2's right range",
|
||||
["BRAILLE LINE: '2000 horizontal slider'",
|
||||
" VISIBLE: '2000 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: 'horizontal slider 2000.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Increment slider 2's right range",
|
||||
["BRAILLE LINE: '2001 horizontal slider'",
|
||||
" VISIBLE: '2001 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '2001'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Increment slider 2's right range",
|
||||
["BRAILLE LINE: '2002 horizontal slider'",
|
||||
" VISIBLE: '2002 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '2002'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Decrement slider 2's right range",
|
||||
["BRAILLE LINE: '2001 horizontal slider'",
|
||||
" VISIBLE: '2001 horizontal slider', cursor=1",
|
||||
"SPEECH OUTPUT: '2001'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Spinner.html
|
@ -1,61 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo spinner presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to the first spinner",
|
||||
["BRAILLE LINE: 'Spinbox #1: 900 $l'",
|
||||
" VISIBLE: 'Spinbox #1: 900 $l', cursor=16",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'form'",
|
||||
"SPEECH OUTPUT: 'Spinbox #1: 900 selected spin button.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Decrement first spinner",
|
||||
["BRAILLE LINE: 'Spinbox #1: 899 $l'",
|
||||
" VISIBLE: 'Spinbox #1: 899 $l', cursor=16",
|
||||
"BRAILLE LINE: 'Spinbox #1: 899 $l'",
|
||||
" VISIBLE: 'Spinbox #1: 899 $l', cursor=16",
|
||||
"SPEECH OUTPUT: '899'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Decrement first spinner",
|
||||
["BRAILLE LINE: 'Spinbox #1: 898 $l'",
|
||||
" VISIBLE: 'Spinbox #1: 898 $l', cursor=16",
|
||||
"SPEECH OUTPUT: '898'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Increment first spinner",
|
||||
["BRAILLE LINE: 'Spinbox #1: 899 $l'",
|
||||
" VISIBLE: 'Spinbox #1: 899 $l', cursor=16",
|
||||
"SPEECH OUTPUT: '899'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. basic whereAmI",
|
||||
["BRAILLE LINE: 'Spinbox #1: 899 $l'",
|
||||
" VISIBLE: 'Spinbox #1: 899 $l', cursor=16",
|
||||
"SPEECH OUTPUT: 'Spinbox #1: spin button 899.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-switch.html
|
@ -1,64 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA switch presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to switch",
|
||||
["BRAILLE LINE: '& y Power saving switch'",
|
||||
" VISIBLE: '& y Power saving switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Power saving switch off'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Change state of switch",
|
||||
["BRAILLE LINE: '&=y Power saving switch'",
|
||||
" VISIBLE: '&=y Power saving switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'on'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Change state of switch",
|
||||
["BRAILLE LINE: '& y Power saving switch'",
|
||||
" VISIBLE: '& y Power saving switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'off'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Basic whereAmI",
|
||||
["BRAILLE LINE: '& y Power saving switch'",
|
||||
" VISIBLE: '& y Power saving switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Power saving switch off'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Up arrow",
|
||||
["BRAILLE LINE: 'Line 1'",
|
||||
" VISIBLE: 'Line 1', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Down arrow",
|
||||
["BRAILLE LINE: 'Line 2: & y Power saving switch'",
|
||||
" VISIBLE: 'Line 2: & y Power saving switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 2:'",
|
||||
"SPEECH OUTPUT: 'Power saving switch off'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/layout/test_TabContainer.html
|
@ -1,53 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo tab container presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to tab list",
|
||||
["BRAILLE LINE: 'Tab 2 page tab'",
|
||||
" VISIBLE: 'Tab 2 page tab', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Tab 2 page tab.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Right arrow to next tab",
|
||||
["BRAILLE LINE: 'Tab 2 page tab'",
|
||||
" VISIBLE: 'Tab 2 page tab', cursor=1",
|
||||
"BRAILLE LINE: 'Tab 3 page tab'",
|
||||
" VISIBLE: 'Tab 3 page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tab 3 page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Right arrow to next tab",
|
||||
["BRAILLE LINE: 'Inlined Sub TabContainer page tab'",
|
||||
" VISIBLE: 'Inlined Sub TabContainer page ta', cursor=1",
|
||||
"SPEECH OUTPUT: 'Inlined Sub TabContainer page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Tab to contents",
|
||||
["BRAILLE LINE: 'SubTab 2 page tab'",
|
||||
" VISIBLE: 'SubTab 2 page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'SubTab 2 page tab.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-tabpanel.html
|
@ -1,77 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA tabpanel presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Basic whereAmI",
|
||||
["BRAILLE LINE: 'Tab Zero page tab'",
|
||||
" VISIBLE: 'Tab Zero page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'page tab list.'",
|
||||
"SPEECH OUTPUT: 'Tab Zero.'",
|
||||
"SPEECH OUTPUT: '1 of 5'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Right arrow to next tab",
|
||||
["BRAILLE LINE: 'Tab One page tab'",
|
||||
" VISIBLE: 'Tab One page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tab One page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Right arrow to next tab",
|
||||
["BRAILLE LINE: 'Tab Two page tab'",
|
||||
" VISIBLE: 'Tab Two page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tab Two page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Tab to contents",
|
||||
["BRAILLE LINE: '&=y Internal Portal Bookmark radio button'",
|
||||
" VISIBLE: '&=y Internal Portal Bookmark rad', cursor=1",
|
||||
"SPEECH OUTPUT: 'Internal Portal Bookmark.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Shift+Tab out of contents",
|
||||
["BRAILLE LINE: 'Tab Two page tab'",
|
||||
" VISIBLE: 'Tab Two page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tab Two page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Right arrow to next tab",
|
||||
["BRAILLE LINE: 'Tab Three page tab'",
|
||||
" VISIBLE: 'Tab Three page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tab Three page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Right arrow to next tab",
|
||||
["BRAILLE LINE: 'Tab Four page tab'",
|
||||
" VISIBLE: 'Tab Four page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tab Four page tab.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-tabpanel2.html
|
@ -1,99 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Give focus to a widget in the first Tab",
|
||||
["BRAILLE LINE: '&=y Thick and cheesy radio button'",
|
||||
" VISIBLE: '&=y Thick and cheesy radio butto', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'List with 4 items.'",
|
||||
"SPEECH OUTPUT: 'Thick and cheesy.'",
|
||||
"SPEECH OUTPUT: 'selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Page_Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Ctrl Page Down to second tab",
|
||||
["BRAILLE LINE: '&=y Thick and cheesy radio button'",
|
||||
" VISIBLE: '&=y Thick and cheesy radio butto', cursor=1",
|
||||
"BRAILLE LINE: 'Veggies page tab'",
|
||||
" VISIBLE: 'Veggies page tab', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Veggies page tab.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Right arrow to third tab",
|
||||
["BRAILLE LINE: 'Veggies page tab'",
|
||||
" VISIBLE: 'Veggies page tab', cursor=1",
|
||||
"BRAILLE LINE: 'Carnivore page tab'",
|
||||
" VISIBLE: 'Carnivore page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Carnivore page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. basic whereAmI",
|
||||
["BRAILLE LINE: 'Carnivore page tab'",
|
||||
" VISIBLE: 'Carnivore page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'page tab list.'",
|
||||
"SPEECH OUTPUT: 'Carnivore page tab.'",
|
||||
"SPEECH OUTPUT: '3 of 4'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Right arrow to fourth tab",
|
||||
["BRAILLE LINE: 'Delivery page tab'",
|
||||
" VISIBLE: 'Delivery page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Delivery page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Left arrow back to third tab",
|
||||
["BRAILLE LINE: 'Carnivore page tab'",
|
||||
" VISIBLE: 'Carnivore page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Carnivore page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Press Tab to move into the third page",
|
||||
["BRAILLE LINE: '< > Pepperoni check box'",
|
||||
" VISIBLE: '< > Pepperoni check box', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'List with 4 items'",
|
||||
"SPEECH OUTPUT: 'Pepperoni check box not checked.'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Toggle the focused checkbox",
|
||||
["BRAILLE LINE: '< > Pepperoni check box'",
|
||||
" VISIBLE: '< > Pepperoni check box', cursor=1",
|
||||
"BRAILLE LINE: '<x> Pepperoni check box'",
|
||||
" VISIBLE: '<x> Pepperoni check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'checked'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Dialog.html
|
@ -1,72 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of presentation of Dojo's panel text."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Space to press the Show TabContainer Dialog",
|
||||
["BRAILLE LINE: 'TabContainer Dialog dialog'",
|
||||
" VISIBLE: 'TabContainer Dialog dialog', cursor=1",
|
||||
"BRAILLE LINE: 'First tab page tab'",
|
||||
" VISIBLE: 'First tab page tab', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'TabContainer Dialog This is the first tab. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae risus.'",
|
||||
"SPEECH OUTPUT: 'First tab page tab.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Right Arrow to the Second tab page",
|
||||
["BRAILLE LINE: 'First tab page tab'",
|
||||
" VISIBLE: 'First tab page tab', cursor=1",
|
||||
"BRAILLE LINE: 'Second tab page tab'",
|
||||
" VISIBLE: 'Second tab page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Second tab page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab into the panel",
|
||||
["BRAILLE LINE: 'ipsum dolor sit amet'",
|
||||
" VISIBLE: 'ipsum dolor sit amet', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'ipsum dolor sit amet link.'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down Arrow in Browse Mode",
|
||||
["BRAILLE LINE: 'ipsum dolor sit amet'",
|
||||
" VISIBLE: 'ipsum dolor sit amet', cursor=1",
|
||||
"BRAILLE LINE: 'semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum'",
|
||||
" VISIBLE: 'semper sagittis velit. Cras in m', cursor=1",
|
||||
"SPEECH OUTPUT: 'semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down Arrow in Browse Mode",
|
||||
["BRAILLE LINE: 'lacus. Etiam consequat scelerisque quam. Nulla facilisi. Maecenas luctus'",
|
||||
" VISIBLE: 'lacus. Etiam consequat scelerisq', cursor=1",
|
||||
"SPEECH OUTPUT: 'lacus. Etiam consequat scelerisque quam. Nulla facilisi. Maecenas luctus'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Toolbar.html
|
@ -1,55 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo toolbar presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(10000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Ctrl + Home",
|
||||
["BRAILLE LINE: 'Toolbar test h1'",
|
||||
" VISIBLE: 'Toolbar test h1', cursor=1",
|
||||
"SPEECH OUTPUT: 'Toolbar test heading level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down Arrow",
|
||||
["BRAILLE LINE: 'Toolbar from markup h2'",
|
||||
" VISIBLE: 'Toolbar from markup h2', cursor=1",
|
||||
"SPEECH OUTPUT: 'Toolbar from markup heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down Arrow",
|
||||
["BRAILLE LINE: 'input before toolbar1 $l'",
|
||||
" VISIBLE: 'input before toolbar1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'entry input before toolbar1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down Arrow",
|
||||
["BRAILLE LINE: 'tool bar'",
|
||||
" VISIBLE: 'tool bar', cursor=1",
|
||||
"SPEECH OUTPUT: 'tool bar'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down Arrow",
|
||||
["KNOWN ISSUE: 'Sometimes it takes additional arrow presses to get here. Timing issue?",
|
||||
"BRAILLE LINE: 'input after toolbar1 $l'",
|
||||
" VISIBLE: 'input after toolbar1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'entry input after toolbar1.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-tree.html
|
@ -1,168 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to tree",
|
||||
["BRAILLE LINE: 'embedded'",
|
||||
" VISIBLE: 'embedded', cursor=1",
|
||||
"BRAILLE LINE: 'Fruits expanded'",
|
||||
" VISIBLE: 'Fruits expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'Fruits.'",
|
||||
"SPEECH OUTPUT: 'expanded.'",
|
||||
"SPEECH OUTPUT: 'tree level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic whereAmI",
|
||||
["BRAILLE LINE: 'Fruits expanded'",
|
||||
" VISIBLE: 'Fruits expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: 'Fruits.'",
|
||||
"SPEECH OUTPUT: '1 of 2.'",
|
||||
"SPEECH OUTPUT: 'expanded tree level 1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down arrow to oranges",
|
||||
["BRAILLE LINE: 'Oranges list item'",
|
||||
" VISIBLE: 'Oranges list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Oranges.'",
|
||||
"SPEECH OUTPUT: 'tree level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down arrow to pineapples",
|
||||
["BRAILLE LINE: 'Pineapples list item'",
|
||||
" VISIBLE: 'Pineapples list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Pineapples.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down arrow to apples",
|
||||
["BRAILLE LINE: 'Apples collapsed'",
|
||||
" VISIBLE: 'Apples collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Apples.'",
|
||||
"SPEECH OUTPUT: 'collapsed.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Expand apples",
|
||||
["BRAILLE LINE: 'Apples expanded'",
|
||||
" VISIBLE: 'Apples expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Down arrow to macintosh",
|
||||
["BRAILLE LINE: 'Macintosh list item'",
|
||||
" VISIBLE: 'Macintosh list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Macintosh.'",
|
||||
"SPEECH OUTPUT: 'tree level 3'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Down arrow to granny smith",
|
||||
["BRAILLE LINE: 'Granny Smith collapsed'",
|
||||
" VISIBLE: 'Granny Smith collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Granny Smith.'",
|
||||
"SPEECH OUTPUT: 'collapsed.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Expand granny smith",
|
||||
["BRAILLE LINE: 'Granny Smith expanded'",
|
||||
" VISIBLE: 'Granny Smith expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Down arrow to washington state",
|
||||
["BRAILLE LINE: 'Washington State list item'",
|
||||
" VISIBLE: 'Washington State list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Washington State.'",
|
||||
"SPEECH OUTPUT: 'tree level 4'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Down arrow to michigan",
|
||||
["BRAILLE LINE: 'Michigan list item'",
|
||||
" VISIBLE: 'Michigan list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Michigan.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Down arrow to new york",
|
||||
["BRAILLE LINE: 'New York list item'",
|
||||
" VISIBLE: 'New York list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'New York.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Down arrow to fuji",
|
||||
["BRAILLE LINE: 'Fuji list item'",
|
||||
" VISIBLE: 'Fuji list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Fuji.'",
|
||||
"SPEECH OUTPUT: 'tree level 3'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Down arrow to bananas",
|
||||
["BRAILLE LINE: 'Bananas list item'",
|
||||
" VISIBLE: 'Bananas list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Bananas.'",
|
||||
"SPEECH OUTPUT: 'tree level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Down arrow to pears",
|
||||
["BRAILLE LINE: 'Pears list item'",
|
||||
" VISIBLE: 'Pears list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Pears.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Down arrow to vegetables",
|
||||
["BRAILLE LINE: 'Vegetables expanded'",
|
||||
" VISIBLE: 'Vegetables expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'Vegetables.'",
|
||||
"SPEECH OUTPUT: 'expanded.'",
|
||||
"SPEECH OUTPUT: 'tree level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Collapse vegetables",
|
||||
["BRAILLE LINE: 'Vegetables collapsed'",
|
||||
" VISIBLE: 'Vegetables collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'collapsed'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/tree/test_Tree.html
|
@ -1,149 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Dojo tree presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(8000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to continents",
|
||||
["BRAILLE LINE: 'before: $l'",
|
||||
" VISIBLE: 'before: $l', cursor=9",
|
||||
"BRAILLE LINE: 'Continents expanded'",
|
||||
" VISIBLE: 'Continents expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'Continents.'",
|
||||
"SPEECH OUTPUT: 'expanded.'",
|
||||
"SPEECH OUTPUT: 'tree level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down arrow to Africa",
|
||||
["BRAILLE LINE: 'Africa collapsed'",
|
||||
" VISIBLE: 'Africa collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Africa.'",
|
||||
"SPEECH OUTPUT: 'collapsed.'",
|
||||
"SPEECH OUTPUT: 'tree level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Basic whereAmI",
|
||||
["BRAILLE LINE: 'Africa collapsed'",
|
||||
" VISIBLE: 'Africa collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Africa.'",
|
||||
"SPEECH OUTPUT: '1 of 6.'",
|
||||
"SPEECH OUTPUT: 'collapsed tree level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Expand Africa",
|
||||
["BRAILLE LINE: 'Africa expanded'",
|
||||
" VISIBLE: 'Africa expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down arrow to Egypt",
|
||||
["BRAILLE LINE: 'Egypt list item'",
|
||||
" VISIBLE: 'Egypt list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Egypt.'",
|
||||
"SPEECH OUTPUT: 'tree level 3'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Down arrow to Kenya",
|
||||
["BRAILLE LINE: 'Kenya collapsed'",
|
||||
" VISIBLE: 'Kenya collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Kenya.'",
|
||||
"SPEECH OUTPUT: 'collapsed.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Expand Kenya",
|
||||
["BRAILLE LINE: 'Kenya expanded'",
|
||||
" VISIBLE: 'Kenya expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Collapse Kenya",
|
||||
["BRAILLE LINE: 'Kenya collapsed'",
|
||||
" VISIBLE: 'Kenya collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'collapsed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Down arrow to Sudan",
|
||||
["BRAILLE LINE: 'Sudan collapsed'",
|
||||
" VISIBLE: 'Sudan collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Sudan.'",
|
||||
"SPEECH OUTPUT: 'collapsed.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Down arrow to Asia",
|
||||
["BRAILLE LINE: 'Asia collapsed'",
|
||||
" VISIBLE: 'Asia collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Asia.'",
|
||||
"SPEECH OUTPUT: 'collapsed.'",
|
||||
"SPEECH OUTPUT: 'tree level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Expand Asia",
|
||||
["BRAILLE LINE: 'Asia expanded'",
|
||||
" VISIBLE: 'Asia expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Down arrow to China",
|
||||
["BRAILLE LINE: 'China list item'",
|
||||
" VISIBLE: 'China list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'China.'",
|
||||
"SPEECH OUTPUT: 'tree level 3'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Down arrow to India",
|
||||
["BRAILLE LINE: 'India list item'",
|
||||
" VISIBLE: 'India list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'India.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Down arrow to Russia",
|
||||
["BRAILLE LINE: 'Russia list item'",
|
||||
" VISIBLE: 'Russia list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Russia.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Down arrow to Mongolia",
|
||||
["BRAILLE LINE: 'Mongolia list item'",
|
||||
" VISIBLE: 'Mongolia list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Mongolia.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-treegrid.html
|
@ -1,142 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of ARIA treegrid presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Navigate to the treegrid",
|
||||
["BRAILLE LINE: '+A Question of Love table cell'",
|
||||
" VISIBLE: '+A Question of Love table cell', cursor=1",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'collapsed'",
|
||||
"SPEECH OUTPUT: '+A Question of Love.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down Arrow",
|
||||
["BRAILLE LINE: '+A Question of Love table cell'",
|
||||
" VISIBLE: '+A Question of Love table cell', cursor=1",
|
||||
"BRAILLE LINE: '+ Piece of Peace table row'",
|
||||
" VISIBLE: '+ Piece of Peace table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'collapsed'",
|
||||
"SPEECH OUTPUT: '+ Piece of Peace table row tree level 1 not selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down Arrow",
|
||||
["BRAILLE LINE: '+ International Law table row'",
|
||||
" VISIBLE: '+ International Law table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'collapsed'",
|
||||
"SPEECH OUTPUT: '+ International Law table row tree level 1 not selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up Arrow",
|
||||
["BRAILLE LINE: '+ Piece of Peace table row'",
|
||||
" VISIBLE: '+ Piece of Peace table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'collapsed'",
|
||||
"SPEECH OUTPUT: '+ Piece of Peace table row tree level 1 not selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Up Arrow",
|
||||
["BRAILLE LINE: '+A Question of Love table row'",
|
||||
" VISIBLE: '+A Question of Love table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'collapsed'",
|
||||
"SPEECH OUTPUT: '+A Question of Love table row tree level 1 not selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. basic whereAmI",
|
||||
["BRAILLE LINE: '+A Question of Love table row'",
|
||||
" VISIBLE: '+A Question of Love table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'table row.'",
|
||||
"SPEECH OUTPUT: 'ISBN.'",
|
||||
"SPEECH OUTPUT: '+A Question of Love.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Space to expand the current item",
|
||||
["BRAILLE LINE: '-A Question of Love table row'",
|
||||
" VISIBLE: '-A Question of Love table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. basic whereAmI",
|
||||
["BRAILLE LINE: '-A Question of Love table row'",
|
||||
" VISIBLE: '-A Question of Love table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'table row.'",
|
||||
"SPEECH OUTPUT: 'ISBN.'",
|
||||
"SPEECH OUTPUT: '-A Question of Love.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Down Arrow into child",
|
||||
["BRAILLE LINE: '978-3-453-40540-0 Nora Roberts $ 9.99 table row'",
|
||||
" VISIBLE: '978-3-453-40540-0 Nora Roberts $', cursor=1",
|
||||
"SPEECH OUTPUT: '978-3-453-40540-0 Nora Roberts $ 9.99 table row tree level 2 not selected.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Right Arrow in child",
|
||||
["KNOWN ISSUE: We should only be presenting the cell",
|
||||
"BRAILLE LINE: '978-3-453-40540-0 Nora Roberts $ 9.99 table row'",
|
||||
" VISIBLE: '978-3-453-40540-0 Nora Roberts $', cursor=1",
|
||||
"SPEECH OUTPUT: '978-3-453-40540-0 Nora Roberts $ 9.99 table row tree level 2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Right Arrow in child",
|
||||
["BRAILLE LINE: '978-3-453-40540-0 Nora Roberts $ 9.99 table row'",
|
||||
" VISIBLE: '978-3-453-40540-0 Nora Roberts $', cursor=1",
|
||||
"SPEECH OUTPUT: '978-3-453-40540-0 Nora Roberts $ 9.99 table row tree level 2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Left Arrow in child",
|
||||
["BRAILLE LINE: '978-3-453-40540-0 Nora Roberts $ 9.99 table row'",
|
||||
" VISIBLE: '978-3-453-40540-0 Nora Roberts $', cursor=1",
|
||||
"SPEECH OUTPUT: '978-3-453-40540-0 Nora Roberts $ 9.99 table row tree level 2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Left Arrow in child",
|
||||
["BRAILLE LINE: '978-3-453-40540-0 Nora Roberts $ 9.99 table row'",
|
||||
" VISIBLE: '978-3-453-40540-0 Nora Roberts $', cursor=1",
|
||||
"SPEECH OUTPUT: '978-3-453-40540-0 Nora Roberts $ 9.99 table row tree level 2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Up Arrow back to parent",
|
||||
["BRAILLE LINE: '-A Question of Love table row'",
|
||||
" VISIBLE: '-A Question of Love table row', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'",
|
||||
"SPEECH OUTPUT: '-A Question of Love table row tree level 1 not selected.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/cthulhu-wiki.html
|
@ -1,69 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of find result presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>F"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(TypeAction("cthulhu"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Return to next result",
|
||||
["BRAILLE LINE: 'Welcome to Cthulhu! h1'",
|
||||
" VISIBLE: 'Welcome to Cthulhu! h1', cursor=16",
|
||||
"SPEECH OUTPUT: 'Welcome to Cthulhu! heading level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Return to next result",
|
||||
["BRAILLE LINE: 'Welcome to Cthulhu!'",
|
||||
" VISIBLE: 'Welcome to Cthulhu!', cursor=1",
|
||||
"SPEECH OUTPUT: '1.'",
|
||||
"SPEECH OUTPUT: 'Welcome to Cthulhu!'",
|
||||
"SPEECH OUTPUT: 'link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Return to next result",
|
||||
["BRAILLE LINE: 'Cthulhu is a free, open source, flexible, extensible, and '",
|
||||
" VISIBLE: 'Cthulhu is a free, open source, fle', cursor=5",
|
||||
"SPEECH OUTPUT: 'Cthulhu is a free, open source, flexible, extensible, and'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Return to next result",
|
||||
["BRAILLE LINE: 'synthesis, braille, and magnification, Cthulhu helps provide '",
|
||||
" VISIBLE: 'magnification, Cthulhu helps provid', cursor=20",
|
||||
"SPEECH OUTPUT: 'synthesis, braille, and magnification, Cthulhu helps provide'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Escape to return to page content",
|
||||
["BRAILLE LINE: 'synthesis, braille, and magnification, Cthulhu helps provide '",
|
||||
" VISIBLE: 'magnification, Cthulhu helps provid', cursor=20",
|
||||
"SPEECH OUTPUT: 'synthesis, braille, and magnification, Cthulhu helps provide selected'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Down arrow to be sure we've updated our position",
|
||||
["BRAILLE LINE: 'access to applications and toolkits that support the AT-SPI'",
|
||||
" VISIBLE: 'access to applications and toolk', cursor=1",
|
||||
"SPEECH OUTPUT: 'access to applications and toolkits that support the AT-SPI'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/combobox.html
|
@ -1,75 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of flat reviewing HTML."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Flat review current line",
|
||||
["BRAILLE LINE: 'Severity normal combo box'",
|
||||
" VISIBLE: 'Severity normal combo box', cursor=10",
|
||||
"BRAILLE LINE: 'Severity Severity : normal $l'",
|
||||
" VISIBLE: 'Severity Severity : normal $l', cursor=22",
|
||||
"SPEECH OUTPUT: 'Severity Severity : normal'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Flat review next line",
|
||||
["BRAILLE LINE: 'Priority : Normal $l'",
|
||||
" VISIBLE: 'Priority : Normal $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Priority : Normal'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Flat review next line",
|
||||
["BRAILLE LINE: 'Resolution: $l'",
|
||||
" VISIBLE: 'Resolution: $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Resolution: ",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Flat review next line",
|
||||
["BRAILLE LINE: 'FIXED $l'",
|
||||
" VISIBLE: 'FIXED $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'FIXED'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Flat review next line",
|
||||
["BRAILLE LINE: 'Version 2.16 $l'",
|
||||
" VISIBLE: 'Version 2.16 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Version 2.16'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Flat review next line",
|
||||
["BRAILLE LINE: 'Component $l'",
|
||||
" VISIBLE: 'Component $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Component'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Flat review next line",
|
||||
["BRAILLE LINE: 'Speech $l'",
|
||||
" VISIBLE: 'Speech $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Speech'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/hidden.html
|
@ -1,58 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of flat review in content with hidden elements."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Flat review current line",
|
||||
["BRAILLE LINE: 'This element is not hidden. $l'",
|
||||
" VISIBLE: 'This element is not hidden. $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'This element is not hidden.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Flat review next line",
|
||||
["BRAILLE LINE: 'This element is in a parent which is not hidden. $l'",
|
||||
" VISIBLE: 'This element is in a parent whic', cursor=1",
|
||||
"SPEECH OUTPUT: 'This element is in a parent which is not hidden.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Flat review next line",
|
||||
["BRAILLE LINE: 'This element is not hidden. $l'",
|
||||
" VISIBLE: 'This element is not hidden. $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'This element is not hidden.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Flat review previous line",
|
||||
["BRAILLE LINE: 'This element is in a parent which is not hidden. $l'",
|
||||
" VISIBLE: 'This element is in a parent whic', cursor=1",
|
||||
"SPEECH OUTPUT: 'This element is in a parent which is not hidden.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Flat review previous line",
|
||||
["BRAILLE LINE: 'This element is not hidden. $l'",
|
||||
" VISIBLE: 'This element is not hidden. $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'This element is not hidden.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/blockquotes.html
|
@ -1,66 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of flat review by line in a simple text document."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Flat review current line",
|
||||
["BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'On weaponry:'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Flat review next line",
|
||||
["BRAILLE LINE: 'block quote $l'",
|
||||
" VISIBLE: 'block quote $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'block quote'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Flat review next line",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1",
|
||||
"SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Flat review next line",
|
||||
["BRAILLE LINE: 'surprise. Our two weapons are fear and surprise. And ruthless efficiency. Our three weapons are fear, $l'",
|
||||
" VISIBLE: 'surprise. Our two weapons are fe', cursor=1",
|
||||
"SPEECH OUTPUT: 'surprise. Our two weapons are fear and surprise. And ruthless efficiency. Our three weapons are fear, '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Flat review previous line",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1",
|
||||
"SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Flat review previous line",
|
||||
["BRAILLE LINE: 'block quote $l'",
|
||||
" VISIBLE: 'block quote $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'block quote'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/blockquotes.html
|
@ -1,192 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of flat review by word and char in a simple text document."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Flat review current word",
|
||||
["BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'On '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Flat review next word",
|
||||
["BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=4",
|
||||
"SPEECH OUTPUT: 'weaponry:'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Spell current word",
|
||||
["BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=4",
|
||||
"BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=4",
|
||||
"SPEECH OUTPUT: 'weaponry:'",
|
||||
"SPEECH OUTPUT: 'w'",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'a'",
|
||||
"SPEECH OUTPUT: 'p'",
|
||||
"SPEECH OUTPUT: 'o'",
|
||||
"SPEECH OUTPUT: 'n'",
|
||||
"SPEECH OUTPUT: 'r'",
|
||||
"SPEECH OUTPUT: 'y'",
|
||||
"SPEECH OUTPUT: 'colon'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Spell current word phonetically",
|
||||
["BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=4",
|
||||
"BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=4",
|
||||
"BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=4",
|
||||
"SPEECH OUTPUT: 'weaponry:'",
|
||||
"SPEECH OUTPUT: 'w'",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'a'",
|
||||
"SPEECH OUTPUT: 'p'",
|
||||
"SPEECH OUTPUT: 'o'",
|
||||
"SPEECH OUTPUT: 'n'",
|
||||
"SPEECH OUTPUT: 'r'",
|
||||
"SPEECH OUTPUT: 'y'",
|
||||
"SPEECH OUTPUT: 'colon'",
|
||||
"SPEECH OUTPUT: 'whiskey'",
|
||||
"SPEECH OUTPUT: 'echo'",
|
||||
"SPEECH OUTPUT: 'alpha'",
|
||||
"SPEECH OUTPUT: 'papa'",
|
||||
"SPEECH OUTPUT: 'oscar'",
|
||||
"SPEECH OUTPUT: 'november'",
|
||||
"SPEECH OUTPUT: 'romeo'",
|
||||
"SPEECH OUTPUT: 'yankee'",
|
||||
"SPEECH OUTPUT: ':'"]))
|
||||
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. flat review next word",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1",
|
||||
"SPEECH OUTPUT: 'NOBODY '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. flat review next word",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"SPEECH OUTPUT: 'expects '"]))
|
||||
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. flat review current char",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"SPEECH OUTPUT: 'expects '",
|
||||
"SPEECH OUTPUT: 'e'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. phonetic for current char",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'echo'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. unicode for current char",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'echo'",
|
||||
"SPEECH OUTPUT: 'Unicode 0065'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_3"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. flat review next char",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=9",
|
||||
"SPEECH OUTPUT: 'x'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_3"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. flat review next char",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=10",
|
||||
"SPEECH OUTPUT: 'p'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_1"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. flat review previous char",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=9",
|
||||
"SPEECH OUTPUT: 'x'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_1"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. flat review previous char",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=8",
|
||||
"SPEECH OUTPUT: 'e'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. flat review previous word",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1",
|
||||
"SPEECH OUTPUT: 'NOBODY '"]))
|
||||
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. flat review previous word",
|
||||
["BRAILLE LINE: 'On weaponry: $l'",
|
||||
" VISIBLE: 'On weaponry: $l', cursor=4",
|
||||
"SPEECH OUTPUT: 'weaponry:'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/descriptions.html
|
@ -1,93 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of the fix for bug 511389."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab",
|
||||
["BRAILLE LINE: 'Foo'",
|
||||
" VISIBLE: 'Foo', cursor=1",
|
||||
"SPEECH OUTPUT: 'Foo link.'",
|
||||
"SPEECH OUTPUT: 'Title of the Foo link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab",
|
||||
["BRAILLE LINE: 'Bar'",
|
||||
" VISIBLE: 'Bar', cursor=1",
|
||||
"SPEECH OUTPUT: 'Bar link.'",
|
||||
"SPEECH OUTPUT: 'ARIA description text.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab",
|
||||
["BRAILLE LINE: 'Baz'",
|
||||
" VISIBLE: 'Baz', cursor=1",
|
||||
"SPEECH OUTPUT: 'Baz link.'",
|
||||
"SPEECH OUTPUT: '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'",
|
||||
" VISIBLE: '< > Title of the Black checkbox ', cursor=1",
|
||||
"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",
|
||||
["BRAILLE LINE: '< > Title of the White checkbox check box'",
|
||||
" VISIBLE: '< > Title of the White checkbox ', cursor=1",
|
||||
"SPEECH OUTPUT: 'Title of the White checkbox check box not checked.'",
|
||||
"SPEECH OUTPUT: 'ARIA description text.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab",
|
||||
["BRAILLE LINE: '< > Title of the Grey checkbox check box'",
|
||||
" VISIBLE: '< > Title of the Grey checkbox c', cursor=1",
|
||||
"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",
|
||||
["BRAILLE LINE: '< > Black check box'",
|
||||
" VISIBLE: '< > Black check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Black check box not checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Tab",
|
||||
["BRAILLE LINE: '< > White check box'",
|
||||
" VISIBLE: '< > White check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'White check box not checked.'",
|
||||
"SPEECH OUTPUT: 'ARIA description text.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Tab",
|
||||
["BRAILLE LINE: '< > Grey check box'",
|
||||
" VISIBLE: '< > Grey check box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Grey check box not checked.'",
|
||||
"SPEECH OUTPUT: 'Title of the Grey checkbox'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/backwards.html
|
@ -1,77 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Cthulhu output when tabbing on a page with imagemaps."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
# Work around some new quirk in Gecko that causes this test to fail if
|
||||
# run via the test harness rather than manually.
|
||||
sequence.append(KeyComboAction("<Control>r"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab",
|
||||
["BRAILLE LINE: 'z image map link'",
|
||||
" VISIBLE: 'z image map link', cursor=1",
|
||||
"SPEECH OUTPUT: 'z image map link.'",
|
||||
"SPEECH OUTPUT: 'rect'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab",
|
||||
["BRAILLE LINE: 'y image map link'",
|
||||
" VISIBLE: 'y image map link', cursor=1",
|
||||
"SPEECH OUTPUT: 'y image map link.'",
|
||||
"SPEECH OUTPUT: 'rect'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab",
|
||||
["BRAILLE LINE: 'a image map link'",
|
||||
" VISIBLE: 'a image map link', cursor=1",
|
||||
"SPEECH OUTPUT: 'a image map link.'",
|
||||
"SPEECH OUTPUT: 'rect'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Tab",
|
||||
["BRAILLE LINE: 'wk09_frozenmovie'",
|
||||
" VISIBLE: 'wk09_frozenmovie', cursor=1",
|
||||
"SPEECH OUTPUT: 'wk09_frozenmovie link.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/input-type-number.html
|
@ -1,56 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab",
|
||||
["BRAILLE LINE: '0 $l'",
|
||||
" VISIBLE: '0 $l', cursor=2",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'entry 0 selected.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down",
|
||||
["BRAILLE LINE: '0 $l'",
|
||||
" VISIBLE: '0 $l', cursor=2",
|
||||
"BRAILLE LINE: '-1 $l'",
|
||||
" VISIBLE: '-1 $l', cursor=3",
|
||||
"BRAILLE LINE: '-1 $l'",
|
||||
" VISIBLE: '-1 $l', cursor=3",
|
||||
"SPEECH OUTPUT: '-1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down",
|
||||
["BRAILLE LINE: '-2 $l'",
|
||||
" VISIBLE: '-2 $l', cursor=3",
|
||||
"BRAILLE LINE: '-2 $l'",
|
||||
" VISIBLE: '-2 $l', cursor=3",
|
||||
"SPEECH OUTPUT: '-2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up",
|
||||
["BRAILLE LINE: '-1 $l'",
|
||||
" VISIBLE: '-1 $l', cursor=3",
|
||||
"BRAILLE LINE: '-1 $l'",
|
||||
" VISIBLE: '-1 $l', cursor=3",
|
||||
"SPEECH OUTPUT: '-1'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/link-child-of-body.html
|
@ -1,37 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Top of file",
|
||||
["BRAILLE LINE: 'Foo'",
|
||||
" VISIBLE: 'Foo', cursor=1",
|
||||
"SPEECH OUTPUT: 'Foo'",
|
||||
"SPEECH OUTPUT: 'link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Shift Tab",
|
||||
["BRAILLE LINE: 'document web'",
|
||||
" VISIBLE: 'document web', cursor=1",
|
||||
"SPEECH OUTPUT: 'document web'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab",
|
||||
["BRAILLE LINE: 'Foo'",
|
||||
" VISIBLE: 'Foo', cursor=1",
|
||||
"SPEECH OUTPUT: 'Foo link.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/bug-511389.html
|
@ -1,50 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of the fix for bug 511389."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Top of file",
|
||||
["BRAILLE LINE: 'Hello world, this is a test.'",
|
||||
" VISIBLE: 'Hello world, this is a test.', cursor=1",
|
||||
"SPEECH OUTPUT: 'Hello world'",
|
||||
"SPEECH OUTPUT: 'link.'",
|
||||
"SPEECH OUTPUT: ', this is a test.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Line Down to the Foo link",
|
||||
["BRAILLE LINE: 'Foo'",
|
||||
" VISIBLE: 'Foo', cursor=1",
|
||||
"SPEECH OUTPUT: 'Foo'",
|
||||
"SPEECH OUTPUT: 'link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to the Bar link",
|
||||
["BRAILLE LINE: 'Bar'",
|
||||
" VISIBLE: 'Bar', cursor=1",
|
||||
"SPEECH OUTPUT: 'Bar link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Shift Tab back to the Foo link",
|
||||
["BRAILLE LINE: 'Foo'",
|
||||
" VISIBLE: 'Foo', cursor=1",
|
||||
"SPEECH OUTPUT: 'Foo link.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/radio-with-label-and-name.html
|
@ -1,40 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to next radio button",
|
||||
["BRAILLE LINE: '& y yes radio button'",
|
||||
" VISIBLE: '& y yes radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'yes.'",
|
||||
"SPEECH OUTPUT: 'not selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab to next radio button",
|
||||
["BRAILLE LINE: '& y well, maybe... radio button'",
|
||||
" VISIBLE: '& y well, maybe... radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'well, maybe...'",
|
||||
"SPEECH OUTPUT: 'not selected radio button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to next radio button",
|
||||
["BRAILLE LINE: '& y Yes radio button'",
|
||||
" VISIBLE: '& y Yes radio button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Yes.'",
|
||||
"SPEECH OUTPUT: 'not selected radio button'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/aria-roledescription.html
|
@ -1,95 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to a div with no roledescription",
|
||||
["BRAILLE LINE: 'Focus me 1'",
|
||||
" VISIBLE: 'Focus me 1', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab to a div with only a roledescription",
|
||||
["BRAILLE LINE: 'Focus me 2 kill switch'",
|
||||
" VISIBLE: 'Focus me 2 kill switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 2 kill switch'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to a div with role button",
|
||||
["BRAILLE LINE: 'Focus me 3 push button'",
|
||||
" VISIBLE: 'Focus me 3 push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 3 push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Tab to a div with role button and a roledescription",
|
||||
["BRAILLE LINE: 'Focus me 4 kill switch'",
|
||||
" VISIBLE: 'Focus me 4 kill switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 4 kill switch'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to a button element",
|
||||
["BRAILLE LINE: 'Focus me 5 push button'",
|
||||
" VISIBLE: 'Focus me 5 push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 5 push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab to a button element with a roledescription",
|
||||
["BRAILLE LINE: 'Focus me 6 kill switch'",
|
||||
" VISIBLE: 'Focus me 6 kill switch', cursor=1",
|
||||
"SPEECH OUTPUT: 'Focus me 6 kill switch'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Tab to a div with role group, a roledescription, a label, and displayed text",
|
||||
["BRAILLE LINE: 'Presentation slide set'",
|
||||
" VISIBLE: 'Presentation slide set', cursor=1",
|
||||
"BRAILLE LINE: 'Here are some slides'",
|
||||
" VISIBLE: 'Here are some slides', cursor=1",
|
||||
"SPEECH OUTPUT: 'Presentation slide set.'",
|
||||
"SPEECH OUTPUT: 'Here are some slides'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Tab to a div with role region, a roledescription, a labelledby, and displayed text",
|
||||
["BRAILLE LINE: 'First Quarter 2015 slide'",
|
||||
" VISIBLE: 'First Quarter 2015 slide', cursor=1",
|
||||
"BRAILLE LINE: 'First Quarter 2015 h1'",
|
||||
" VISIBLE: 'First Quarter 2015 h1', cursor=1",
|
||||
"SPEECH OUTPUT: 'First Quarter 2015 slide.'",
|
||||
"SPEECH OUTPUT: 'First Quarter 2015 heading level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Tab to a div with a roledescription, a labelledby, and displayed text",
|
||||
["BRAILLE LINE: 'Second Quarter 2015 slide'",
|
||||
" VISIBLE: 'Second Quarter 2015 slide', cursor=1",
|
||||
"BRAILLE LINE: 'Second Quarter 2015 h1'",
|
||||
" VISIBLE: 'Second Quarter 2015 h1', cursor=1",
|
||||
"SPEECH OUTPUT: 'leaving region.'",
|
||||
"SPEECH OUTPUT: 'Second Quarter 2015 slide'",
|
||||
"SPEECH OUTPUT: 'Second Quarter 2015 heading level 1'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/accesskeys.html
|
@ -1,62 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Top of file",
|
||||
["BRAILLE LINE: 'Line 1'",
|
||||
" VISIBLE: 'Line 1', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("BackSpace"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Bypass mode",
|
||||
["BRAILLE LINE: 'Bypass mode enabled.'",
|
||||
" VISIBLE: 'Bypass mode enabled.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Bypass mode enabled.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>1"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Access key 1",
|
||||
["BRAILLE LINE: 'Line 1'",
|
||||
" VISIBLE: 'Line 1', cursor=1",
|
||||
"BRAILLE LINE: 'accesskeys'",
|
||||
" VISIBLE: 'accesskeys', cursor=1",
|
||||
"BRAILLE LINE: 'Form! h1'",
|
||||
" VISIBLE: 'Form! h1', cursor=1",
|
||||
"SPEECH OUTPUT: 'accesskeys link.'",
|
||||
"SPEECH OUTPUT: 'Form! heading level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("BackSpace"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Bypass mode",
|
||||
["BRAILLE LINE: 'Bypass mode enabled.'",
|
||||
" VISIBLE: 'Bypass mode enabled.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Bypass mode enabled.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Access key 2",
|
||||
["BRAILLE LINE: 'Form! h1'",
|
||||
" VISIBLE: 'Form! h1', cursor=1",
|
||||
"BRAILLE LINE: 'Search: $l I feel frightened push button'",
|
||||
" VISIBLE: 'Search: $l I feel frightened pu', cursor=9",
|
||||
"SPEECH OUTPUT: 'Search: entry.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/bugzilla-top.html
|
@ -1,63 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Where am I for links."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Shift>Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Title bar",
|
||||
["BRAILLE LINE: 'Product summary'",
|
||||
" VISIBLE: 'Product summary', cursor=1",
|
||||
"BRAILLE LINE: 'GNOME Bug Tracking System - Firefox Nightly'",
|
||||
" VISIBLE: 'GNOME Bug Tracking System - Fire', cursor=0",
|
||||
"SPEECH OUTPUT: 'GNOME Bug Tracking System - Firefox Nightly'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Where Am I on Product summary link",
|
||||
["BRAILLE LINE: 'Product summary'",
|
||||
" VISIBLE: 'Product summary', cursor=1",
|
||||
"BRAILLE LINE: 'Product summary'",
|
||||
" VISIBLE: 'Product summary', cursor=1",
|
||||
"SPEECH OUTPUT: 'http link Product summary.'",
|
||||
"SPEECH OUTPUT: 'different site.'"]))
|
||||
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Title bar",
|
||||
["BRAILLE LINE: 'GNOME Bug Tracking System - Firefox Nightly'",
|
||||
" VISIBLE: 'GNOME Bug Tracking System - Fire', cursor=0",
|
||||
"SPEECH OUTPUT: 'GNOME Bug Tracking System - Firefox Nightly'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Where Am I on what should be the New bug link",
|
||||
["BRAILLE LINE: 'New bug'",
|
||||
" VISIBLE: 'New bug', cursor=1",
|
||||
"BRAILLE LINE: 'New bug'",
|
||||
" VISIBLE: 'New bug', cursor=1",
|
||||
"SPEECH OUTPUT: 'http link New bug.'",
|
||||
"SPEECH OUTPUT: 'different site.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/htmlpage.html
|
@ -1,36 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of page summary"""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction("6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Navigate to 'This is a Heading 6.'",
|
||||
["BRAILLE LINE: 'This is a Heading 6. h6'",
|
||||
" VISIBLE: 'This is a Heading 6. h6', cursor=1",
|
||||
"SPEECH OUTPUT: 'This is a Heading 6. heading level 6'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Where Am I for page summary info",
|
||||
["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",
|
||||
"SPEECH OUTPUT: 'heading level 6.'",
|
||||
"SPEECH OUTPUT: 'This is a Heading 6.'",
|
||||
"SPEECH OUTPUT: 'Page has 0 landmarks, 14 headings, 3 forms, 43 tables, 0 visited links, 11 unvisited links.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/combobox.html
|
@ -1,155 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of HTML combo box presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to Severity combo box",
|
||||
["BRAILLE LINE: 'Severity normal combo box'",
|
||||
" VISIBLE: 'Severity normal combo box', cursor=10",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Severity normal combo box.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic Where Am I",
|
||||
["KNOWN ISSUE: The count is wrong.",
|
||||
"BRAILLE LINE: 'Severity normal combo box'",
|
||||
" VISIBLE: 'Severity normal combo box', cursor=10",
|
||||
"BRAILLE LINE: 'Severity normal combo box'",
|
||||
" VISIBLE: 'Severity normal combo box', cursor=10",
|
||||
"SPEECH OUTPUT: 'Severity combo box.'",
|
||||
"SPEECH OUTPUT: 'normal 2 of 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to Priority link",
|
||||
["BRAILLE LINE: 'Priority'",
|
||||
" VISIBLE: 'Priority', cursor=1",
|
||||
"BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Priority link.'",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Tab to Priority combo box",
|
||||
["BRAILLE LINE: 'Priority'",
|
||||
" VISIBLE: 'Priority', cursor=1",
|
||||
"BRAILLE LINE: 'Priority: Normal combo box'",
|
||||
" VISIBLE: 'Priority: Normal combo box', cursor=11",
|
||||
"BRAILLE LINE: 'Focus mode'",
|
||||
" VISIBLE: 'Focus mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Priority: Normal combo box.'",
|
||||
"SPEECH OUTPUT: 'Focus mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to Resolution combo box",
|
||||
["BRAILLE LINE: 'Priority: Normal combo box'",
|
||||
" VISIBLE: 'Priority: Normal combo box', cursor=11",
|
||||
"BRAILLE LINE: 'Resolution: FIXED combo box'",
|
||||
" VISIBLE: 'Resolution: FIXED combo box', cursor=13",
|
||||
"SPEECH OUTPUT: 'Resolution: FIXED combo box.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Change selection Down: WONTFIX",
|
||||
["BRAILLE LINE: 'Resolution: WONTFIX combo box'",
|
||||
" VISIBLE: 'Resolution: WONTFIX combo box', cursor=13",
|
||||
"SPEECH OUTPUT: 'WONTFIX.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Change selection Up: FIXED",
|
||||
["BRAILLE LINE: 'Resolution: FIXED combo box'",
|
||||
" VISIBLE: 'Resolution: FIXED combo box', cursor=13",
|
||||
"SPEECH OUTPUT: 'FIXED.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Alt Down to Expand",
|
||||
["BRAILLE LINE: 'Firefox application Combo Box Regression Test - Firefox Nightly frame FIXED combo box FIXED'",
|
||||
" VISIBLE: 'FIXED', cursor=1",
|
||||
"BRAILLE LINE: 'Firefox application Combo Box Regression Test - Firefox Nightly frame FIXED combo box'",
|
||||
" VISIBLE: 'FIXED combo box', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'",
|
||||
"SPEECH OUTPUT: 'FIXED.'",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Change selection Down: WONTFIX",
|
||||
["BRAILLE LINE: 'Firefox application Combo Box Regression Test - Firefox Nightly frame FIXED combo box WONTFIX'",
|
||||
" VISIBLE: 'WONTFIX', cursor=1",
|
||||
"SPEECH OUTPUT: 'WONTFIX.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Return to collapse combo box",
|
||||
["BRAILLE LINE: 'Resolution: WONTFIX combo box'",
|
||||
" VISIBLE: 'Resolution: WONTFIX combo box', cursor=13",
|
||||
"BRAILLE LINE: 'Resolution: WONTFIX combo box'",
|
||||
" VISIBLE: 'Resolution: WONTFIX combo box', cursor=13",
|
||||
"SPEECH OUTPUT: 'Resolution: WONTFIX combo box.'",
|
||||
"SPEECH OUTPUT: 'collapsed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Tab to Version combo box",
|
||||
["BRAILLE LINE: 'Version 2.16 combo box'",
|
||||
" VISIBLE: 'Version 2.16 combo box', cursor=9",
|
||||
"SPEECH OUTPUT: 'Version 2.16 combo box.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("a"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Toggle Browse Mode",
|
||||
["BRAILLE LINE: 'Browse mode'",
|
||||
" VISIBLE: 'Browse mode', cursor=0",
|
||||
"SPEECH OUTPUT: 'Browse mode' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Left out of combo box",
|
||||
["BRAILLE LINE: 'Version 2.16 combo box'",
|
||||
" VISIBLE: 'Version 2.16 combo box', cursor=9",
|
||||
"BRAILLE LINE: 'Version 2.16 combo box'",
|
||||
" VISIBLE: 'Version 2.16 combo box', cursor=7",
|
||||
"SPEECH OUTPUT: 'n'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Line Down",
|
||||
["BRAILLE LINE: 'Component'",
|
||||
" VISIBLE: 'Component', cursor=1",
|
||||
"SPEECH OUTPUT: 'Component.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/anchors2.html
|
@ -1,82 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of HTML links presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Top of file",
|
||||
["BRAILLE LINE: 'Here are some of our local test files:'",
|
||||
" VISIBLE: 'Here are some of our local test ', cursor=1",
|
||||
"SPEECH OUTPUT: 'Here are some of our local test files:'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab to anchors.html link",
|
||||
["BRAILLE LINE: 'anchors.html'",
|
||||
" VISIBLE: 'anchors.html', cursor=1",
|
||||
"SPEECH OUTPUT: 'anchors.html link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to blockquotes.html link",
|
||||
["BRAILLE LINE: 'blockquotes.html'",
|
||||
" VISIBLE: 'blockquotes.html', cursor=1",
|
||||
"SPEECH OUTPUT: 'blockquotes.html link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Tab to bugzilla_top.html link",
|
||||
["BRAILLE LINE: 'bugzilla_top.html'",
|
||||
" VISIBLE: 'bugzilla_top.html', cursor=1",
|
||||
"SPEECH OUTPUT: 'bugzilla_top.html link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Shift Tab to blockquotes.html link",
|
||||
["BRAILLE LINE: 'blockquotes.html'",
|
||||
" VISIBLE: 'blockquotes.html', cursor=1",
|
||||
"SPEECH OUTPUT: 'blockquotes.html link.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Basic Where Am I",
|
||||
["BRAILLE LINE: 'blockquotes.html'",
|
||||
" VISIBLE: 'blockquotes.html', cursor=1",
|
||||
"SPEECH OUTPUT: 'file link to blockquotes.html.'",
|
||||
"SPEECH OUTPUT: 'same site.'",
|
||||
"SPEECH OUTPUT: '1235 bytes.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>Left"))
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Line Up to anchors.html",
|
||||
["BRAILLE LINE: '• anchors.html'",
|
||||
" VISIBLE: '• anchors.html', cursor=1",
|
||||
"SPEECH OUTPUT: '•'",
|
||||
"SPEECH OUTPUT: 'anchors.html'",
|
||||
"SPEECH OUTPUT: 'link.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../html/lists2.html
|
@ -1,91 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of HTML list item whereAmI presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
#sequence.append(WaitForDocLoad())
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Top of file",
|
||||
["BRAILLE LINE: '• Not in a paragraph'",
|
||||
" VISIBLE: '• Not in a paragraph', cursor=1",
|
||||
"SPEECH OUTPUT: '• Not in a paragraph.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic Where Am I next item",
|
||||
["BRAILLE LINE: '• In a paragraph'",
|
||||
" VISIBLE: '• In a paragraph', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: '• In a paragraph.'",
|
||||
"SPEECH OUTPUT: '2 of 4.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Basic Where Am I next item",
|
||||
["BRAILLE LINE: '• In a section'",
|
||||
" VISIBLE: '• In a section', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: '• In a section.'",
|
||||
"SPEECH OUTPUT: '3 of 4.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Basic Where Am I next item",
|
||||
["BRAILLE LINE: '1. A nested list item, not in a paragraph LEVEL 1'",
|
||||
" VISIBLE: '1. A nested list item, not in a ', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: '1. A nested list item, not in a paragraph.'",
|
||||
"SPEECH OUTPUT: '1 of 3.'",
|
||||
"SPEECH OUTPUT: 'Nesting level 1.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Basic Where Am I next item",
|
||||
["BRAILLE LINE: '2. A nested list item, in a paragraph LEVEL 1'",
|
||||
" VISIBLE: '2. A nested list item, in a para', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: '2. A nested list item, in a paragraph.'",
|
||||
"SPEECH OUTPUT: '2 of 3.'",
|
||||
"SPEECH OUTPUT: 'Nesting level 1.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Basic Where Am I next item",
|
||||
["BRAILLE LINE: '3. A nested list item, in a section LEVEL 1'",
|
||||
" VISIBLE: '3. A nested list item, in a sect', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: '3. A nested list item, in a section.'",
|
||||
"SPEECH OUTPUT: '3 of 3.'",
|
||||
"SPEECH OUTPUT: 'Nesting level 1.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Basic Where Am I next item",
|
||||
["BRAILLE LINE: '• In a paragraph that's in a section'",
|
||||
" VISIBLE: '• In a paragraph that's in a sec', cursor=1",
|
||||
"SPEECH OUTPUT: 'list item.'",
|
||||
"SPEECH OUTPUT: '• In a paragraph that's in a section.'",
|
||||
"SPEECH OUTPUT: '4 of 4.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user