Merge lp:~slickymaster/ubuntu-manual-tests/gThumb into lp:ubuntu-manual-tests

Proposed by David Pires
Status: Merged
Merged at revision: 174
Proposed branch: lp:~slickymaster/ubuntu-manual-tests/gThumb
Merge into: lp:ubuntu-manual-tests
Diff against target: 233 lines (+229/-0)
1 file modified
testcases/packages/gThumb tests (+229/-0)
To merge this branch: bzr merge lp:~slickymaster/ubuntu-manual-tests/gThumb
Reviewer Review Type Date Requested Status
Elfy (community) Approve
Review via email: mp+177015@code.launchpad.net

Description of the change

The finished testscase might seem a bit long but IMHO it must be kept in mind that we're speaking of an application with a lot of features and whose GUI contains several menu options and toolbar buttons

To post a comment you must log in.
Revision history for this message
Elfy (elfy) wrote :

There seems to be an issue with some of the syntax.

test_case_format is giving me these errors

line 52 column 1 - Error: unexpected </dl> in <dt>
line 213 column 40 - Error: unexpected </dd> in <dt>
line 227 column 1 - Error: unexpected </dl> in <dt>

can you check those please

172. By David Pires

Fixed the erros at line 52 column 1, line 52 column 1 and line 227 column 1

Revision history for this message
David Pires (slickymaster) wrote :

Ok, Elfy, the errors with the tags were fixed.

> There seems to be an issue with some of the syntax.
>
> test_case_format is giving me these errors
>
> line 52 column 1 - Error: unexpected </dl> in <dt>
> line 213 column 40 - Error: unexpected </dd> in <dt>
> line 227 column 1 - Error: unexpected </dl> in <dt>
>
> can you check those please

