[orca] New test case
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] New test case
- Date: Thu, 23 Jul 2015 19:42:46 +0000 (UTC)
commit 86517e33322057790c2f96b45694e51cb5571cd2
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Jul 23 15:42:18 2015 -0400
New test case
test/html/empty-block-link.html | 8 ++++
.../firefox/line_nav_empty_block_link.params | 1 +
.../firefox/line_nav_empty_block_link.py | 39 ++++++++++++++++++++
3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/test/html/empty-block-link.html b/test/html/empty-block-link.html
new file mode 100644
index 0000000..42b9d12
--- /dev/null
+++ b/test/html/empty-block-link.html
@@ -0,0 +1,8 @@
+<html>
+<head></head>
+<body>
+<div>line 1</div>
+<a style="display:block; height: 18px;"></a>
+<div>line 2</div>
+</body>
+</html>
diff --git a/test/keystrokes/firefox/line_nav_empty_block_link.params
b/test/keystrokes/firefox/line_nav_empty_block_link.params
new file mode 100644
index 0000000..18bd2a5
--- /dev/null
+++ b/test/keystrokes/firefox/line_nav_empty_block_link.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/empty-block-link.html
diff --git a/test/keystrokes/firefox/line_nav_empty_block_link.py
b/test/keystrokes/firefox/line_nav_empty_block_link.py
new file mode 100644
index 0000000..4499569
--- /dev/null
+++ b/test/keystrokes/firefox/line_nav_empty_block_link.py
@@ -0,0 +1,39 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+# 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("<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(KeyComboAction("Down"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Line Down",
+ ["KNOWN ISSUE: This is broken",
+ "BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=0",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("Up"))
+sequence.append(utils.AssertPresentationAction(
+ "3. Line Up",
+ ["KNOWN ISSUE: This is broken",
+ "BRAILLE LINE: ''",
+ " VISIBLE: '', cursor=0",
+ "SPEECH OUTPUT: 'blank'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]