[orca] Updated regression tests to reflect the latest fix
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Updated regression tests to reflect the latest fix
- Date: Tue, 2 Sep 2014 16:59:09 +0000 (UTC)
commit 4129ecbf1a46b0b8d900578581d9cc5f416f9f89
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Sep 2 12:58:49 2014 -0400
Updated regression tests to reflect the latest fix
test/html/lines-in-pre.html | 15 ++
test/keystrokes/firefox/line_nav_bug_577239.py | 14 +-
test/keystrokes/firefox/line_nav_bug_592383.py | 36 +----
test/keystrokes/firefox/line_nav_enter_bug.py | 4 +-
test/keystrokes/firefox/line_nav_lists.py | 46 ++++--
test/keystrokes/firefox/line_nav_nested_tables.py | 90 ++++-------
test/keystrokes/firefox/line_nav_pre_lines.params | 1 +
test/keystrokes/firefox/line_nav_pre_lines.py | 163 +++++++++++++++++++++
test/keystrokes/firefox/line_nav_wiki_up.py | 4 +-
9 files changed, 264 insertions(+), 109 deletions(-)
---
diff --git a/test/html/lines-in-pre.html b/test/html/lines-in-pre.html
new file mode 100644
index 0000000..03a9ce1
--- /dev/null
+++ b/test/html/lines-in-pre.html
@@ -0,0 +1,15 @@
+<html>
+<body>
+<p>Start</p><br>
+<br>
+<pre>
+<br>
+line 1<br>
+line 2<br>
+line 3<br>
+line 4<br>
+<br>
+</pre>
+<p>End</p><br>
+</body>
+</html>
diff --git a/test/keystrokes/firefox/line_nav_bug_577239.py b/test/keystrokes/firefox/line_nav_bug_577239.py
index 0b56686..42040c8 100644
--- a/test/keystrokes/firefox/line_nav_bug_577239.py
+++ b/test/keystrokes/firefox/line_nav_bug_577239.py
@@ -131,17 +131,21 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"16. Line Up",
- ["BRAILLE LINE: '2.This is a list item that spans multiple lines. If Orca can successfully read to the
end of this list item, it will have'",
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly",
+ "BRAILLE LINE: '2.This is a list item that spans multiple lines. If Orca can successfully read to the
end of this list item, it will have This is a list item that spans multiple lines. If Orca can successfully
read to the end of this list item, it will have'",
" VISIBLE: '2.This is a list item that spans', cursor=1",
- "SPEECH OUTPUT: '2.This is a list item that spans multiple lines. If Orca can successfully read to the
end of this list item, it will have '"]))
+ "SPEECH OUTPUT: '2.This is a list item that spans multiple lines. If Orca can successfully read to the
end of this list item, it will have '",
+ "SPEECH OUTPUT: 'This is a list item that spans multiple lines. If Orca can successfully read to the
end of this list item, it will have '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"17. Line Up",
- ["BRAILLE LINE: '1.This is a short list item.'",
- " VISIBLE: '1.This is a short list item.', cursor=1",
- "SPEECH OUTPUT: '1.This is a short list item. '"]))
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: '1.This is a short list item. This is a short list item.'",
+ " VISIBLE: '1.This is a short list item. Thi', cursor=1",
+ "SPEECH OUTPUT: '1.This is a short list item. '",
+ "SPEECH OUTPUT: 'This is a short list item. '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
diff --git a/test/keystrokes/firefox/line_nav_bug_592383.py b/test/keystrokes/firefox/line_nav_bug_592383.py
index 6812f0e..62f2e57 100644
--- a/test/keystrokes/firefox/line_nav_bug_592383.py
+++ b/test/keystrokes/firefox/line_nav_bug_592383.py
@@ -44,30 +44,18 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"5. Down",
- ["KNOWN ISSUE: At the moment we cannot get past the giant W line",
- "BRAILLE LINE: 'W hy did the chicken cross the road? Give up? It was to escape from the enormous
capital letter at the'",
- " VISIBLE: 'W hy did the chicken cross the', cursor=1",
+ ["BRAILLE LINE: 'W beginning of this paragraph. These are the things that keep chickens up at night.
No. Really.They are.'",
+ " VISIBLE: 'W beginning of this paragraph. T', cursor=1",
"SPEECH OUTPUT: 'W'",
- "SPEECH OUTPUT: ' hy did the chicken cross the road? Give up? It was to escape from the enormous
capital letter at the '"]))
-
-# ["BRAILLE LINE: 'W beginning of this paragraph. These are the things that keep chickens up at night.
No. Really.They are.'",
-# " VISIBLE: 'beginning of this paragraph. The', cursor=1",
-# "SPEECH OUTPUT: 'W'",
-# "SPEECH OUTPUT: 'beginning of this paragraph. These are the things that keep chickens up at night. No.
Really.They are. '"]))
+ "SPEECH OUTPUT: 'beginning of this paragraph. These are the things that keep chickens up at night. No.
Really.They are. '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"6. Down",
- ["KNOWN ISSUE: At the moment we cannot get past the giant W line",
- "BRAILLE LINE: 'W hy did the chicken cross the road? Give up? It was to escape from the enormous
capital letter at the'",
- " VISIBLE: 'W hy did the chicken cross the', cursor=1",
- "SPEECH OUTPUT: 'W'",
- "SPEECH OUTPUT: ' hy did the chicken cross the road? Give up? It was to escape from the enormous
capital letter at the '"]))
-
-# ["BRAILLE LINE: 'Here's another normal paragraph.'",
-# " VISIBLE: 'Here's another normal paragraph.', cursor=1",
-# "SPEECH OUTPUT: 'Here's another normal paragraph.'"]))
+ ["BRAILLE LINE: 'Here's another normal paragraph.'",
+ " VISIBLE: 'Here's another normal paragraph.', cursor=1",
+ "SPEECH OUTPUT: 'Here's another normal paragraph.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Control>End"))
@@ -81,16 +69,10 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"8. Up",
- ["KNOWN ISSUE: At the moment we cannot get past the giant W line",
- "BRAILLE LINE: 'W hy did the chicken cross the road? Give up? It was to escape from the enormous
capital letter at the'",
- " VISIBLE: 'W hy did the chicken cross the', cursor=1",
+ ["BRAILLE LINE: 'W beginning of this paragraph. These are the things that keep chickens up at night.
No. Really.They are.'",
+ " VISIBLE: 'W beginning of this paragraph. T', cursor=1",
"SPEECH OUTPUT: 'W'",
- "SPEECH OUTPUT: ' hy did the chicken cross the road? Give up? It was to escape from the enormous
capital letter at the '"]))
-
-# ["BRAILLE LINE: 'W beginning of this paragraph. These are the things that keep chickens up at night.
No. Really.They are.'",
-# " VISIBLE: 'W beginning of this paragraph. T', cursor=1",
-# "SPEECH OUTPUT: 'W'",
-# "SPEECH OUTPUT: 'beginning of this paragraph. These are the things that keep chickens up at night. No.
Really.They are. '"]))
+ "SPEECH OUTPUT: 'beginning of this paragraph. These are the things that keep chickens up at night. No.
Really.They are. '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
diff --git a/test/keystrokes/firefox/line_nav_enter_bug.py b/test/keystrokes/firefox/line_nav_enter_bug.py
index 692e7af..d1612d3 100644
--- a/test/keystrokes/firefox/line_nav_enter_bug.py
+++ b/test/keystrokes/firefox/line_nav_enter_bug.py
@@ -565,9 +565,9 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"57. Line Up",
- ["BRAILLE LINE: 'Enter Bug: orca \u2013 This page lets you enter a new bug into Bugzilla. h1'",
+ ["BRAILLE LINE: 'Enter Bug: orca \u2013 This page lets you enter a new bug h1'",
" VISIBLE: 'Enter Bug: orca – This page lets', cursor=1",
- "SPEECH OUTPUT: 'Enter Bug: orca \u2013 This page lets you enter a new bug into Bugzilla.'",
+ "SPEECH OUTPUT: 'Enter Bug: orca \u2013 This page lets you enter a new bug '",
"SPEECH OUTPUT: 'heading level 1'"]))
sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/line_nav_lists.py b/test/keystrokes/firefox/line_nav_lists.py
index 73f76cd..4a3aaf8 100644
--- a/test/keystrokes/firefox/line_nav_lists.py
+++ b/test/keystrokes/firefox/line_nav_lists.py
@@ -96,25 +96,31 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"11. Line Up",
- ["BRAILLE LINE: 'H.Maybe you prefer Big Letters,'",
- " VISIBLE: 'H.Maybe you prefer Big Letters,', cursor=1",
- "SPEECH OUTPUT: 'H.Maybe you prefer Big Letters,'"]))
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: 'H.Maybe you prefer Big Letters, Maybe you prefer Big Letters,'",
+ " VISIBLE: 'H.Maybe you prefer Big Letters, ', cursor=1",
+ "SPEECH OUTPUT: 'H.Maybe you prefer Big Letters,'",
+ "SPEECH OUTPUT: 'Maybe you prefer Big Letters,'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"12. Line Up",
- ["BRAILLE LINE: 'g.You might try using letters as well,'",
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: 'g.You might try using letters as well, You might try using letters as well,'",
" VISIBLE: 'g.You might try using letters as', cursor=1",
- "SPEECH OUTPUT: 'g.You might try using letters as well,'"]))
+ "SPEECH OUTPUT: 'g.You might try using letters as well,'",
+ "SPEECH OUTPUT: 'You might try using letters as well,'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"13. Line Up",
- ["BRAILLE LINE: 'VI.And use roman numerals,'",
- " VISIBLE: 'VI.And use roman numerals,', cursor=1",
- "SPEECH OUTPUT: 'VI.And use roman numerals,'"]))
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: 'VI.And use roman numerals, And use roman numerals,'",
+ " VISIBLE: 'VI.And use roman numerals, And u', cursor=1",
+ "SPEECH OUTPUT: 'VI.And use roman numerals,'",
+ "SPEECH OUTPUT: 'And use roman numerals,'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
@@ -130,17 +136,21 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"15. Line Up",
- ["BRAILLE LINE: '4.and that other thing I keep forgetting.'",
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: '4.and that other thing I keep forgetting. and that other thing I keep forgetting.'",
" VISIBLE: '4.and that other thing I keep fo', cursor=1",
- "SPEECH OUTPUT: '4.and that other thing I keep forgetting.'"]))
+ "SPEECH OUTPUT: '4.and that other thing I keep forgetting.'",
+ "SPEECH OUTPUT: 'and that other thing I keep forgetting.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"16. Line Up",
- ["BRAILLE LINE: '3.look really cool when we carry them around on yellow Post-Itstm.'",
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: '3.look really cool when we carry them around on yellow Post-Itstm. look really cool
when we carry them around on yellow Post-Itstm.'",
" VISIBLE: '3.look really cool when we carry', cursor=1",
- "SPEECH OUTPUT: '3.look really cool when we carry them around on yellow Post-Itstm.'"]))
+ "SPEECH OUTPUT: '3.look really cool when we carry them around on yellow Post-Itstm.'",
+ "SPEECH OUTPUT: 'look really cool when we carry them around on yellow Post-Itstm.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
@@ -154,17 +164,21 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"18. Line Up",
- ["BRAILLE LINE: '2.arrange long and arbitrary lines of text into ordered lists that are pleasing to the
eye and suggest some'",
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: '2.arrange long and arbitrary lines of text into ordered lists that are pleasing to the
eye and suggest some arrange long and arbitrary lines of text into ordered lists that are pleasing to the eye
and suggest some'",
" VISIBLE: '2.arrange long and arbitrary lin', cursor=1",
- "SPEECH OUTPUT: '2.arrange long and arbitrary lines of text into ordered lists that are pleasing to the
eye and suggest some '"]))
+ "SPEECH OUTPUT: '2.arrange long and arbitrary lines of text into ordered lists that are pleasing to the
eye and suggest some '",
+ "SPEECH OUTPUT: 'arrange long and arbitrary lines of text into ordered lists that are pleasing to the
eye and suggest some '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"19. Line Up",
- ["BRAILLE LINE: '1.remember what the heck we are doing each day'",
+ ["KNOWN ISSUE: Due to a Gecko bug in which we get the wrong line at offset for list items, we are
presenting this twice on the way up. They have already fixed this bug in Nightly.",
+ "BRAILLE LINE: '1.remember what the heck we are doing each day remember what the heck we are doing
each day'",
" VISIBLE: '1.remember what the heck we are ', cursor=1",
- "SPEECH OUTPUT: '1.remember what the heck we are doing each day'"]))
+ "SPEECH OUTPUT: '1.remember what the heck we are doing each day'",
+ "SPEECH OUTPUT: 'remember what the heck we are doing each day'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
diff --git a/test/keystrokes/firefox/line_nav_nested_tables.py
b/test/keystrokes/firefox/line_nav_nested_tables.py
index 5b5cbcf..12e7f39 100644
--- a/test/keystrokes/firefox/line_nav_nested_tables.py
+++ b/test/keystrokes/firefox/line_nav_nested_tables.py
@@ -56,14 +56,6 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"5. line Down",
- ["BRAILLE LINE: ' '",
- " VISIBLE: ' ', cursor=1",
- "SPEECH OUTPUT: ' '"]))
-
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Down"))
-sequence.append(utils.AssertPresentationAction(
- "6. line Down",
["BRAILLE LINE: 'UNIX 2007'",
" VISIBLE: 'UNIX 2007', cursor=1",
"SPEECH OUTPUT: 'UNIX 2007'"]))
@@ -71,15 +63,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "7. line Down",
- ["BRAILLE LINE: ' '",
- " VISIBLE: ' ', cursor=1",
- "SPEECH OUTPUT: ' '"]))
-
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Down"))
-sequence.append(utils.AssertPresentationAction(
- "8. line Down",
+ "6. line Down",
["KNOWN ISSUE: We are now finding and moving to useless table cells.",
"BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
@@ -88,7 +72,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "9. line Down",
+ "7. line Down",
["BRAILLE LINE: 'Take Course'",
" VISIBLE: 'Take Course', cursor=1",
"SPEECH OUTPUT: 'Take Course'",
@@ -97,7 +81,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "10. line Down",
+ "8. line Down",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -105,7 +89,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "11. line Down",
+ "9. line Down",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -113,7 +97,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "12. line Down",
+ "10. line Down",
["BRAILLE LINE: 'You have completed 87 of the 87 modules in this course.'",
" VISIBLE: 'You have completed 87 of the 87 ', cursor=1",
"SPEECH OUTPUT: 'You have completed 87 of the 87 modules in this course.'"]))
@@ -121,7 +105,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "13. line Down",
+ "11. line Down",
["BRAILLE LINE: 'separator'",
" VISIBLE: 'separator', cursor=0",
"SPEECH OUTPUT: 'separator'"]))
@@ -129,7 +113,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "14. line Down",
+ "12. line Down",
["BRAILLE LINE: 'SQL Plus'",
" VISIBLE: 'SQL Plus', cursor=1",
"SPEECH OUTPUT: 'SQL Plus'"]))
@@ -137,15 +121,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "15. line Down",
- ["BRAILLE LINE: ' '",
- " VISIBLE: ' ', cursor=1",
- "SPEECH OUTPUT: ' '"]))
-
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Down"))
-sequence.append(utils.AssertPresentationAction(
- "16. line Down",
+ "13. line Down",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -153,7 +129,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "17. line Down",
+ "14. line Down",
["BRAILLE LINE: 'Take Course'",
" VISIBLE: 'Take Course', cursor=1",
"SPEECH OUTPUT: 'Take Course'",
@@ -162,7 +138,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "18. line Down",
+ "15. line Down",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -170,7 +146,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "19. line Down",
+ "16. line Down",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -178,7 +154,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "20. line Down",
+ "17. line Down",
["BRAILLE LINE: 'You have completed 59 of the 184 modules in this course.'",
" VISIBLE: 'You have completed 59 of the 184', cursor=1",
"SPEECH OUTPUT: 'You have completed 59 of the 184 modules in this course.'"]))
@@ -186,7 +162,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
- "21. line Down",
+ "18. line Down",
["BRAILLE LINE: 'separator'",
" VISIBLE: 'separator', cursor=0",
"SPEECH OUTPUT: 'separator'"]))
@@ -194,7 +170,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "22. line Up",
+ "19. line Up",
["BRAILLE LINE: 'You have completed 59 of the 184 modules in this course.'",
" VISIBLE: 'You have completed 59 of the 184', cursor=1",
"SPEECH OUTPUT: 'You have completed 59 of the 184 modules in this course.'"]))
@@ -202,7 +178,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "23. line Up",
+ "20. line Up",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -210,7 +186,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "24. line Up",
+ "21. line Up",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -218,7 +194,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "25. line Up",
+ "22. line Up",
["BRAILLE LINE: 'Take Course'",
" VISIBLE: 'Take Course', cursor=1",
"SPEECH OUTPUT: 'Take Course'",
@@ -227,7 +203,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "26. line Up",
+ "23. line Up",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -235,7 +211,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "27. line Up",
+ "24. line Up",
["BRAILLE LINE: ' '",
" VISIBLE: ' ', cursor=1",
"SPEECH OUTPUT: ' '"]))
@@ -243,7 +219,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "28. line Up",
+ "25. line Up",
["BRAILLE LINE: 'SQL Plus'",
" VISIBLE: 'SQL Plus', cursor=1",
"SPEECH OUTPUT: 'SQL Plus'"]))
@@ -251,7 +227,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "29. line Up",
+ "26. line Up",
["BRAILLE LINE: 'separator'",
" VISIBLE: 'separator', cursor=0",
"SPEECH OUTPUT: 'separator'"]))
@@ -259,7 +235,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "30. line Up",
+ "27. line Up",
["BRAILLE LINE: 'You have completed 87 of the 87 modules in this course.'",
" VISIBLE: 'You have completed 87 of the 87 ', cursor=1",
"SPEECH OUTPUT: 'You have completed 87 of the 87 modules in this course.'"]))
@@ -267,7 +243,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "31. line Up",
+ "28. line Up",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -275,7 +251,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "32. line Up",
+ "29. line Up",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -283,7 +259,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "33. line Up",
+ "30. line Up",
["BRAILLE LINE: 'Take Course'",
" VISIBLE: 'Take Course', cursor=1",
"SPEECH OUTPUT: 'Take Course'",
@@ -292,7 +268,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "34. line Up",
+ "31. line Up",
["BRAILLE LINE: 'table cell'",
" VISIBLE: 'table cell', cursor=0",
"SPEECH OUTPUT: 'blank'"]))
@@ -300,7 +276,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "35. line Up",
+ "32. line Up",
["BRAILLE LINE: ' '",
" VISIBLE: ' ', cursor=1",
"SPEECH OUTPUT: ' '"]))
@@ -308,7 +284,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "36. line Up",
+ "33. line Up",
["BRAILLE LINE: 'UNIX 2007'",
" VISIBLE: 'UNIX 2007', cursor=1",
"SPEECH OUTPUT: 'UNIX 2007'"]))
@@ -316,7 +292,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "37. line Up",
+ "34. line Up",
["BRAILLE LINE: ' '",
" VISIBLE: ' ', cursor=1",
"SPEECH OUTPUT: ' '"]))
@@ -324,7 +300,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "38. line Up",
+ "35. line Up",
["BRAILLE LINE: 'Below is a list of the courses that make up your learning plan.'",
" VISIBLE: 'Below is a list of the courses t', cursor=1",
"SPEECH OUTPUT: 'Below is a list of the courses that make up your learning plan. '"]))
@@ -332,7 +308,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "39. line Up",
+ "36. line Up",
["BRAILLE LINE: 'Your Learning Plan'",
" VISIBLE: 'Your Learning Plan', cursor=1",
"SPEECH OUTPUT: 'Your Learning Plan'"]))
@@ -340,7 +316,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "40. line Up",
+ "27. line Up",
["BRAILLE LINE: 'Campus . Classroom . Communicate . Reports '",
" VISIBLE: 'Campus . Classroom . Communi', cursor=1",
"SPEECH OUTPUT: 'Campus'",
@@ -359,7 +335,7 @@ sequence.append(utils.AssertPresentationAction(
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
- "41. line Up",
+ "28. line Up",
["BRAILLE LINE: 'nested-tables image'",
" VISIBLE: 'nested-tables image', cursor=0",
"SPEECH OUTPUT: 'nested-tables'",
diff --git a/test/keystrokes/firefox/line_nav_pre_lines.params
b/test/keystrokes/firefox/line_nav_pre_lines.params
new file mode 100644
index 0000000..ed5743c
--- /dev/null
+++ b/test/keystrokes/firefox/line_nav_pre_lines.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/lines-in-pre.html
diff --git a/test/keystrokes/firefox/line_nav_pre_lines.py b/test/keystrokes/firefox/line_nav_pre_lines.py
new file mode 100644
index 0000000..c41a14c
--- /dev/null
+++ b/test/keystrokes/firefox/line_nav_pre_lines.py
@@ -0,0 +1,163 @@
+#!/usr/bin/python
+
+"""Test of line navigation output of Firefox."""
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("<Control>Home"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Top of file",
+ ["BRAILLE LINE: 'Start'",
+ " VISIBLE: 'Start', cursor=1",
+ "SPEECH OUTPUT: 'Start'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Line Down",
+ ["BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=1",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "3. Line Down",
+ ["BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=1",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "4. Line Down",
+ ["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(
+ "5. Line Down",
+ ["BRAILLE LINE: 'line 2'",
+ " VISIBLE: 'line 2', cursor=1",
+ "SPEECH OUTPUT: 'line 2",
+ "'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "6. Line Down",
+ ["BRAILLE LINE: 'line 3'",
+ " VISIBLE: 'line 3', cursor=1",
+ "SPEECH OUTPUT: 'line 3",
+ "'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "7. Line Down",
+ ["BRAILLE LINE: 'line 4'",
+ " VISIBLE: 'line 4', cursor=1",
+ "SPEECH OUTPUT: 'line 4",
+ "'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "8. Line Down",
+ ["BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=1",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "9. Line Down",
+ ["BRAILLE LINE: 'End'",
+ " VISIBLE: 'End', cursor=1",
+ "SPEECH OUTPUT: 'End'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "10. Line Up",
+ ["BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=1",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "11. Line Up",
+ ["BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=1",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "12. Line Up",
+ ["BRAILLE LINE: 'line 4'",
+ " VISIBLE: 'line 4', cursor=1",
+ "SPEECH OUTPUT: 'line 4",
+ "'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "13. Line Up",
+ ["BRAILLE LINE: 'line 3'",
+ " VISIBLE: 'line 3', cursor=1",
+ "SPEECH OUTPUT: 'line 3",
+ "'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "14. Line Up",
+ ["BRAILLE LINE: 'line 2'",
+ " VISIBLE: 'line 2', cursor=1",
+ "SPEECH OUTPUT: 'line 2",
+ "'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "15. Line Up",
+ ["BRAILLE LINE: 'line 1'",
+ " VISIBLE: 'line 1', cursor=1",
+ "SPEECH OUTPUT: 'line 1",
+ "'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "16. Line Up",
+ ["BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=1",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "17. Line Up",
+ ["BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=1",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "18. Line Up",
+ ["BRAILLE LINE: 'Start'",
+ " VISIBLE: 'Start', cursor=1",
+ "SPEECH OUTPUT: 'Start'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/line_nav_wiki_up.py b/test/keystrokes/firefox/line_nav_wiki_up.py
index e93e5d1..6f4ab00 100644
--- a/test/keystrokes/firefox/line_nav_wiki_up.py
+++ b/test/keystrokes/firefox/line_nav_wiki_up.py
@@ -592,12 +592,12 @@ sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"58. Line Up",
- ["BRAILLE LINE: 'Please also refer to the Download/Installation page for detailed information on
various distributions as well as installing Orca directly from source.'",
+ ["BRAILLE LINE: 'Please also refer to the Download/Installation page for detailed information on
various'",
" VISIBLE: 'Please also refer to the Downloa', cursor=1",
"SPEECH OUTPUT: 'Please also refer to the '",
"SPEECH OUTPUT: 'Download/Installation page'",
"SPEECH OUTPUT: 'link'",
- "SPEECH OUTPUT: ' for detailed information on various distributions as well as installing Orca directly
from source. '"]))
+ "SPEECH OUTPUT: ' for detailed information on various '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]