[orca/570658] Updated regression test.
- From: Joanmarie Diggs <joanied src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca/570658] Updated regression test.
- Date: Sun, 5 Jul 2009 04:36:45 +0000 (UTC)
commit cdec9e54c78aa99ff52b0bd2d6859160cc3c51e5
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sun Jul 5 00:30:37 2009 -0400
Updated regression test.
We used to do a bad job with presenting XUL combo boxes in braille. The
changes made in the refactor clean a lot of that up (correct whitespace,
label included, etc.). The one problem that remains seems to be the
duplication of the displayed/selected item at the end of the context. I've
updated this regression test to reflect what we should be doing, which makes
it much easier to see where the true failures are.
test/keystrokes/firefox/xul_role_combo_box.py | 26 ++++++++++++------------
1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/test/keystrokes/firefox/xul_role_combo_box.py b/test/keystrokes/firefox/xul_role_combo_box.py
index 3c0945c..271a0cc 100644
--- a/test/keystrokes/firefox/xul_role_combo_box.py
+++ b/test/keystrokes/firefox/xul_role_combo_box.py
@@ -35,7 +35,7 @@ sequence.append(KeyComboAction("Tab"))
sequence.append(utils.AssertPresentationAction(
"Tab to combobox",
["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
- " VISIBLE: 'Show a blank page Combo', cursor=1",
+ " VISIBLE: 'When " + utils.firefoxAppNames + " starts: Show a blan', cursor=22",
"SPEECH OUTPUT: 'Main scroll pane Startup panel When " + utils.firefoxAppNames + " starts: Show a blank page combo box'"]))
########################################################################
@@ -46,9 +46,9 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"Down Arrow in combobox",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow my windows and tabs from last timeWhen " + utils.firefoxAppNames + " starts: Show a blank page'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
" VISIBLE: 'Show a blank page', cursor=1",
- "BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow my windows and tabs from last timeWhen " + utils.firefoxAppNames + " starts: Show my windows and tabs from last time'",
+ "BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show my windows and tabs from last time Combo'",
" VISIBLE: 'Show my windows and tabs from la', cursor=1",
"SPEECH OUTPUT: 'Show a blank page'",
"SPEECH OUTPUT: 'Show my windows and tabs from last time'"]))
@@ -60,7 +60,7 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"Down Arrow in combobox",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow my home pageWhen " + utils.firefoxAppNames + " starts: Show my home page'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show my home page Combo'",
" VISIBLE: 'Show my home page', cursor=1",
"SPEECH OUTPUT: 'Show my home page'"]))
@@ -71,7 +71,7 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"Up Arrow in combobox",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow my windows and tabs from last timeWhen " + utils.firefoxAppNames + " starts: Show my windows and tabs from last time'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show my windows and tabs from last time Combo'",
" VISIBLE: 'Show my windows and tabs from la', cursor=1",
"SPEECH OUTPUT: 'Show my windows and tabs from last time'"]))
@@ -82,7 +82,7 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"Up Arrow in combobox",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow a blank pageWhen " + utils.firefoxAppNames + " starts: Show a blank page'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
" VISIBLE: 'Show a blank page', cursor=1",
"SPEECH OUTPUT: 'Show a blank page'"]))
@@ -103,7 +103,7 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"Down Arrow in expanded combobox",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow a blank pageWhen " + utils.firefoxAppNames + " starts: Show my windows and tabs from last time'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show my windows and tabs from last time Combo'",
" VISIBLE: 'Show my windows and tabs from la', cursor=1",
"SPEECH OUTPUT: 'Show my windows and tabs from last time'"]))
@@ -114,7 +114,7 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"Up Arrow in expanded combobox",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow a blank pageWhen " + utils.firefoxAppNames + " starts: Show a blank page'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
" VISIBLE: 'Show a blank page', cursor=1",
"SPEECH OUTPUT: 'Show a blank page'"]))
@@ -126,7 +126,7 @@ sequence.append(KeyComboAction("Return"))
sequence.append(utils.AssertPresentationAction(
"Return to collapse combobox",
["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
- " VISIBLE: 'Show a blank page Combo', cursor=1",
+ " VISIBLE: 'When " + utils.firefoxAppNames + " starts: Show a blan', cursor=22",
"SPEECH OUTPUT: '" + utils.firefoxAppNames + " application " + utils.firefoxAppNames + " Preferences frame Main scroll pane Startup panel When " + utils.firefoxAppNames + " starts: Show a blank page combo box'"]))
########################################################################
@@ -136,9 +136,9 @@ sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("s"))
sequence.append(utils.AssertPresentationAction(
"First letter navigation with s",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow my home pageWhen " + utils.firefoxAppNames + " starts: Show a blank page'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
" VISIBLE: 'Show a blank page', cursor=1",
- "BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow my home pageWhen " + utils.firefoxAppNames + " starts: Show my home page'",
+ "BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show my home page Combo'",
" VISIBLE: 'Show my home page', cursor=1",
"SPEECH OUTPUT: 'Show a blank page'",
"SPEECH OUTPUT: 'Show my home page'"]))
@@ -147,7 +147,7 @@ sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("s"))
sequence.append(utils.AssertPresentationAction(
"First letter navigation with s",
- ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow a blank pageWhen " + utils.firefoxAppNames + " starts: Show a blank page'",
+ ["BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
" VISIBLE: 'Show a blank page', cursor=1",
"SPEECH OUTPUT: 'Show a blank page'"]))
@@ -160,7 +160,7 @@ sequence.append(PauseAction(3000))
sequence.append(utils.AssertPresentationAction(
"Basic Where Am I",
["BUG? - We claim this is item 1 of 1. This is how it was before the refactor as well.",
- "BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel ComboShow a blank pageWhen " + utils.firefoxAppNames + " starts: Show a blank page'",
+ "BRAILLE LINE: '" + utils.firefoxAppNames + " Application " + utils.firefoxAppNames + " Preferences Frame Main ScrollPane Startup Panel When " + utils.firefoxAppNames + " starts: Show a blank page Combo'",
" VISIBLE: 'Show a blank page', cursor=1",
"SPEECH OUTPUT: 'When " + utils.firefoxAppNames + " starts: combo box Show a blank page item 1 of 1'"]))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]