Merge lp:~pharmasolin/ubuntu-manual-tests/VLC_updated into lp:ubuntu-manual-tests

Proposed by Lysenko Denis on 2015-10-26
Status: Merged
Merged at revision: 345
Proposed branch: lp:~pharmasolin/ubuntu-manual-tests/VLC_updated
Merge into: lp:ubuntu-manual-tests
Diff against target: 136 lines (+39/-14)
2 files modified
testcases/packages/1426_Orca (+5/-14)
testcases/packages/1647_vlc (+34/-0)
To merge this branch: bzr merge lp:~pharmasolin/ubuntu-manual-tests/VLC_updated
Reviewer Review Type Date Requested Status
Nicholas Skaggs Approve on 2015-10-29
Kev Bowring 2015-10-26 Needs Fixing on 2015-10-26
Review via email: mp+275715@code.launchpad.net

Description of the Change

https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1187485 don't know how much of testing should cover testcase, so updated with few more "basic" functional testing. If needed deeper testcase with creating play-lists and saving it, opening online streams for example, youtube videos etc, write me.

To post a comment you must log in.
Kev Bowring (flocculant) wrote :

some inline comments

Also - can you add this to the very beginning of the testcase

<em>Testcase requires use of video and/or audio files</em>

thanks :)

review: Needs Fixing
344. By Lysenko Denis on 2015-10-26

Updated testcase for Orca (bug #1161570)

345. By Lysenko Denis on 2015-10-26

Fixing for VLC testcase

Lysenko Denis (pharmasolin) wrote :

Added fixes to VLC testcase, also Orca testcase updated.

Kev Bowring (flocculant) wrote :

re Orca.

I'm not too happy atm with it being Ubuntu-centric.

Testcases need to be written so they can be run from any of the official flavours as well as main Ubuntu.

No other DE has hud/unity/global menu.

Super in Xubuntu does nothing for example.

review: Needs Fixing
Lysenko Denis (pharmasolin) wrote :

In bug #1161570 it is said "The orca testcase needs to be verified and updated to reflect the accessibility changes that have happened in unity." So how to deal with it? I think we need testcases for different DE in this case, how to test that Orca can "understand" and can "tell" me what i'm focusing with Alt + F1 in Unity DE?

I think that solution can be mention in the test section where Unity is needed as for VLC

<em>Unity DE needed for this test</em>

Kev Bowring (flocculant) wrote :

changed the bug to be agnostic.

No - we don't need 5 different testcases to suit different DE's.

"how to test that Orca can "understand" and can "tell" me what i'm focusing with Alt + F1 in Unity DE?" run them from a VM maybe?

to be honest you'd in future be better off doing seperate MPs for different testcases - can't approve this until the orca one gets fixed, which means the work you did on vlc is now hanging about :)

review: Needs Fixing
Lysenko Denis (pharmasolin) wrote :

It is not a problem, so solution should be remove Unity DE specific test in this testcase?

Kev Bowring (flocculant) wrote :

> It is not a problem, so solution should be remove Unity DE specific test in
> this testcase?

Unless a test is very specific then any testcase should be able to run properly on any flavour - so no DE specific.

So rather than just remove anything which is specific - reword it so it works everywhere.

Nicholas Skaggs (nskaggs) wrote :

Lysenko, first of all, thanks for contributing! As flocculant mentioned, it's best to make each testcase a seperate MP so it can be reviewed independently. That avoids the problem of us wanting to merge your vlc changes, but not the orca ones just yet.

Now, on the Orca changes, thanks for fixing these up. We're concerned about the testcase being out of date again or invalid for other flavors. It would be great if you could try it out on a xubuntu or lubuntu install and make sure these directions still make sense.

