orca r4441 - trunk/test/keystrokes/firefox
- From: joanied svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r4441 - trunk/test/keystrokes/firefox
- Date: Wed, 21 Jan 2009 02:22:54 +0000 (UTC)
Author: joanied
Date: Wed Jan 21 02:22:54 2009
New Revision: 4441
URL: http://svn.gnome.org/viewvc/orca?rev=4441&view=rev
Log:
Updated regression test (seems the test was in this file 2x)
Modified:
trunk/test/keystrokes/firefox/html_struct_nav_bug_567984.py
Modified: trunk/test/keystrokes/firefox/html_struct_nav_bug_567984.py
==============================================================================
--- trunk/test/keystrokes/firefox/html_struct_nav_bug_567984.py (original)
+++ trunk/test/keystrokes/firefox/html_struct_nav_bug_567984.py Wed Jan 21 02:22:54 2009
@@ -137,142 +137,3 @@
sequence.append(utils.AssertionSummaryAction())
sequence.start()
-# -*- coding: utf-8 -*-
-#!/usr/bin/python
-
-"""Test of table cell navigation output of Firefox.
-"""
-
-from macaroon.playback import *
-import utils
-
-sequence = MacroSequence()
-
-########################################################################
-# We wait for the focus to be on a blank Firefox window.
-#
-sequence.append(WaitForWindowActivate(utils.firefoxFrameNames, None))
-
-########################################################################
-# Load the local "simple form" test case.
-#
-sequence.append(KeyComboAction("<Control>l"))
-sequence.append(WaitForFocus(acc_role=pyatspi.ROLE_ENTRY))
-
-sequence.append(TypeAction(utils.htmlURLPrefix + "bug-567984.html"))
-sequence.append(KeyComboAction("Return"))
-
-sequence.append(WaitForDocLoad())
-
-sequence.append(WaitForFocus("",
- acc_role=pyatspi.ROLE_DOCUMENT_FRAME))
-
-########################################################################
-# Press Control+Home to move to the top.
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("<Control>Home"))
-sequence.append(utils.AssertPresentationAction(
- "1. Top of file",
- ["BRAILLE LINE: 'Index VakbarÃt HÃrportÃl h1'",
- " VISIBLE: 'Index VakbarÃt HÃrportÃl h1', cursor=1",
- "SPEECH OUTPUT: 'Index VakbarÃt HÃrportÃl heading level 1'"]))
-
-########################################################################
-# H to move amongst headings
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("h"))
-sequence.append(utils.AssertPresentationAction(
- "2. h",
- ["BRAILLE LINE: 'Legfrissebb hÃrek h2'",
- " VISIBLE: 'Legfrissebb hÃrek h2', cursor=1",
- "SPEECH OUTPUT: 'Legfrissebb hÃrek heading level 2'"]))
-
-########################################################################
-# H to move amongst headings
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("h"))
-sequence.append(utils.AssertPresentationAction(
- "3. h",
- ["BRAILLE LINE: 'Izrael bejelentette az h3'",
- " VISIBLE: 'Izrael bejelentette az h3', cursor=1",
- "SPEECH OUTPUT: 'Izrael bejelentette az ",
- "egyoldalà tÃzszÃnetet link heading level 3'"]))
-
-########################################################################
-# H to move amongst headings
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("h"))
-sequence.append(utils.AssertPresentationAction(
- "4. h",
- ["BRAILLE LINE: 'VideÃk a Hudsonba zuhanà repÃlÃrÃl h3'",
- " VISIBLE: 'VideÃk a Hudsonba zuhanà repÃlÃr', cursor=1",
- "SPEECH OUTPUT: 'VideÃk a Hudsonba zuhanà repÃlÃrÃl link heading level 3'"]))
-
-########################################################################
-# H to move amongst headings
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("h"))
-sequence.append(utils.AssertPresentationAction(
- "5. h",
- ["BRAILLE LINE: 'Ãjabb pÃnzÃgyi guru tÃnt el, pÃnzzel egyÃtt h3'",
- " VISIBLE: 'Ãjabb pÃnzÃgyi guru tÃnt el, pÃn', cursor=1",
- "SPEECH OUTPUT: 'Ãjabb pÃnzÃgyi guru tÃnt el, pÃnzzel egyÃtt link heading level 3'"]))
-
-########################################################################
-# Down Arrow to move to some text in the document frame
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Down"))
-sequence.append(utils.AssertPresentationAction(
- "6. Down",
- ["BRAILLE LINE: 'A 75 Ãves Arthur NadeltÃl tÃbb szÃzmillià dollÃr kÃvetelnÃnek az Ãgyfelei, de mÃg a fÃrfit sem talÃljÃk.'",
- " VISIBLE: 'A 75 Ãves Arthur NadeltÃl tÃbb s', cursor=1",
- "SPEECH OUTPUT: 'A 75 Ãves Arthur NadeltÃl tÃbb szÃzmillià dollÃr kÃvetelnÃnek az Ãgyfelei, de mÃg a fÃrfit sem talÃljÃk.'"]))
-
-########################################################################
-# Down Arrow to move to some text in the document frame
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Down"))
-sequence.append(utils.AssertPresentationAction(
- "7. Down",
- ["BRAILLE LINE: '1150 embert utcÃra tesz a pÃcsi Elcoteq h3'",
- " VISIBLE: '1150 embert utcÃra tesz a pÃcsi ', cursor=1",
- "SPEECH OUTPUT: '1150 embert utcÃra tesz a pÃcsi Elcoteq link heading level 3'"]))
-
-########################################################################
-# H to move to the next heading. It should NOT be the first heading.
-#
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("h"))
-sequence.append(utils.AssertPresentationAction(
- "8. h",
- ["BRAILLE LINE: 'Hamarosan Ãjraindul a gÃzszÃllÃtÃs h3'",
- " VISIBLE: 'Hamarosan Ãjraindul a gÃzszÃllÃt', cursor=1",
- "SPEECH OUTPUT: 'Hamarosan Ãjraindul a gÃzszÃllÃtÃs link heading level 3'"]))
-
-########################################################################
-# Move to the location bar by pressing Control+L. When it has focus
-# type "about:blank" and press Return to restore the browser to the
-# conditions at the test's start.
-#
-sequence.append(KeyComboAction("<Control>l"))
-sequence.append(WaitForFocus(acc_role=pyatspi.ROLE_ENTRY))
-
-sequence.append(TypeAction("about:blank"))
-sequence.append(KeyComboAction("Return"))
-
-sequence.append(WaitForDocLoad())
-
-# Just a little extra wait to let some events get through.
-#
-sequence.append(PauseAction(3000))
-
-sequence.append(utils.AssertionSummaryAction())
-
-sequence.start()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]