orca r3585 - in trunk: . test/keystrokes/firefox
- From: shaeger svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3585 - in trunk: . test/keystrokes/firefox
- Date: Fri, 15 Feb 2008 20:21:05 +0000 (GMT)
Author: shaeger
Date: Fri Feb 15 20:21:04 2008
New Revision: 3585
URL: http://svn.gnome.org/viewvc/orca?rev=3585&view=rev
Log:
Update/added ARIA regression tests.
Modified:
trunk/ChangeLog
trunk/test/keystrokes/firefox/dojo_dialog.py
trunk/test/keystrokes/firefox/dojo_slider.py
trunk/test/keystrokes/firefox/moz_menu.py
trunk/test/keystrokes/firefox/moz_slider.py
trunk/test/keystrokes/firefox/moz_tabpanel.py
trunk/test/keystrokes/firefox/uiuc_button.py
Modified: trunk/test/keystrokes/firefox/dojo_dialog.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_dialog.py (original)
+++ trunk/test/keystrokes/firefox/dojo_dialog.py Fri Feb 15 20:21:04 2008
@@ -25,15 +25,6 @@
########################################################################
-# This is a kludge to ensure that the dojo widgets render properly
-#
-sequence.append(KeyComboAction("<Control>l"))
-sequence.append(WaitForFocus("Location", acc_role=pyatspi.ROLE_ENTRY))
-sequence.append(KeyComboAction("Return"))
-sequence.append(WaitForDocLoad())
-sequence.append(WaitForFocus("Dialog Widget Dojo Tests", acc_role=pyatspi.ROLE_DOCUMENT_FRAME))
-
-########################################################################
# Give the widget a moment to construct itself
#
sequence.append(PauseAction(3000))
@@ -53,33 +44,37 @@
########################################################################
# Launch the dialog
#
+# [[[Bug?: Braille output may not be correct.]]]
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Return"))
+sequence.append(WaitForFocus("Name:", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Launch first dialog",
- ["BRAILLE LINE: 'First Dialog Dialog $l'",
- " VISIBLE: 'First Dialog Dialog $l', cursor=1",
- "SPEECH OUTPUT: ''",
- "SPEECH OUTPUT: 'First Dialog'"]))
+ ["BRAILLE LINE: 'Name: Name: $l'",
+ " VISIBLE: 'Name: Name: $l', cursor=14",
+ "SPEECH OUTPUT: 'First Dialog dialog'",
+ "SPEECH OUTPUT: 'Name: text '"]))
########################################################################
# Do a basic "Where Am I" via KP_Enter.
#
+# [[[Bug?: Braille output may not be correct.]]]
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("KP_Enter"))
sequence.append(PauseAction(3000))
sequence.append(utils.AssertPresentationAction(
"Basic whereAmI",
- ["BRAILLE LINE: 'First Dialog Dialog $l'",
- " VISIBLE: 'First Dialog Dialog $l', cursor=1",
- "SPEECH OUTPUT: 'First Dialog'",
- "SPEECH OUTPUT: 'dialog'"]))
+ ["BRAILLE LINE: 'Name: Name: $l'",
+ " VISIBLE: 'Name: Name: $l', cursor=14",
+ "SPEECH OUTPUT: 'Name: Name:'",
+ "SPEECH OUTPUT: 'text'"]))
########################################################################
# Close the dialog, focus goes back to button.
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Escape"))
+sequence.append(WaitForFocus("Show Dialog", acc_role=pyatspi.ROLE_PUSH_BUTTON))
sequence.append(utils.AssertPresentationAction(
"close first dialog",
["BRAILLE LINE: 'Show Dialog Button'",
@@ -88,42 +83,6 @@
"SPEECH OUTPUT: 'Show Dialog button'"]))
########################################################################
-# Tab to the second button.
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Tab"))
-sequence.append(utils.AssertPresentationAction(
- "tab to second button",
- ["BRAILLE LINE: 'Show Tooltip Dialog Button'",
- " VISIBLE: 'Show Tooltip Dialog Button', cursor=1",
- "SPEECH OUTPUT: ''",
- "SPEECH OUTPUT: 'Show Tooltip Dialog button'"]))
-
-########################################################################
-# Launch the dialog
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Return"))
-sequence.append(utils.AssertPresentationAction(
- "launch second dialog",
- ["BRAILLE LINE: 'User: $l'",
- " VISIBLE: 'User: $l', cursor=0",
- "SPEECH OUTPUT: ''",
- "SPEECH OUTPUT: 'Enter Login information User: Password:'"]))
-
-########################################################################
-# Close the dialog, focus goes back to button.
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Escape"))
-sequence.append(utils.AssertPresentationAction(
- "close second dialog",
- ["BRAILLE LINE: 'Show Tooltip Dialog Button'",
- " VISIBLE: 'Show Tooltip Dialog Button', cursor=1",
- "SPEECH OUTPUT: ''",
- "SPEECH OUTPUT: 'Show Tooltip Dialog button'"]))
-
-########################################################################
# Close the demo
#
sequence.append(KeyComboAction("<Control>l"))
Modified: trunk/test/keystrokes/firefox/dojo_slider.py
==============================================================================
--- trunk/test/keystrokes/firefox/dojo_slider.py (original)
+++ trunk/test/keystrokes/firefox/dojo_slider.py Fri Feb 15 20:21:04 2008
@@ -54,8 +54,6 @@
# VISIBLE:
# SPEECH OUTPUT:
#
-# [[[Bug?: dojo is not providing correct value information which throws an
-# exception on our side]]]
# sequence.append(KeyComboAction("KP_Enter"))
# sequence.append(PauseAction(3000))
@@ -194,7 +192,8 @@
########################################################################
# Tab to the next entry between the sliders.
-# bug? not labeling properly. should be as shown below
+# [[[Bug?: not labeling properly.]]]
+#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Tab"))
sequence.append(utils.AssertPresentationAction(
Modified: trunk/test/keystrokes/firefox/moz_menu.py
==============================================================================
--- trunk/test/keystrokes/firefox/moz_menu.py (original)
+++ trunk/test/keystrokes/firefox/moz_menu.py Fri Feb 15 20:21:04 2008
@@ -66,6 +66,7 @@
"SPEECH OUTPUT: 'View'"]))
# We get flagged because of the unicode. Everything else seems good.
+# [[[Bug?: This is probably not a bug. Chalk the whitespace up to a hack web design.]]]
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
Modified: trunk/test/keystrokes/firefox/moz_slider.py
==============================================================================
--- trunk/test/keystrokes/firefox/moz_slider.py (original)
+++ trunk/test/keystrokes/firefox/moz_slider.py Fri Feb 15 20:21:04 2008
@@ -27,11 +27,6 @@
########################################################################
# Tab to the first slider. The following will be presented.
#
-# BRAILLE LINE: '10 Slider'
-# VISIBLE: '10 Slider', cursor=1
-# SPEECH OUTPUT: ''
-# SPEECH OUTPUT: 'slider 10'
-#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Tab"))
sequence.append(utils.AssertPresentationAction(
Modified: trunk/test/keystrokes/firefox/moz_tabpanel.py
==============================================================================
--- trunk/test/keystrokes/firefox/moz_tabpanel.py (original)
+++ trunk/test/keystrokes/firefox/moz_tabpanel.py Fri Feb 15 20:21:04 2008
@@ -32,6 +32,7 @@
########################################################################
# Do a basic "Where Am I" via KP_Enter.
#
+# [[[Bug?: minor whitespace issue??]]]
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("KP_Enter"))
sequence.append(PauseAction(3000))
Modified: trunk/test/keystrokes/firefox/uiuc_button.py
==============================================================================
--- trunk/test/keystrokes/firefox/uiuc_button.py (original)
+++ trunk/test/keystrokes/firefox/uiuc_button.py Fri Feb 15 20:21:04 2008
@@ -56,7 +56,6 @@
########################################################################
# Now push the first button. The following will be presented.
#
-# [[[Bug?: No output when button is pressed.]]]
#
sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction(" "))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]