All that said, I'm ok with landing this for now. Thanks again for your contribution. I hope to see more MP's in the future.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'testcases/packages/1426_Orca'
2--- testcases/packages/1426_Orca 2013-08-03 10:34:11 +0000
3+++ testcases/packages/1426_Orca 2015-10-26 16:00:32 +0000
4@@ -1,19 +1,17 @@
5-Test-case name: orca/starting_orca
6 This test will check that Orca can play a welcome message
7 <dl>
8 <dt> Open Dash type 'system settings' and launch the system settings tool</dt>
9 <dd>system settings opens and contains the Universal Access section</dd>
10 <dt> Select the Universal Access section</dt>
11 <dd>a dialog with accessibility settings opens, you are on the 'seeing' tab.</dd>
12- <dt> Select the Screen Reader option</dt>
13- <dd>Did a voice say "welcome to orca"?</dd>
14+ <dt> Select the Screen Reader option "On"</dt>
15+ <dd>Did a voice say "Screen reader ON"?</dd>
16 </dl>
17
18-Test-case name: orca/dash
19 This test will check that Orca can announce text in the dash
20 <dl>
21 <dt> press the super(windows) key to bring up the dash</dt>
22- <dd>a voice says 'Dash frame'</dd>
23+ <dd>a voice says 'Unity Dash window, entry'</dd>
24 <dt> use the cursor keys to navigate around the dash</dt>
25 <dd>a voice should read out options as you select them</dd>
26 <dt> move down to the lens list at the bottom of the dash</dt>
27@@ -22,7 +20,6 @@
28 <dd>Did the voice announce you are on the applications lens?</dd>
29 </dl>
30
31-Test-case name: orca/HUD
32 This test will check that Orca can announce text in the HUD
33 <dl>
34 <dt> from the dash launch the gedit application</dt>
35@@ -33,7 +30,6 @@
36 <dd>Are the options read out by orca? Does selecting an option operate that menu item in the gedit window?</dd>
37 </dl>
38
39-Test-case name: orca/Ubiquity
40 This test will check that Orca can announce text in Ubiquity
41 <dl>
42 <dt> boot a live CD, when you hear the drums press ctrl+s</dt>
43@@ -42,7 +38,6 @@
44 <dd>Are you able to hear all of the options read by orca? Are you able to install without needing to use the mouse?</dd>
45 </dl>
46
47-Test-case name: orca/globalmenu
48 This test will check that Orca can announce text in global menu
49 <dl>
50 <dt> in an application with a global menu press alt to bring up the menu</dt>
51@@ -53,12 +48,11 @@
52 <dd>Is the shortcut read to you?</dd>
53 </dl>
54
55-Test-case name: orca/indicators
56 This test will check that Orca can announce text in indicators
57 <dl>
58- <dt> press F10 to get to the global menu then use the right cursor to go through the menu to the indicators</dt>
59+ <dt> press Alt + F10 to get to the global menu then use the right cursor to go through the menu to the indicators</dt>
60 <dd>the indicator names should be read out</dd>
61- <dt> press F10 to leave the menu then F10 again to go back, but this time go left</dt>
62+ <dt> press Alt + F10 to leave the menu then Alt + F10 again to go back, but this time go left</dt>
63 <dd>this should take you direct to the indicators</dd>
64 <dt> navigate around the indicators using the cursor keys</dt>
65 <dd>you should get a commentary of all items and should not get stuck anywhere.</dd>
66@@ -68,14 +62,12 @@
67 <dd>Did the music application start? It should not start without asking it to do so.</dd>
68 </dl>
69
70-Test-case name: orca/notifications
71 This test will check that Orca can announce notifications
72 <dl>
73 <dt> cause a notification to happen by sending yourself an email, instant message, irc message, etc.</dt>
74 <dd>Does the screen reader should read notification out loud?</dd>
75 </dl>
76
77-Test-case name: orca/launcher
78 This test will check that Orca can announce text in quicklists
79 <dl>
80 <dt> press alt+f1 to get to keyboard navigation of the launcher</dt>
81@@ -84,7 +76,6 @@
82 <dd>Does orca read the quicklist contents?</dd>
83 </dl>
84
85-Test-case name: orca/workspace_switcher
86 This test will check that Orca can announce text in workspace switcher
87 <dl>
88 <dt> try using the workspace switcher with the screen reader</dt>
89
90=== modified file 'testcases/packages/1647_vlc'
91--- testcases/packages/1647_vlc 2014-07-28 06:47:48 +0000
92+++ testcases/packages/1647_vlc 2015-10-26 16:00:32 +0000
93@@ -1,3 +1,5 @@
94+<em>Testcase requires use of video and/or audio files</em>
95+
96 This test will check that VLC can open an audio file
97 <dl>
98 <dt>Launch VLC</dt>
99@@ -16,5 +18,37 @@
100 <dd>The video is stopped</dd>
101 </dl>
102
103+This test will check VLC track slider
104+<dl>
105+ <dt>Go to Media > Click on 'Open File'..., select a video/audio file and press Open</dt>
106+ <dd>The selected video/audio is played</dd>
107+ <dt>In the bottom of window change current playing time by clicking at the random place of the VLC track slider<dt>
108+ <dd>Played audio/video timing changed, audio/video still playing</dd>
109+</dl>
110+
111+This test will check VLC volume control
112+<dl>
113+ <dt>Go to Media > Click on 'Open File'..., select a video/audio file and press Open</dt>
114+ <dd>The selected video/audio is played</dd>
115+ <dt>In the bottom right corner of the window change volume by moving green slider in triangle</dt>
116+ <dd>Playback volume changed</dd>
117+ <dt>In the bottom right corner of the window press "mute" icon (small speaker icon)</dt>
118+ <dd>Playback volume muted</dd>
119+</dl>
120+
121+This test will check VLC control panel
122+<dl>
123+ <dt>Go to Media > Click on 'Open File'..., select two different video/audio files and press Open</dt>
124+ <dd>The selected video/audio is played</dd>
125+ <dt>Click on "Pause the playback" button at the bottom</dt>
126+ <dd>The selected video/audio is paused</dt>
127+ <dt>Click on "Play" button at the bottom</dt>
128+ <dd>Video/audio is resumed from where it was paused</dt>
129+ <dt>Click on "Next media" button at the bottom</dt>
130+ <dd>The next file in the list starts playing</dd>
131+ <dt>Click on 'Stop playback' button at the bottom</dt>
132+ <dd>The video is stopped</dd>
133+</dl>
134+
135 <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
136 If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>

Subscribers

People subscribed via source and target branches