Revision history for this message
Elfy (elfy) wrote :

Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'testcases/packages/gThumb tests'
2--- testcases/packages/gThumb tests 1970-01-01 00:00:00 +0000
3+++ testcases/packages/gThumb tests 2013-07-26 12:13:32 +0000
4@@ -0,0 +1,229 @@
5+Test-case name: gThumb
6+
7+This test will check that gThumb can be opened either from a terminal window, from the applications menu or by right-clicking on an image file, and shutdown
8+<dl>
9+ <dt>Open a terminal window, type <code>gthumb</code> at the prompt and hit the "Enter" key</dt>
10+ <dd>gThumb opens</dd>
11+ <dt>Click the top right "X" of the window's title bar to close the application</dt>
12+ <dd>gThumg closes</dd>
13+ <dt>Point your mouse pointer to the Applications Menu icon and click it</dt>
14+ <dd>A menu drops down</dd>
15+ <dt>Navigate to Graphics -> gThumb</dt>
16+ <dd>gThumb opens</dd>
17+ <dt>Navigate to File -> Quit</dt>
18+ <dd>gThumb opens</dd>
19+ <dt>Open the File Manager, right-click on an image file and select the "Open with gThumb" option</dt>
20+ <dd>gThumb opens the right-clicked image</dd>
21+</dl>
22+
23+This test will check that gThumb's File menu options work as expected
24+<dl>
25+ <dt>Open gThumb either from a terminal window or from the applications menu ensuring that it's displaying images from a directory containing multiple images</dt>
26+ <dd>gThumb opens</dd>
27+ <dt>Navigate to File -> New Window or alternatively hit Ctrl+N keys</dt>
28+ <dd>A new gThumb window opens on top of the previous one</dd>
29+ <dt>Select an image file from the browser view in gThumb window main area and navigate to File -> Save As</dt>
30+ <dd>Save Image dialogue window opens</dd>
31+ <dt>Select a directory and click the "Save" button</dt>
32+ <dd>Dialogue window closes and the image is saved in the selected directory</dd>
33+ <dt>Select an image file from the browser view in gThumb window main area and navigate to File -> Print or alternatively hit Ctrl+P keys</dt>
34+ <dd>Print dialogue window opens</dd>
35+ <dt>Select the output print destination and format and click the "Print" button</dt>
36+ <dd>Dialogue window closes and image is printed as requested</dd>
37+ <dt>Navigate to File -> Create Folder or alternatively hit Shift+Ctrl+N keys</dt>
38+ <dd>Create Folder dialogue window opens</dd>
39+ <dt>Type a name for the folder in text-box and click the "Create" button</dt>
40+ <dd>The new folder is created under the current working directory</dd>
41+ <dt>Navigate to File -> Import From</dt>
42+ <dd>A drop-down menu appears to the right</dd>
43+ <dt>Select one of the options to import the image(s) from</dt>
44+ <dd>The import dialogue shows thumbnails of the photos available on the selected device/folder</dd>
45+ <dt>Select the file(s)/folder(s) to import and click the 'Import' button</dt>
46+ <dd>Selected file(s)/folder(s) are imported and displayed in the browser view in gThumb window main area</dd>
47+ <dt>Select an image file from the browser view in gThumb window main area and and navigate to File -> Export To</dt>
48+ <dd>A drop-down menu appears to the right</dd>
49+ <dt>Select one of the options to export the image to</dt>
50+ <dd>A dialogue window opens</dd>
51+ <dd>Depending on the selected service an authorization prompt might be displayed prior to the opening of the dialogue window</dd>
52+ <dt>Fill the text-boxes with the required data and click the "OK/Save" button</dt>
53+ <dd>Selected file is exported</dd>
54+ <dt>Navigate to File -> Close All Windows or File -> Quit, or alternatively hit Ctrl+Q keys</dt>
55+ <dd>gThumb quits without any errors</dd>
56+</dl>
57+
58+This test will check that gThumb's Edit menu options work as expected
59+<dl>
60+ <dt>Open gThumb either from a terminal window or from the applications menu ensuring that it's displaying images from a directory containing multiple images</dt>
61+ <dd>gThumb opens</dd>
62+ <dt>Select an image file from the browser view in gThumb window main area and navigate to Edit -> Cut or alternatively hit Ctrl+X keys</dt>
63+ <dd>Selected image is copied to the system clipboard</dd>
64+ <dt>Navigate to the destination folder using the folder tree and use Edit -> Paste, or press Ctrl+V, to complete the file transfer</dt>
65+ <dd>Selected image is pasted into the destination folder and removed from the original folder</dd>
66+ <dt>Select an image file from the browser view in gThumb window main area and navigate to Edit -> Copy or alternatively hit Ctrl+C keys</dt>
67+ <dd>Selected image is copied to the system clipboard</dd>
68+ <dt>Navigate to the destination folder using the folder tree and use Edit -> Paste, or press Ctrl+V, to complete the file transfer</dt>
69+ <dd>A copy of the selected image is pasted into the destination folder</dd>
70+ <dt>Navigate to Edit -> Select All or alternatively hit Ctrl+A keys</dt>
71+ <dd>All the image files in the current directory are highlighted and selected</dd>
72+ <dt>Select an image file from the browser view in gThumb window main area and navigate to Edit -> Rename or alternatively hit F2 key</dt>
73+ <dd>Rename dialogue window opens</dd>
74+ <dt>Rename the file by changing its value in the "Template" text-box and afterwards click the "Rename" button</dt>
75+ <dd>The file is renamed accordingly</dd>
76+ <dt>Select an image file from the browser view in gThumb window main area and navigate to Edit -> Duplicate or alternatively hit Shift+Ctrl+D keys</dt>
77+ <dd>Selected image is duplicated in the current directory</dd>
78+ <dt>Select an image file from the browser view in gThumb window main area and navigate to Edit -> Move to Trash</dt>
79+ <dd>Selected image is moved from the current directory to the trash</dd>
80+ <dt>Select an image file from the browser view in gThumb window main area and navigate to Edit -> Delete</dt>
81+ <dd>Selected image is permanently deleted from the computer</dd>
82+ <dt>Select an image file from the browser view in gThumb window main area and navigate to Edit -> Comment or alternatively hit Ctrl+M keys</dt>
83+ <dd>Metada dialogue window opens</dd>
84+ <dt>Fill the text-boxes with the required metadata and click the "Save and Close" button</dt>
85+ <dd>Dialogue window closes and the inserted metadata is incorporated in the file</dd>
86+ <dt>Navigate to Edit -> Find or alternatively hit Ctrl+F keys</dt>
87+ <dd>Find dialogue window opens</dd>
88+ <dt>Define the start point of the search, the filter rules and click the "Find" button</dt>
89+ <dd>If there are any results that match the criteria given they are shown on the browser view in gThumb window main area and under "Catalogs" on the folder tree</dd>
90+ <dt>Navigate to Edit -> Find Duplicates</dt>
91+ <dd>Find Duplicates dialogue window opens</dd>
92+ <dt>Define the start point of the search, the filter rules and click the "Find" button</dt>
93+ <dd>If there are any duplicate files that match the criteria given they are shown on the browser view in gThumb window main area and under "Catalogs" on the folder tree</dd>
94+ <dt>Navigate to Edit -> Preferences</dt>
95+ <dd>gThumb Preferences dialogue window opens</dd>
96+ <dt>Change any of the values/definitions on either of the presented tabs</dt>
97+ <dd>gThumb definitions change accordingly</dd>
98+</dl>
99+
100+This test will check that gThumb's View menu options work as expected
101+<dl>
102+ <dt>Open gThumb either from a terminal window or from the applications menu ensuring that it's displaying images from a directory containing multiple images</dt>
103+ <dd>gThumb opens</dd>
104+ <dt>Navigate to View -> Stop</dt>
105+ <dd>gThumb stops loading the current location contents</dd>
106+ <dt>Navigate to View -> Refresh or alternatively hit Ctrl+R keys</dt>
107+ <dd>The list of files in the browser view in gThumb window main area is rebuilded and updated</dd>
108+ <dt>Navigate to View -> Toolbar and tick/untick its checkbox</dt>
109+ <dd>gThumb's toolbar shows or hides accordingly to the choice made</dd>
110+ <dt>Navigate to View -> Statusbar and tick/untick its checkbox</dt>
111+ <dd>gThumb's statusbar shows or hides accordingly to the choice made</dd>
112+ <dt>Navigate to View -> Sidebar and tick/untick its checkbox or alternatively hit F9 key</dt>
113+ <dd>gThumb's sidebar shows or hides accordingly to the choice made</dd>
114+ <dt>Navigate to View -> Filterbar and tick/untick its checkbox</dt>
115+ <dd>gThumb's filterbar shows or hides accordingly to the choice made</dd>
116+ <dt>Select an image file from the browser view in gThumb window main area and navigate to View -> Fullscreen or alternatively hit F11 key</dt>
117+ <dd>gThumb menu, toolbar, statusbar, sidebar and filterbar are removed and the selected image goes full screen</dd>
118+ <dt>Navigate to View -> Slideshow or alternatively hit F5 key</dt>
119+ <dd>A slideshow presentation of the image files in the currente directory starts</dd>
120+ <dt>Navigate to View -> Hidden Files and tick/untick its checkbox or alternatively hit Ctrl+H keys</dt>
121+ <dd>Hidden files are shown or hidden accordingly to the choice made</dd>
122+ <dt>Navigate to View -> Sort by...</dt>
123+ <dd>Sort By dialogue window opens</dd>
124+ <dt>Click the "Sort by:" button and choose a sort criteria from the drop down list presented</dt>
125+ <dd>The image files in the current directory are promptly sorted accordingly to the selected criteria</dd>
126+ <dt>Navigate to View -> Filter</dt>
127+ <dd>Filter dialogue window opens</dd>
128+ <dt>Tick/untick the checkbox options to select what types of files to show in the browser view</dt>
129+ <dd>The type of files shown in the browser view in gThumb window main area becomes more or less restrictive accordingly to the selected criteria</dd>
130+ <dt>Navigate to View -> Thumbnails and tick/untick its checkbox or alternatively hit Ctrl+T keys</dt>
131+ <dd>Files in the browser view in gThumb window main area are shown either as thumbnails or as generic icons accordingly to the choice made</dd>
132+</dl>
133+
134+This test will check that gThumb's Go menu options work as expected
135+<dl>
136+ <dt>Open gThumb either from a terminal window or from the applications menu</dt>
137+ <dd>gThumb opens</dd>
138+ <dt>Change the current directory to another one in the folder tree and then navigate to Go -> Back or alternatively hit Alt+Left keys</dt>
139+ <dd>gThumg returns to the previous visited location</dd>
140+ <dt>Navigate to Go -> Forward or alternatively hit Alt+Right keys</dt>
141+ <dd>gThumg goes to the next visited location (after going back to a folder)</dd>
142+ <dt>Navigate to Go -> Up or alternatively hit Alt+Up keys</dt>
143+ <dd>gThumg goes up one directory level in the folder tree</dd>
144+ <dt>Navigate to Go -> Location or alternatively hit Ctrl+L keys</dt>
145+ <dd>Location dialogue window opens</dd>
146+ <dt>Enter a path to a folder in the Location text-box and click the "Jump to" button</dt>
147+ <dd>Dialogue window closes and the current folder is the specified folder</dd>
148+ <dt>Navigate to Go -> Home Folder</dt>
149+ <dd>The current folder is the user Home folder</dd>
150+ <dt>Navigate to Go -> Pictures</dt>
151+ <dd>The current folder is the user's Pictures folder</dd>
152+ <dt>Navigate to Go -> Videos</dt>
153+ <dd>The current folder is the user's Videos folder</dd>
154+ <dt>Navigate to Go -> Desktop</dt>
155+ <dd>The current folder is the user's Desktop folder</dd>
156+ <dt>Navigate to Go -> Documents</dt>
157+ <dd>The current folder is the user's Documents folder</dd>
158+ <dt>Navigate to Go -> File System</dt>
159+ <dd>The current folder is the system's '/' folder</dd>
160+ <dt>Navigate to Go -> Catalogs</dt>
161+ <dd>The current folder is gThumb's Catalogs folder</dd>
162+ <dt>Navigate to Go -> Selections</dt>
163+ <dd>The current folder is gThumb's Selections folder</dd>
164+ <dt>Navigate to Go -> Delete History</dt>
165+ <dd>gThumb's recent history is deleted</dd>
166+</dl>
167+
168+This test will check that gThumb's Bookmarks menu options work as expected
169+<dl>
170+ <dt>Open gThumb either from a terminal window or from the applications menu</dt>
171+ <dd>gThumb opens</dd>
172+ <dt>Navigate to Bookmarks -> Add Bookmark or alternatively hit Ctrl+D keys</dt>
173+ <dd>The current folder is added to the bookmark list for rapid access</dd>
174+ <dt>Navigate to Bookmarks -> Edit Bookmarks... or alternatively hit Ctrl+B keys</dt>
175+ <dd>Bookmarks dialogue window opens</dd>
176+ <dt>Edit bookmarks names and/or locations, remove a bookmark or select a specific bookmark to jump directly into and click on the corresponding action button</dt>
177+ <dd>Depending on the action choosed, the bookmark is renamed and/or relocated, deleted or gThumb positions itself on the selected bookmark</dd>
178+</dl>
179+
180+This test will check that gThumb's Help menu options work as expected
181+<dl>
182+ <dt>Open gThumb either from a terminal window or from the applications menu</dt>
183+ <dd>gThumb opens</dd>
184+ <dt>Navigate to Help -> Contents or alternatively hit F1 key</dt>
185+ <dd>gThumg help dialogue window opens</dd>
186+ <dt>Navigate to Help -> Keyboard Shortcuts</dt>
187+ <dd>gThumg help dialogue window opens</dd>
188+ <dt>Navigate to Help -> About</dt>
189+ <dd>About gThumg dialogue window opens and the "Credits" and "License" buttons correctly display the associated information</dd>
190+</dl>
191+
192+This test will check that gThumb's toolbar buttons work as expected
193+<dl>
194+ <dt>Open gThumb either from a terminal window or from the applications menu</dt>
195+ <dd>gThumb opens</dd>
196+ <dt>Change the current directory to another one in the folder tree and then click the "Back" toolbar icon</dt>
197+ <dd>gThumg returns to the previous visited location</dd>
198+ <dt>Click the "Forward" toolbar icon</dt>
199+ <dd>gThumg goes to the next visited location (after going back to a folder)</dd>
200+ <dt>Click the "Up" toolbar icon</dt>
201+ <dd>gThumg goes up one directory level in the folder tree</dd>
202+ <dt>Click the "X" toolbar icon</dt>
203+ <dd>gThumb stops loading the current location contents</dd>
204+ <dt>Select an image file from the browser view in gThumb window main area and click the "Printer" toolbar icon</dt>
205+ <dd>Print dialogue window opens</dd>
206+ <dt>Select the output print destination and format and click the "Print" icon</dt>
207+ <dd>Dialogue window closes and image is printed as requested</dd>
208+ <dt>Click the "Magnifier" toolbar icon</dt>
209+ <dd>Find dialogue window opens</dd>
210+ <dt>Define the start point of the search, the filter rules and click the "Find" button</dt>
211+ <dd>If there are any results that match the criteria given they are shown on the browser view in gThumb window main area and under "Catalogs" on the folder tree</dd>
212+ <dt>Select an image file from the browser view in gThumb window main area and click the "Fullscreen" toolbar icon</dt>
213+ <dd>gThumb menu, toolbar, statusbar, sidebar and filterbar are removed and the selected image goes full screen</dd>
214+ <dt>Click the "Slideshow" toolbar icon</dt>
215+ <dd>A slideshow presentation of the image files in the current directory starts</dd>
216+ <dt>Click the "Comment" toolbar icon</dt>
217+ <dd>Metada dialogue window opens</dd>
218+ <dt>Fill the text-boxes with the required metadata and click the "Save and Close" button</dt>
219+ <dd>Dialogue window closes and the inserted metadata is incorporated in the file</dd>
220+ <dt>Click the "Tools" toolbar icon</dt>
221+ <dd>A menu drops down providing options to manipulate the orientation, format conversion, resizing, changing date, deleting and importing metada of images</dd>
222+ <dt>Click the "Share" toolbar icon</dt>
223+ <dd>A menu drops down providing options to export the image to Photo-Sharing Web Sites, local Web albums and Contact sheets</dd>
224+ <dd>Depending on the selected service an authorization prompt might be displayed</dd>
225+ <dt>Select an image file from the browser view in gThumb window main area and click the "Edit file" toolbar icon</dt>
226+ <dd>A toolbar at the right of gThumb's window is displayed, providing several tools to manipulate images</dd>
227+ <dd>The tools consists of a Red Eye Removal tool, resize and crop tool, tools to manipulate the orientation of images and several tools to manipulate the colors</dd>
228+ <dt>Select an image file from the browser view in gThumb window main area and click the "Properties" toolbar icon</dt>
229+ <dd>A status bar will display the image information</dd>
230+ <dd>This information consists of the image name, file size, last modified date, file type, file full name, image dimensions and image format</dd>
231+</dl>
232+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
233+ 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