Initial commit, very few changes from orca 45. Added xfce4-notification daemon support.
This commit is contained in:
39
test/keystrokes/oocalc/coordinate_announcement_off.py
Normal file
39
test/keystrokes/oocalc/coordinate_announcement_off.py
Normal file
@ -0,0 +1,39 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test presentation when coordinate announcement is off"""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Down to A2 - don't speak cell coordinates",
|
||||
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Good in Pies A2'",
|
||||
" VISIBLE: 'Good in Pies A2', cursor=1",
|
||||
"SPEECH OUTPUT: 'Good in Pies.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Right to B2 - don't speak cell coordinates",
|
||||
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Yes B2'",
|
||||
" VISIBLE: 'Yes B2', cursor=1",
|
||||
"SPEECH OUTPUT: 'Yes.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Control+Home to A1 - don't speak cell coordinates",
|
||||
["KNOWN ISSUE: We don't want to show the sheet.",
|
||||
"BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table A1'",
|
||||
" VISIBLE: 'Sheet Sheet1 table A1', cursor=20",
|
||||
"SPEECH OUTPUT: 'blank.'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
Reference in New Issue
Block a user