[orca] Regression tests: New W3C longdesc tests
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Regression tests: New W3C longdesc tests
- Date: Wed, 20 Aug 2014 19:40:57 +0000 (UTC)
commit f190cabcd786e80e24c73da5381d623f14d268a5
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Aug 20 09:46:11 2014 -0400
Regression tests: New W3C longdesc tests
test/html/rebased/fail.html | 12 +++++++
test/html/rebased/picture2.png | Bin 0 -> 6416 bytes
test/html/w3-iframe-discoverability.html | 2 +-
test/keystrokes/firefox/longdesc_1.params | 1 +
test/keystrokes/firefox/longdesc_1.py | 33 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_10.params | 1 +
test/keystrokes/firefox/longdesc_10.py | 34 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_11.params | 1 +
test/keystrokes/firefox/longdesc_11.py | 34 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_12.params | 1 +
test/keystrokes/firefox/longdesc_12.py | 33 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_13.params | 1 +
test/keystrokes/firefox/longdesc_13.py | 44 ++++++++++++++++++++++++++++
test/keystrokes/firefox/longdesc_14.params | 1 +
test/keystrokes/firefox/longdesc_14.py | 33 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_15.params | 1 +
test/keystrokes/firefox/longdesc_15.py | 33 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_2.params | 1 +
test/keystrokes/firefox/longdesc_2.py | 33 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_3.params | 1 +
test/keystrokes/firefox/longdesc_3.py | 34 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_4.params | 1 +
test/keystrokes/firefox/longdesc_4.py | 34 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_5.params | 1 +
test/keystrokes/firefox/longdesc_5.py | 34 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_6.params | 1 +
test/keystrokes/firefox/longdesc_6.py | 34 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_7.params | 1 +
test/keystrokes/firefox/longdesc_7.py | 33 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_8.params | 1 +
test/keystrokes/firefox/longdesc_8.py | 33 +++++++++++++++++++++
test/keystrokes/firefox/longdesc_9.params | 1 +
test/keystrokes/firefox/longdesc_9.py | 33 +++++++++++++++++++++
33 files changed, 540 insertions(+), 1 deletions(-)
---
diff --git a/test/html/rebased/fail.html b/test/html/rebased/fail.html
new file mode 100644
index 0000000..291ad8f
--- /dev/null
+++ b/test/html/rebased/fail.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <meta charset="utf-8">
+ <head>
+ <title>Longdesc test Pass page</title>
+ </head>
+ <body>
+ <h1>Pass</h1>
+ <p>(The image is a drawn cartoon, on the right is a parson a wheelchair in profile, facing toward the
centre of the image, under a banner with the text "e-democracy?" on it. In front of the person are some
stairs, at the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a
red and a green button)</p>
+ <p>The image is signed (in the space under the floor that is at the top of the stairs) with an "R" rune
flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to
right, and is marked ©1999. It was actually drawn by Charles McCathie Nevile.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/rebased/picture2.png b/test/html/rebased/picture2.png
new file mode 100644
index 0000000..3697d0c
Binary files /dev/null and b/test/html/rebased/picture2.png differ
diff --git a/test/html/w3-iframe-discoverability.html b/test/html/w3-iframe-discoverability.html
index f07f66a..015b0eb 100644
--- a/test/html/w3-iframe-discoverability.html
+++ b/test/html/w3-iframe-discoverability.html
@@ -4,7 +4,7 @@
<title>Longdesc test: iframe discoverability</title>
</head>
<body>
- <iframe src="external-image-external-description.html" width="480" height="320">
+ <iframe src="w3-external-image-external-description.html" width="480" height="320">
<p>If there is no document included here with an image, the result of the test is unknowable</p>
</iframe>
<p>In order to pass, it should be possible to discover that there is an image with a longdesc included in
this document (inside an iframe).
diff --git a/test/keystrokes/firefox/longdesc_1.params b/test/keystrokes/firefox/longdesc_1.params
new file mode 100644
index 0000000..ff80c62
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_1.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-data-uri-image-data-uri-description.html
diff --git a/test/keystrokes/firefox/longdesc_1.py b/test/keystrokes/firefox/longdesc_1.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_1.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_10.params b/test/keystrokes/firefox/longdesc_10.params
new file mode 100644
index 0000000..9904f2b
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_10.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-external-description-fragment.html
diff --git a/test/keystrokes/firefox/longdesc_10.py b/test/keystrokes/firefox/longdesc_10.py
new file mode 100644
index 0000000..dd44dcc
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_10.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["KNOWN ISSUE: This test fails not because of longdesc, but because jumping to any anchor in a page is
broken",
+ "BRAILLE LINE: 'Fail if you land here h1'",
+ " VISIBLE: 'Fail if you land here h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Fail if you land here'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_11.params b/test/keystrokes/firefox/longdesc_11.params
new file mode 100644
index 0000000..155af28
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_11.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-external-description-fragment-girt-by-spaces.html
diff --git a/test/keystrokes/firefox/longdesc_11.py b/test/keystrokes/firefox/longdesc_11.py
new file mode 100644
index 0000000..dd44dcc
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_11.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["KNOWN ISSUE: This test fails not because of longdesc, but because jumping to any anchor in a page is
broken",
+ "BRAILLE LINE: 'Fail if you land here h1'",
+ " VISIBLE: 'Fail if you land here h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Fail if you land here'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_12.params b/test/keystrokes/firefox/longdesc_12.params
new file mode 100644
index 0000000..903336b
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_12.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-external-description-girt-by-spaces.html
diff --git a/test/keystrokes/firefox/longdesc_12.py b/test/keystrokes/firefox/longdesc_12.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_12.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_13.params b/test/keystrokes/firefox/longdesc_13.params
new file mode 100644
index 0000000..3ed8453
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_13.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-with-absolute-base-external-description.html
diff --git a/test/keystrokes/firefox/longdesc_13.py b/test/keystrokes/firefox/longdesc_13.py
new file mode 100644
index 0000000..92f0f78
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_13.py
@@ -0,0 +1,44 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("g"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Use g to navigate to the image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image'",
+ "SPEECH OUTPUT: 'has long description'"]))
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "3. Having selected View Description, do a Where Am I for new location",
+ ["KNOWN ISSUE: Braille and eyeballs suggest we're in the right place. Speech does not. The test case
states the image is broken.",
+ "BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'invalid'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_14.params b/test/keystrokes/firefox/longdesc_14.params
new file mode 100644
index 0000000..a542e2a
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_14.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-with-relative-base-external-description.html
diff --git a/test/keystrokes/firefox/longdesc_14.py b/test/keystrokes/firefox/longdesc_14.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_14.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_15.params b/test/keystrokes/firefox/longdesc_15.params
new file mode 100644
index 0000000..7b93401
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_15.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-iframe-discoverability.html
diff --git a/test/keystrokes/firefox/longdesc_15.py b/test/keystrokes/firefox/longdesc_15.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_15.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_2.params b/test/keystrokes/firefox/longdesc_2.params
new file mode 100644
index 0000000..42980a3
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_2.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-data-uri-image-external-description.html
diff --git a/test/keystrokes/firefox/longdesc_2.py b/test/keystrokes/firefox/longdesc_2.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_2.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_3.params b/test/keystrokes/firefox/longdesc_3.params
new file mode 100644
index 0000000..1522a30
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_3.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-data-uri-image-external-description-fragment.html
diff --git a/test/keystrokes/firefox/longdesc_3.py b/test/keystrokes/firefox/longdesc_3.py
new file mode 100644
index 0000000..dd44dcc
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_3.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["KNOWN ISSUE: This test fails not because of longdesc, but because jumping to any anchor in a page is
broken",
+ "BRAILLE LINE: 'Fail if you land here h1'",
+ " VISIBLE: 'Fail if you land here h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Fail if you land here'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_4.params b/test/keystrokes/firefox/longdesc_4.params
new file mode 100644
index 0000000..ad81ed9
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_4.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-empty-image-data-uri-description.html
diff --git a/test/keystrokes/firefox/longdesc_4.py b/test/keystrokes/firefox/longdesc_4.py
new file mode 100644
index 0000000..62fb2fa
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_4.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["KNOWN ISSUE: 'Empty images are exposed to us as text, without AtspiAction, and the Firefox right-click
menu lacks View Description",
+ "BRAILLE LINE: 'the image'",
+ " VISIBLE: 'the image', cursor=1",
+ "SPEECH OUTPUT: 'text'",
+ "SPEECH OUTPUT: 'the image'"]))
+
+#sequence.append(PauseAction(3000))
+#sequence.append(KeyComboAction("KP_Multiply"))
+#sequence.append(PauseAction(3000))
+#sequence.append(KeyComboAction("d"))
+#sequence.append(WaitForDocLoad())
+#
+#sequence.append(utils.StartRecordingAction())
+#sequence.append(KeyComboAction("KP_Enter"))
+#sequence.append(utils.AssertPresentationAction(
+# "2. Having selected View Description, do a Where Am I for new location",
+# ["BRAILLE LINE: 'Pass h1'",
+# " VISIBLE: 'Pass h1', cursor=1",
+# "SPEECH OUTPUT: 'heading level 1'",
+# "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_5.params b/test/keystrokes/firefox/longdesc_5.params
new file mode 100644
index 0000000..41dba8b
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_5.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-empty-image-external-description.html
diff --git a/test/keystrokes/firefox/longdesc_5.py b/test/keystrokes/firefox/longdesc_5.py
new file mode 100644
index 0000000..62fb2fa
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_5.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["KNOWN ISSUE: 'Empty images are exposed to us as text, without AtspiAction, and the Firefox right-click
menu lacks View Description",
+ "BRAILLE LINE: 'the image'",
+ " VISIBLE: 'the image', cursor=1",
+ "SPEECH OUTPUT: 'text'",
+ "SPEECH OUTPUT: 'the image'"]))
+
+#sequence.append(PauseAction(3000))
+#sequence.append(KeyComboAction("KP_Multiply"))
+#sequence.append(PauseAction(3000))
+#sequence.append(KeyComboAction("d"))
+#sequence.append(WaitForDocLoad())
+#
+#sequence.append(utils.StartRecordingAction())
+#sequence.append(KeyComboAction("KP_Enter"))
+#sequence.append(utils.AssertPresentationAction(
+# "2. Having selected View Description, do a Where Am I for new location",
+# ["BRAILLE LINE: 'Pass h1'",
+# " VISIBLE: 'Pass h1', cursor=1",
+# "SPEECH OUTPUT: 'heading level 1'",
+# "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_6.params b/test/keystrokes/firefox/longdesc_6.params
new file mode 100644
index 0000000..1ad3640
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_6.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-empty-image-external-description-fragment.html
diff --git a/test/keystrokes/firefox/longdesc_6.py b/test/keystrokes/firefox/longdesc_6.py
new file mode 100644
index 0000000..62fb2fa
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_6.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["KNOWN ISSUE: 'Empty images are exposed to us as text, without AtspiAction, and the Firefox right-click
menu lacks View Description",
+ "BRAILLE LINE: 'the image'",
+ " VISIBLE: 'the image', cursor=1",
+ "SPEECH OUTPUT: 'text'",
+ "SPEECH OUTPUT: 'the image'"]))
+
+#sequence.append(PauseAction(3000))
+#sequence.append(KeyComboAction("KP_Multiply"))
+#sequence.append(PauseAction(3000))
+#sequence.append(KeyComboAction("d"))
+#sequence.append(WaitForDocLoad())
+#
+#sequence.append(utils.StartRecordingAction())
+#sequence.append(KeyComboAction("KP_Enter"))
+#sequence.append(utils.AssertPresentationAction(
+# "2. Having selected View Description, do a Where Am I for new location",
+# ["BRAILLE LINE: 'Pass h1'",
+# " VISIBLE: 'Pass h1', cursor=1",
+# "SPEECH OUTPUT: 'heading level 1'",
+# "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_7.params b/test/keystrokes/firefox/longdesc_7.params
new file mode 100644
index 0000000..f6021c0
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_7.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-data-uri-description.html
diff --git a/test/keystrokes/firefox/longdesc_7.py b/test/keystrokes/firefox/longdesc_7.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_7.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_8.params b/test/keystrokes/firefox/longdesc_8.params
new file mode 100644
index 0000000..7197d87
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_8.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-data-uri-description-girt-by-spaces.html
diff --git a/test/keystrokes/firefox/longdesc_8.py b/test/keystrokes/firefox/longdesc_8.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_8.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
diff --git a/test/keystrokes/firefox/longdesc_9.params b/test/keystrokes/firefox/longdesc_9.params
new file mode 100644
index 0000000..ec2ad85
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_9.params
@@ -0,0 +1 @@
+PARAMS=$TEST_DIR/../../html/w3-external-image-external-description.html
diff --git a/test/keystrokes/firefox/longdesc_9.py b/test/keystrokes/firefox/longdesc_9.py
new file mode 100644
index 0000000..65c5584
--- /dev/null
+++ b/test/keystrokes/firefox/longdesc_9.py
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+from macaroon.playback import *
+import utils
+
+sequence = MacroSequence()
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "1. Where Am I on image",
+ ["BRAILLE LINE: 'the image image'",
+ " VISIBLE: 'the image image', cursor=1",
+ "SPEECH OUTPUT: 'the image'",
+ "SPEECH OUTPUT: 'image has long description'"]))
+
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("KP_Multiply"))
+sequence.append(PauseAction(3000))
+sequence.append(KeyComboAction("d"))
+sequence.append(WaitForDocLoad())
+
+sequence.append(utils.StartRecordingAction())
+sequence.append(KeyComboAction("KP_Enter"))
+sequence.append(utils.AssertPresentationAction(
+ "2. Having selected View Description, do a Where Am I for new location",
+ ["BRAILLE LINE: 'Pass h1'",
+ " VISIBLE: 'Pass h1', cursor=1",
+ "SPEECH OUTPUT: 'heading level 1'",
+ "SPEECH OUTPUT: 'Pass'"]))
+
+sequence.append(utils.AssertionSummaryAction())
+sequence.start()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]