This file contains test cases which should verify that Vojtux distribution live image is behaving as expected. Currently, I do not have any automation around it, that's why I am writing here exact steps how to manually test some Vojtux features.
Please note that Orca is configured to announce all key presses including CTRL, ALT and SHIFT key by default. I don't plan to test this behavior because I think most people just turn it off. However, I don't want to turn it off in Vojtux unless there is a strong demand for this, I prefer to keep upstream configuration where possible.
Please ignore these orca announcements when testing or disable this behavior as follows:
-
Open Orca preferences by pressing Orca+Spacebar (Orca key is by default set to Insert)
-
Switch to the "Echo" tab
-
Disable announcements of keys which annoy you, probably "Modifier keys" and possibly "Action keys"
The live image has speech working after boot.
-
Get the Vojtux live image.
-
Prepare a VM or a physical system with sound output enabled.
-
Configure the system so that its primary boot device is the one with Vojtux image.
-
Power on the system.
-
When the boot screen appears, choose "start vojtux xy", where xy is the Vojtux version, or wait until the timeout runs out and the system starts booting.
-
Wait until a graphical desktop appears
- "Screen Reader on" is announced with Espeak voice and it can be heard from speakers
Ensure that the desktop can be accessed with a screen reader.
-Boot into desktop environment of the Vojtux live image.
-Wait until you hear "screenreader on".
-Press key combination ctrl+alt+d.
-Keep pressing down arrow while moving over items.
-After pressing the ctrl+alt+d you should hear "desktop, icon view".
-After each down arrow press, Orca screen reader should read an icon from the desktop. You should hear the following utterances:.
- Computer icon
- Live user's home icon
- Trash icon
- Install to hard drive desktop entry
Ensure that the Orca key is configured correctly
-Boot into desktop environment of the Vojtux live image.
-
Press ctrl+alt+d or click on the desktop to focus the desktop.
-
Press insert+h.
-
Press escape.
-
After pressing insert+h you should hear "screen reader version xyz, entering learn mode", followed by more instructions
- xyz is Orca version, the exact version is not important for this test case
-
After pressing Escape you should hear "exitting learn mode"
Ensure that the sound theme is correctly loaded.
- Boot into desktop environment of the Vojtux live image.
-
Press ctrl+alt+d or click on the desktop to focus the desktop.
-
Press ctrl+alt+right arrow.
-
You should hear swishing sound
-
Orca should announce "Workspace 2"
-
You should be switched to the second desktop (workspace)
Ensure that the documentation is present.
-
Boot into desktop environment of the Vojtux live image.
-
Download this file https://github.com/vojtapolasek/vojtux/blob/master/docs/en/handout.md
-
Download this file https://github.com/vojtapolasek/vojtux/blob/master/docs/en/keyboard_shortcuts.txt
-
Run
pandoc -s -t html -o handout.html handout.md
-
Open the "live user's home folder".
-
Open the "documentation folder".
There should be the following three documents:
-
handout.html identical to the file you produced in the setup phase
-
handout.md identical to the file you downloaded in the setup phase
-
keyboard_shortcuts.txt identical to the file you downloaded in the setup phase
Ensure that graphical applications which are being run under sudo are accessible.
- Boot into desktop environment of the Vojtux live image.
-
Press ALT+F1 to open the application menu.
-
Launch "Gparted" located in "System tools" folder.
-
Use TAB key to move around the interface.
-
Orca should announce "Gparted frame" when the application launches.
-
Orca should announce controls (such as "New... button" when using TAB to move around the interface.
Ensure that applications utilizing QT toolkit are accessible.
- Boot into desktop environment of the Vojtux live image.
-
Press ALT+F1 to open application menu.
-
Launch VLC media player which can be found in the "Sound and video" submenu.
-
Press TAB after the application launches.
-
The application presents a simple dialog configuring network access policy.
-
When the window appears, the title "Privacy and network access policy" is announced by Orca.
-
When pressing TAB key, two elements are announced; one checkbox and one button.
Ensure that Orca screen reader can be restarted with a keyboard shortcut.
- Boot into desktop environment of the Vojtux live image.
-
Focus the desktop by pressing CTRL+ALT+D.
-
Press ALT+SUPER+O.
- Orca will announce last focused item, in this case probably "Desktop, computer icon", followed by "Screen reader on".
Ensure that system volume can be changed with an alternative shortcut.
- Boot into desktop environment of the Vojtux live image.
-
Focus the desktop by pressing CTRL+ALT+D.
-
Press ALT+SUPER+DOWN and after a while press ALT+SUPER+UP.
-
The volume should decrease and increase.
-
A sound should play when the volume is changed.
Ensure that system volume can be muted with an alternative shortcut.
- Boot into desktop environment of the Vojtux live image.
-
Focus the desktop by pressing CTRL+ALT+D.
-
Move through desktop icons with arrows.
-
Press ALT+SUPER+LEFT.
-
Move through desktop icons with arrows.
-
Press ALT+SUPER+LEFT.
-
Speech should be produced before pressing the ALT+SUPER+LEFT combo for the first time.
-
After pressing ALT+SUPER+LEFT for the first time, no speech should be produced when focusing icons.
-
After pressing ALT+SUPER+LEFT for the second time, a popping sound should be produced.
Ensure that Firefox can be launched with a shortcut.
-
Boot into desktop environment of the Vojtux live image.
-
Focus the desktop.
- Press ALT+SUPER+F.
- The firefox browser is launched.
Ensure that screen reader can be toggled system vide.
-
Boot into desktop environment of the Vojtux live image.
-
Focus the desktop.
-
Press ALT+SUPER+S.
-
Move through icons with arrows.
-
Press ALT+SUPER+S again.
-
After pressing ALT+SUPER+S for the first time, Orca should announce "Screenreader off".
-
When moving through icons, nothing is announced.
-
After pressing ALT+SUPER+S for the second time, Orca should announce "Screen reader on".
Ensure that LIOS can be started with a keyboard shortcut.
-
Boot into desktop environment of the Vojtux live image.
-
Focus the desktop.
- Press ALT+SUPER+L.
- Press ALT+SUPER+L.
- The Linux Intelligent OCR Software application should launch.
Ensure that monitor can be toggled with a shortcut.
-
Boot into desktop environment of the Vojtux live image.
-
Focus the desktop.
-
Press ALT+SUPER+M.
-
After a while, press ALT+SUPER+M again.
-
After pressing ALT+SUPER+M for the first time, the monitor is turned off or in case of VM, the message appears that the display output is not active. Also, you should hear "Monitor off".
-
After pressing ALT+SUPER+M for the second time, the monitor should turn on again. You should hear "Monitor on".
Ensure that all items in the top panel have meaningful accessible descriptions.
- Boot into desktop environment of the Vojtux live image.
-
Focus the top panel by presing CTRL+ALT+TAB until it is focused.
-
Use the TAB key to cycle through all items.
-
Use the SHIFT+TAB to cycle through all items in reverse order.
-
Each item should be announced by Orca, no matter if moving forward or backward among items.
-
Each item should be announced with a meaningful name, i.e. providing information so that the user can deduce its purpose. Bad example is announcing only "menu", "icon".
Ensure that information spoken by Orca is correctly presented on braille devices.
-
In case you have a physical braille device:
-
Connect a braille display to the VM.
-
Boot into desktop environment of the Vojtux live image.
-
-
In case you don't have physical braille device:
-
Boot into desktop environment of the Vojtux live image.
-
Open a terminal
-
Run the command
brltty -b xw -A auth=none -e
; a small window mimicking a braille display should appear.- Note that this window cannot be reached by pressing common keyboard combo ALT+TAB. Therefore, it cannot be read by screen reader users. To close it, you have to use the mouse or to kill the appropriate brltty process, it will probably have the highest process ID from all brltty processes running.
-
-
Press key combination ctrl+alt+d.
-
Keep pressing down arrow while moving over items.
- After pressing the ctrl+alt+d, the display should show "Icon View Layered Pane".
-After pressing down arrows, the display (virtual or physical) should read the following based on the focused icon:
- "Computer icon"
- "Liveuser's icon"
- "Install to hard Drive desktop entry"
- "Trash icon"
Ensure that brltty displays information displayed on text virtual consoles.
-
Connect a braille display to the VM.
-
Boot into desktop environment of the Vojtux live image.
-
Press CTRL+ALT+F2.
- Note: Press CTRL+ALT+F1 to return to the graphical console.
- The braille display should show "liveuser-localhost login:"
Ensure that Ocrdesktop software can be launched with a keyboard shortcut.
- Boot into desktop environment of the Vojtux live image and focus the desktop.
- Press CTRL+SUPER+O.
-
There should appear a window with title "Ocrdesktop".
-
The window will contain partial representation of the text on the screen in an area with a cursor. Exact contents will vary each time, so check manually that text in the text box more or less exists on the screen.