Merge lp:~flocculant/ubuntu-manual-tests/1508808 into lp:ubuntu-manual-tests

Proposed by Kev Bowring on 2015-10-22
Status: Merged
Approved by: David Pires on 2015-10-22
Approved revision: 347
Merged at revision: 347
Proposed branch: lp:~flocculant/ubuntu-manual-tests/1508808
Merge into: lp:ubuntu-manual-tests
Diff against target: 308 lines (+70/-75)
5 files modified
testcases/packages/1557_Mousepad (+6/-8)
testcases/packages/1559_Catfish (+23/-51)
testcases/packages/1569_Thunar (+8/-13)
testcases/packages/1629_Xubuntu Power (+1/-2)
testcases/packages/Xfce/1582_Xfce4 Power Manager Settings (+32/-1)
To merge this branch: bzr merge lp:~flocculant/ubuntu-manual-tests/1508808
Reviewer Review Type Date Requested Status
David Pires 2015-10-22 Approve on 2015-10-22
Review via email: mp+275364@code.launchpad.net

Description of the Change

Changes to 5 testcases pre xenial checks.

To post a comment you must log in.
David Pires (slickymaster) wrote :

Reviewed and approved. ready to be merged.

Thanks for doing the necessary amends to the existing tests, flocculant.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'testcases/packages/1557_Mousepad'
2--- testcases/packages/1557_Mousepad 2014-11-24 22:12:20 +0000
3+++ testcases/packages/1557_Mousepad 2015-10-22 14:57:37 +0000
4@@ -1,3 +1,5 @@
5+<em>Testcase assumes that the test is run completely</em>
6+
7 This test will check that Mousepad opens
8 <dl>
9 <dt>Open Mousepad</dt>
10@@ -10,7 +12,7 @@
11 <dd>Text appears in window</dd>
12 <dt>Click File -> Save</dt>
13 <dd>Save As window opens</dd>
14- <dt>Type test.txt in Name: box</dt>
15+ <dt>Type test in Name: box</dt>
16 <dt>Select any folder to save file to</dt>
17 <dd>Chosen file name and target folder remain as selected</dd>
18 <dt>Click Save button</dt>
19@@ -23,17 +25,15 @@
20
21 This test will check that Mousepad can find and highlight searched text
22 <dl>
23- <dt>Open previously saved file</dt>
24- <dd>Mousepad opens previous file</dd>
25 <dt>Press Ctrl+F</dt>
26 <dd>Search box appears</dd>
27 <dt>Type "t" in the box</dt>
28 <dd>First "t" is found in the text document</dd>
29- <dt>Press F3</dt>
30+ <dt>Press Ctrl+G</dt>
31 <dd>Next "t" is found in the text document</dd>
32 <dt>Type "he" in the search box</dt>
33 <dd>Second "the" is found in the document with the search term highlighted</dd>
34- <dt>Press F3</dt>
35+ <dt>Press Ctrl+G</dt>
36 <dd>First "the" is found in the document</dd>
37 <dt>Press esc</dt>
38 <dd>Search box closes, focus returns to text document with search term highlighted</dd>
39@@ -41,8 +41,6 @@
40
41 This test will check that Mousepad can find and replace text, including case sensitivity and saves on close
42 <dl>
43- <dt>Open previously saved file</dt>
44- <dd>Mousepad opens previous file</dd>
45 <dt>Press Ctrl+R</dt>
46 <dd>Replace dialogue opens</dd>
47 <dt>Type "fox" in the Search for: box</dt>
48@@ -63,7 +61,7 @@
49 <dd>Save before closing dialogue appears</dd>
50 <dt>Click Save</dt>
51 <dd>Mousepad saves the changes made to the file and closes</dd>
52- <dt>Open File Manager, navigate to saved file and double click to open in Mousepad</dt>
53+ <dt>Find the saved file and double click to open in Mousepad</dt>
54 <dd>Mousepad opens with saved text</dd>
55 </dl>
56
57
58=== modified file 'testcases/packages/1559_Catfish'
59--- testcases/packages/1559_Catfish 2014-05-10 14:17:00 +0000
60+++ testcases/packages/1559_Catfish 2015-10-22 14:57:37 +0000
61@@ -1,3 +1,5 @@
62+<em>Testcase assumes that the test is run completely</em>
63+
64 This test will check that Catfish opens
65 <dl>
66 <dt>Open Catfish from Whiskermenu</dt>
67@@ -6,14 +8,10 @@
68
69 This test will check that Update Search Index works
70 <dl>
71- <dt>Open a terminal</dt>
72- <dd>Terminal opens</dd>
73- <dt>Type <code>cd Desktop</code> and enter</dt>
74- <dd>Terminal prompt changes to ~/Desktop$</dd>
75- <dt>Type <code>touch test Test</code> and enter</dt>
76+ <dt>Open a terminal at the Desktop</dt>
77+ <dd>Terminal opens at ~/Desktop$</dd>
78+ <dt>Type <code>touch test Test .Test</code> and enter</dt>
79 <dd>New files named test and Test appear on Desktop</dd>
80- <dt>Open Catfish from Whiskermenu</dt>
81- <dd>Catfish opens with empty search box</dd>
82 <dt>Click the gear icon to the far right of the search box</dt>
83 <dd>Menu appears</dd>
84 <dt>Click Update Search Index</dt>
85@@ -25,38 +23,12 @@
86 <dd>Update Search Index box shows index being updated</dd>
87 <dt>When Search Index reports Locate database updated successfully, click Close</dt>
88 <dd>Search Index box closes</dd>
89- <dt>Close Catfish with X in the top left corner</dt>
90- <dd>Catfish closes</dd>
91 </dl>
92
93-This test will check that Catfish will search for files
94+This test will check that Catfish will search for files, hidden files and use case sensitivity
95 <dl>
96- <dt>Open Catfish from Whiskermenu</dt>
97- <dd>Catfish opens with empty search box</dd>
98 <dt>Type test in Search Term box and enter</dt>
99 <dd>Results appear for both Test and test files on Desktop</dd>
100- <dt>Close Catfish with X in the top left corner</dt>
101- <dd>Catfish closes</dd>
102-</dl>
103-
104-This test will check that Catfish will use case sensitivity when searching and will search for hidden files
105-<dl>
106- <dt>Open a terminal from the Whiskermenu, run <code>cd Desktop</code></dt>
107- <dd>Terminal opens, prompt changes to ~/Desktop$</dd>
108- <dt>Type <code>touch .test</code> and enter</dt>
109- <dt>Open Catfish from Whiskermenu</dt>
110- <dd>Catfish opens with empty search box</dd>
111- <dt>Click the gear icon to the far right of the search box</dt>
112- <dd>Menu appears</dd>
113- <dt>Click Update Search Index</dt>
114- <dd>Update Search Index opens</dd>
115- <dt>Click Unlock</dt>
116- <dd>Password Entry box opens</dd>
117- <dt>Enter your password and Enter</dt>
118- <dd>Password box closes</dd>
119- <dd>Update Search Index box shows index being updated</dd>
120- <dt>When Search Index reports Locate database updated successfully, click Close</dt>
121- <dd>Search Index box closes</dd>
122 <dt>Click on Folder icon to left of search term box</dt>
123 <dd>Folder list appears</dd>
124 <dt>Click on Desktop</dt>
125@@ -65,44 +37,44 @@
126 <dd>Menu appears</dd>
127 <dt>Click Exact Match in menu</dt>
128 <dd>Menu closes</dd>
129+ <dd>Test disappears from results.</dd>
130 <dt>Type Test in Search Term box and enter</dt>
131 <dd>Result appears for Test file on Desktop</dd>
132- <dt>Type test in Search Term box and enter</dt>
133- <dd>Result appears for test file on Desktop</dd>
134 <dt>Click icon to right of search box</dt>
135 <dd>Menu appears</dd>
136 <dt>Click Hidden Files in menu</dt>
137 <dd>Menu closes</dd>
138- <dd>Results appear for test and .test files on Desktop</dd>
139+ <dd>Results appear for Test and .Test files on Desktop</dd>
140 <dt>Close Catfish with X in the top left corner</dt>
141 <dd>Catfish closes</dd>
142 </dl>
143
144 This test will check the thumbnail capability of Catfish
145 <dl>
146- <dt>Go to the menu search and launch the xfce screenshooter</dt>
147- <dd>Screenshot dialogue opens</dd>
148+ <dt>Launch the xfce screenshooter</dt>
149+ <dd>Screenshot dialogue opens</dd>
150 <dt>Capture a screenshot and save it to the Desktop</dt>
151- <dd>A thumbnail of the image should now appear in the Desktop</dd>
152+ <dd>A thumbnail of the image should now appear in the Desktop</dd>
153 <dt>Go to the menu and launch catfish</dt>
154- <dd>Catfish opens with empty search box</dd>
155+ <dd>Catfish opens with empty search box</dd>
156 <dt>Click the gear icon to the far right of the search box</dt>
157- <dd>Menu appears</dd>
158+ <dd>Menu appears</dd>
159 <dt>Click Update Search Index</dt>
160- <dd>Update Search Index opens</dd>
161+ <dd>Update Search Index opens</dd>
162 <dt>Click Unlock</dt>
163- <dd>Password Entry box opens</dd>
164+ <dd>Password Entry box opens</dd>
165 <dt>Enter your password and Enter</dt>
166- <dd>Password box closes</dd>
167- <dd>Update Search Index box shows index being updated</dd>
168+ <dd>Password box closes</dd>
169+ <dd>Update Search Index box shows index being updated</dd>
170 <dt>When Search Index reports Locate database updated successfully, click Close</dt>
171- <dd>Search Index box closes</dd>
172+ <dd>Search Index box closes</dd>
173 <dt>Search for "screenshot"</dt>
174- <dd>List showing your recent screenshot appears</dd>
175- <dt>Click the second icon next to the right of the search box area</dt>
176- <dd>List should now show the thumbnail of your screenshot</dd>
177+ <dd>List showing your recent screenshot appears</dd>
178+ <dt>Click the second icon next in the Gear menu</dt>
179+ <dd>List should now show the thumbnail of your screenshot</dd>
180 <dt>Close Catfish with X in the top left corner</dt>
181- <dd>Catfish closes</dd>
182+ <dd>Catfish closes</dd>
183 </dl>
184+
185 <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
186 If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> 'failed' 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>
187
188=== modified file 'testcases/packages/1569_Thunar'
189--- testcases/packages/1569_Thunar 2013-07-26 13:34:54 +0000
190+++ testcases/packages/1569_Thunar 2015-10-22 14:57:37 +0000
191@@ -1,3 +1,5 @@
192+<em>Testcase assumes that the test is run completely</em>
193+
194 This test will check that Thunar opens and closes as expected
195 <dl>
196 <dt>Open Thunar from the menu</dt>
197@@ -40,17 +42,15 @@
198 <dd>Text Editor opens file named test</dd>
199 <dt>Close text editor with X in corner of window</dt>
200 <dd>Text editor closes</dd>
201- <dt>SelectFile -> Open With, select Abiword</dt>
202- <dd>Abiword opens with file named test</dd>
203- <dt>Close Abiword with X in corner of window</dt>
204- <dd>Abiword closes</dd>
205+ <dt>SelectFile -> Open With, select LibreOffice Writer</dt>
206+ <dd>LibreOffice Writer opens with file named test</dd>
207+ <dt>Close LibreOffice Writer with X in corner of window</dt>
208+ <dd>LibreOffice Writer closes</dd>
209 <dt>SelectFile -> Send to Desktop (create link)</dt>
210 <dt>Select Desktop in Places pane in Thunar</dt>
211 <dd>Link to file test shows</dd>
212 <dt>Select USER in Places pane</dt>
213 <dd>Window shows contents of /home/USER</dd>
214- <dt>SelectFile -> Detach Tab</dt>
215- <dd>New instance of Thunar opens at /home/USER</dd>
216 <dt>Press Ctrl+W</dt>
217 <dd>Thunar closes, leaving original window open</dd>
218 <dt>Press Ctrl+Q</dt>
219@@ -101,16 +101,12 @@
220 <dd>Rename dialogue box appears</dd>
221 <dt>Type tested in box and click Rename</dt>
222 <dd>File copy of test is renamed tested</dd>
223- <dt>SelectEdit -> Preferences and select</dt>
224- <dd>File Manager Preferences dialogue appears</dd>
225- <dt>Click Close</dt>
226- <dd>File Manager Preferences dialogue closes</dd>
227 </dl>
228
229 These tests will check items in the View Menu
230 <dl>
231- <dt>Select View -> Location Selector, pick Toolbar Style</dt>
232- <dd>Location changes to show /path/to/home</dd>
233+ <dt>Select View -> Location Selector, pick Pathbar Style</dt>
234+ <dd>Location changes to show path icons</dd>
235 <dt>Select View -> Sidepane - Tree</dt>
236 <dd>Sidepane changes to show Tree view</dd>
237 <dt>Select View -> Statusbar</dt>
238@@ -151,6 +147,5 @@
239 <dd>Dialogue closes, web browser opens at http://docs.xfce.org/xfce/thunar/start</dd>
240 </dl>
241
242-
243 <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
244 If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> 'failed' 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>
245
246=== modified file 'testcases/packages/1629_Xubuntu Power'
247--- testcases/packages/1629_Xubuntu Power 2014-03-01 14:28:57 +0000
248+++ testcases/packages/1629_Xubuntu Power 2015-10-22 14:57:37 +0000
249@@ -38,6 +38,5 @@
250 <dd>Machine logs back in</dd>
251 </dl>
252
253-
254 <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
255- If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> 'failed' 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>
256\ No newline at end of file
257+ If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> 'failed' 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>
258
259=== modified file 'testcases/packages/Xfce/1582_Xfce4 Power Manager Settings'
260--- testcases/packages/Xfce/1582_Xfce4 Power Manager Settings 2014-11-30 14:14:36 +0000
261+++ testcases/packages/Xfce/1582_Xfce4 Power Manager Settings 2015-10-22 14:57:37 +0000
262@@ -46,7 +46,7 @@
263 <dt>Enter password and press Unlock</dt>
264 <dd>Desktop appears with Xfce Power Manager dialog still open</dd>
265 <dt>Plug the laptop back in</dt>
266- </dl>
267+</dl>
268
269 These tests will check the Xfce4 Power Manager settings under the System tab
270 <em>Note: the suspend tests require a minimum of 15 minutes of inactivity, so only perform them if time allows</em>
271@@ -87,6 +87,37 @@
272 <dd>The display power and brightness respond as expected according to the settings</dd>
273 </dl>
274
275+<em>This testcase requires suspending/resuming</em>
276+
277+This test will check that sessions are locked when appropriate.
278+<dl>
279+ <dt>On Display tab, set Switch off to 3 minutes, Put to sleep to 2 minutes and Blank Screen to 1 minute</dt>
280+ <dt>Click the Security tab</dt>
281+ <dd>The settings page opens with current settings displayed</dd>
282+ <dt>Change "Automatically lock the session" to "When the screensaver is activated"</dt>
283+ <dt>Change the "Delay locking after screensaver" slider to 10 seconds</dt>
284+ <dt>Click "Apply"</dt>
285+ <dd>After 1 minute of no activity, your screen will go blank</dd>
286+ <dt>Move your mouse as soon as the screen blanks</dt>
287+ <dd>Your screen is restored</dd>
288+ <dt>Wait another minute</dt>
289+ <dd>Your screen will go blank</dd>
290+ <dt>Wait 10 more seconds and then move your mouse</dt>
291+ <dd>The Unlock dialag appears</dd>
292+ <dt>Enter your password to unlock the session</dt>
293+ <dd>Session unlocked</dd>
294+ <dt>Verify that the "Lock screen when system is going for sleep" switch is disabled</dt>
295+ <dt>Click "Apply" (if necessary)</dt>
296+ <dt>Suspend your session from the menu</dt>
297+ <dt>Resume from suspend</dt>
298+ <dd>The screen is restored immediately</dd>
299+ <dt>Set the "Lock on suspend" switch to ON</dt>
300+ <dt>Click "Apply"</dt>
301+ <dt>Suspend your session from the menu</dt>
302+ <dt>Resume from suspend</dt>
303+ <dd>The Unlock dialog appears</dd>
304+</dl>
305+
306 These tests will check the Xfce4 Power Manager settings under the Devices tab
307 <dl>
308 <dt>Click the Devices tab</dt>

Subscribers

People subscribed via source and target branches