Merge lp:~javier-lopez/ubuntu-manual-tests/fix-1109321 into lp:ubuntu-manual-tests

Proposed by Javier López
Status: Merged
Merged at revision: 2
Proposed branch: lp:~javier-lopez/ubuntu-manual-tests/fix-1109321
Merge into: lp:ubuntu-manual-tests
Diff against target: 309 lines (+184/-33)
1 file modified
testcases/packages/1424_Nautilus Tests (+184/-33)
To merge this branch: bzr merge lp:~javier-lopez/ubuntu-manual-tests/fix-1109321
Reviewer Review Type Date Requested Status
Howard Chan (community) merge Approve
Review via email: mp+146542@code.launchpad.net

Description of the change

I update the current testcases to match the new gnome3 changes, I created bugs #1113648 and #1114991 to track problems I found while doing it.

I added 7 new testcases

To post a comment you must log in.
Revision history for this message
Howard Chan (smartboyhw) wrote :

Thanks for your fix!

review: Approve (merge)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'testcases/packages/1424_Nautilus Tests'
2--- testcases/packages/1424_Nautilus Tests 2013-01-23 08:29:30 +0000
3+++ testcases/packages/1424_Nautilus Tests 2013-02-05 02:40:26 +0000
4@@ -1,11 +1,19 @@
5 Test-case name: nautilus/TC-NFM-001
6 This test will check that user can create files in Nautilus
7 <ol>
8-<li title="action"> Open Dash, input 'Nautilus' and select 'Home folder'</li>
9-<ol>
10-<li title="expected_result">Nautilus is opened, Home Folder is selected</li>
11-</ol>
12-<li title="action"> In Home Folder right click on a blank section and select Create Document, Empty Document. Name the resulting file moveme.txt.</li>
13+<li title="action"> Look for Terminal and launch it</li>
14+<ol>
15+<li title="expected_result">Terminal is opened</li>
16+</ol>
17+<li title="action"> Type touch "$HOME/Templates/Empty Document.txt"</li>
18+<ol>
19+<li title="expected_result">Terminal returns the prompt</li>
20+</ol>
21+<li title="action"> Look for Nautilus and launch it</li>
22+<ol>
23+<li title="expected_result">Nautilus is opened, Home is selected</li>
24+</ol>
25+<li title="action"> In Home folder right click on a blank section and select Create Document, Empty Document. Name the resulting file 'moveme.txt'</li>
26 <ol>
27 <li title="expected_result">Empty document moveme.txt is created</li>
28 </ol>
29@@ -19,11 +27,11 @@
30 </ol>
31 This test will check that user can create folders in Nautilus
32 <ol>
33-<li title="action"> In Home Folder right click on a blank section and select ""Create New Folder"".</li>
34+<li title="action"> In Home Folder right click on a blank section and select 'Create New Folder'.</li>
35 <ol>
36 <li title="expected_result">A folder named 'Untitled Folder' appears in the directory</li>
37 </ol>
38-<li title="action"> Rename the folder 'test'</li>
39+<li title="action"> Rename the folder to 'test'</li>
40 <ol>
41 <li title="expected_result">Was the folders name changed to 'test'?</li>
42 </ol>
43@@ -49,7 +57,7 @@
44 <li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
45 <li title="action"> Right click on 'test' folder and select Move to Trash</li>
46 <ol>
47-<li title="expected_result">test folder is removed.Trash folder icon is changed to Not empty</li>
48+<li title="expected_result">test folder is removed. Trash folder icon is changed to Not empty</li>
49 </ol>
50 <li title="action"> Click the Trash Icon in the sidebar</li>
51 <ol>
52@@ -57,53 +65,196 @@
53 </ol>
54 </ol>
55 Test-case name: nautilus/TC-NFM-005
56+<ol>
57+<li title="expected_result">depends: nautilus/TC-NFM-004</li>
58+</ol>
59+This test will check that user can recover delete files and folders from Trash
60+<ol>
61+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
62+<li title="action"> Click the Trash Icon in the sidebar</li>
63+<ol>
64+<li title="expected_result">test folder is showed.</li>
65+</ol>
66+<li title="action"> Select 'test' folder and click 'Restore' in the top of the window</li>
67+<li title="action"> Click the Home Icon in the sidebar</li>
68+<ol>
69+<li title="expected_result">The 'test' folder was recovered successfully?</li>
70+</ol>
71+</ol>
72+Test-case name: nautilus/TC-NFM-006
73+<ol>
74+<li title="expected_result">depends: nautilus/TC-NFM-005</li>
75+</ol>
76+This test will check that the search functionality works
77+<ol>
78+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
79+<li title="action"> Click the Search Icon in the top</li>
80+<li title="action"> Input 'test'</li>
81+<ol>
82+<li title="expected_result">the 'test' folder was shown?</li>
83+</ol>
84+</ol>
85+Test-case name: nautilus/TC-NFM-007
86+<ol>
87+<li title="expected_result">depends: nautilus/TC-NFM-005</li>
88+</ol>
89+This test will check the Recent functionality works
90+<ol>
91+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
92+<li title="action"> Double click in the 'test' folder</li>
93+<li title="action"> Double click in the 'moveme.txt' file</li>
94+<ol>
95+<li title="expected_result">A black file should be shown in the Editor</li>
96+</ol>
97+<li title="action"> Close the Editor</li>
98+<ol>
99+<li title="expected_result">'moveme.txt' should be selected</li>
100+</ol>
101+<li title="action"> Click the Recent Icon in the sidebar</li>
102+<ol>
103+<li title="expected_result">The 'moveme.txt' file is shown?</li>
104+</ol>
105+</ol>
106+Test-case name: nautilus/TC-NFM-008
107+<ol>
108+<li title="expected_result">depends: nautilus/TC-NFM-007</li>
109+</ol>
110+This test will check the clean Recent functionality works
111+<ol>
112+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
113+<li title="action"> Click the Recent Icon in the sidebar</li>
114+<ol>
115+<li title="expected_result">The 'moveme.txt' file is shown</li>
116+</ol>
117+<li title="action"> Select the file</li>
118+<li title="action"> Right click and select 'Delete'</li>
119+<ol>
120+<li title="expected_result">Recent place should be empty</li>
121+</ol>
122+<li title="action"> Click the Home Icon in the sidebar</li>
123+<li title="action"> Click the Recent Icon in the sidebar</li>
124+<ol>
125+<li title="expected_result">Is the 'moveme.txt' file gone?</li>
126+</ol>
127+</ol>
128+Test-case name: nautilus/TC-NFM-009
129+This test will check that the view modes works
130+<ol>
131+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
132+<li title="action"> Click the List Icon in the top</li>
133+<ol>
134+<li title="expected_result">Items should be shown in a list</li>
135+</ol>
136+<li title="action"> Click the Grid Icon in the top</li>
137+<ol>
138+<li title="expected_result">Items are shown in a grid view?</li>
139+</ol>
140+</ol>
141+Test-case name: nautilus/TC-NFM-010
142 This test will check that user can connect to Samba shares and copy files from the share
143 <ol>
144 <li title="action"> Please ensure you have access to a samba share containing a file</li>
145-<li title="action"> On a local network try connecting to a shared Samba or Windows folder</li>
146-<ol>
147-<li title="expected_result">Files in the share are displayed</li>
148-</ol>
149-<li title="action"> Copy a document from the share</li>
150-<ol>
151-<li title="expected_result">File is copied from the shared folder to user computer</li>
152+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
153+<li title="action"> On a local network, press 'Browse Network' in Nautilus and later 'Windows Network'</li>
154+<ol>
155+<li title="expected_result">Default Share Group should be shown</li>
156+</ol>
157+<li title="action"> Press the Default Share Group and later 'DESKTOP'</li>
158+<ol>
159+<li title="expected_result">Shared directories are shown</li>
160+</ol>
161+<li title="action"> Select a document from the share, righ click on it and choose 'Copy', left click on the 'Documents' section, right click in a empty space and select 'Paste'</li>
162+<ol>
163+<li title="expected_result">File is copied from shared folder to user computer</li>
164 </ol>
165 <li title="action"> Open the copied document</li>
166 <ol>
167 <li title="expected_result">Did the copied file is open correctly, with it's contents the same as in the file on the share?</li>
168 </ol>
169 </ol>
170-Test-case name: nautilus/TC-NFM-006
171+Test-case name: nautilus/TC-NFM-011
172 This test will check that user can connect to the Samba share and copy files to the share
173 <ol>
174-<li title="action"> Please ensure you have access to a samba share containing a file</li>
175-<li title="action"> On a local network try connecting to a shared Samba or Windows folder</li>
176-<ol>
177-<li title="expected_result">Files in the share are displayed</li>
178-</ol>
179-<li title="action"> Copy any document to the writable folder on the share</li>
180-<ol>
181-<li title="expected_result">File is copied from user computer to the shared folder</li>
182+<li title="action"> Please ensure you have access to a samba writable system</li>
183+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
184+<li title="action"> Click the Home Icon in the sidebar and double click on 'Examples' and later on 'Ubuntu_Free_Culture_Showcase'</li>
185+<li title="action"> Select one file, right click on it and choose 'Copy'
186+<li title="action"> On a local network, press 'Browse Network' in Nautilus and later 'Windows Network'</li>
187+<ol>
188+<li title="expected_result">Default Share Group should be shown</li>
189+</ol>
190+<li title="action"> Press the Default Share Group and later 'DESKTOP'</li>
191+<ol>
192+<li title="expected_result">Shared directories are shown</li>
193+</ol>
194+<li title="action"> Double click on a Shared directory, right click on a blank section an select 'Paste'</li>
195+<ol>
196+<li title="expected_result">File is copied from the user computer to the shared folder</li>
197 </ol>
198 <li title="action"> Open the copied document on the share</li>
199 <ol>
200 <li title="expected_result">Did the copied file is open correctly, with it's contents the same as in the file on the share?</li>
201 </ol>
202 </ol>
203-Test-case name: nautilus/TC-NFM-007
204+Test-case name: nautilus/TC-NFM-012
205+<ol>
206+<li title="expected_result">depends: nautilus/TC-NFM-005</li>
207+</ol>
208+This test will check that user can share documents to another system using Samba
209+<ol>
210+<li title="action"> Please ensure you have access to an Internet connection</li>
211+<li title="action"> Please ensure you have access to an extern samba system</li>
212+<li title="action"> Please ensure the Nautilus window is running and the Nautilus window is focused</li>
213+<li title="action"> Right click on the 'test' folder and select 'Sharing Options'</li>
214+<ol>
215+<li title="expected_result">A new window called 'Folder Sharing' is shown</li>
216+</ol>
217+<li title="action"> Enable the 'Share this folder' option</li>
218+<ol>
219+<li title="expected_result">A warning message is shown asking for installing the Sharing service</li>
220+</ol>
221+<li title="action"> Select install service</li>
222+<ol>
223+<li title="expected_result">A new window asking for installing additional software is shown</li>
224+</ol>
225+<li title="action"> Select 'Install'</li>
226+<ol>
227+<li title="expected_result">A window asking for authentication is shown</li>
228+</ol>
229+<li title="action"> Input your password</li>
230+<li title="action"> Select 'Authenticate'</li>
231+<ol>
232+<li title="expected_result">A new window will be shown 'Applying changes'</li>
233+<li title="expected_result">The new window will close itself and the previous window will take the focus</li>
234+</ol>
235+<li title="action"> Enable the 'Guest access' option</li>
236+<li title="action"> Select 'Create Share'</li>
237+<li title="action"> From an extern Samba | Windows system go to shares</li>
238+<ol>
239+<li title="expected_result">'test' folder is visible in the local network</li>
240+</ol>
241+<li title="action"> Double click on 'test' folder, right click on 'moveme.txt' file and select 'copy'</li>
242+<li title="action"> Go to the local drive of the extern system and paste 'moveme.txt' there</li>
243+<ol>
244+<li title="expected_result">is 'moveme.txt' pasted?</li>
245+<li title="expected_result">have the same content?</li>
246+</ol>
247+</ol>
248+Test-case name: nautilus/TC-NFM-013
249 This test will check that a mounted USB drive appears in Nautilus
250 <ol>
251 <li title="action"> Please ensure you have a USB drive available and the system under test has available USB ports.</li>
252-<li title="action"> Insert the USB drive into the USB port of the system under test and check the 'Devices' section of Nautilus' left hand pane to see that the USB drive appeared there.</li>
253+<li title="action"> Insert the USB drive into the USB port of the system under test</li>
254 <ol>
255+<li title="expected_result">A new window of Nautilus should be open with the contents of the USB</li>
256 <li title="expected_result">The 'Devices' section should show the USB drive that was just inserted.</li>
257 </ol>
258-<li title="action"> Click on the USB drive entry in ""Devices"" section</li>
259+<li title="action"> Click on 'Documents' and then right back to the USB drive entry in 'Devices' section</li>
260 <ol>
261 <li title="expected_result">Are the USB drive contents displayed?</li>
262 </ol>
263 </ol>
264-Test-case name: nautilus/TC-NFM-008
265+Test-case name: nautilus/TC-NFM-014
266 This test will check that 'Open' dialog appears when plugging in a music device
267 <ol>
268 <li title="action"> Please ensure you have a USB drive available that contains music files and system under test has available USB ports. In addition it is assumed the Removable Media settings are unchanged from default, and will 'Ask what to do' for all media types when inserted.</li>
269@@ -116,7 +267,7 @@
270 <li title="expected_result">Did Rhythmbox open with the Music Device displayed as a separate entry in the left panel tree?</li>
271 </ol>
272 </ol>
273-Test-case name: nautilus/TC-NFM-009
274+Test-case name: nautilus/TC-NFM-015
275 This test will check that 'Open' dialog appears when inserting a DVD
276 <ol>
277 <li title="action"> Please ensure you have a Video DVD available and system under test has DVD drive. Also ensure you have installed dvd playback support in ubuntu (if needed for DRM DVD). In addition it is assumed the Removable Media settings are unchanged from default, and will 'Ask what to do' for all media types when inserted.</li>
278@@ -129,7 +280,7 @@
279 <li title="expected_result">Did DVD playback start in Totem?</li>
280 </ol>
281 </ol>
282-Test-case name: nautilus/TC-NFM-010
283+Test-case name: nautilus/TC-NFM-016
284 This test will check that 'Open' dialog appears on inserting an Audio CD
285 <ol>
286 <li title="action"> Please ensure you have an Audio CD available and system under test has CD drive. It is assumed the Removable Media settings are unchanged from default, and will 'Ask what to do' for all media types when inserted.</li>
287@@ -142,13 +293,13 @@
288 <li title="expected_result">Did Rhythmbox open with the Audio CD displayed in left panel tree?</li>
289 </ol>
290 </ol>
291-Test-case name: nautilus/TC-NFM-011
292+Test-case name: nautilus/TC-NFM-017
293 This test will check that 'Open' dialog appears on inserting a camera
294 <ol>
295 <li title="action"> Please ensure you have a camera available and system under test has CD drive. It is assumed the Removable Media settings are unchanged from default, and will 'Ask what to do' for all media types when inserted.</li>
296 <li title="action"> Plug in the camera to the system under test and wait for new dialog to appear</li>
297 <ol>
298-<li title="expected_result">'Open' dialog appears with Shotwell' application selected</li>
299+<li title="expected_result">'Open' dialog appears with 'Shotwell' application selected</li>
300 </ol>
301 <li title="action"> Click OK button in the dialog box</li>
302 <ol>
303@@ -157,4 +308,4 @@
304 </ol>
305 <strong>
306 If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
307-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>
308\ No newline at end of file
309+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>

Subscribers

People subscribed via source and target branches