Merge lp:~toz/ubuntu-manual-tests/Ristretto into lp:ubuntu-manual-tests

Proposed by Jackson Doak
Status: Merged
Merge reported by: Jackson Doak
Merged at revision: not available
Proposed branch: lp:~toz/ubuntu-manual-tests/Ristretto
Merge into: lp:ubuntu-manual-tests
Diff against target: 165 lines (+161/-0)
1 file modified
testcases/packages/Ristretto (+161/-0)
To merge this branch: bzr merge lp:~toz/ubuntu-manual-tests/Ristretto
Reviewer Review Type Date Requested Status
Jackson Doak Pending
Review via email: mp+173343@code.launchpad.net

Description of the change

Since ToZ forgot to propose this, i will.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'testcases/packages/Ristretto'
2--- testcases/packages/Ristretto 1970-01-01 00:00:00 +0000
3+++ testcases/packages/Ristretto 2013-07-07 03:44:23 +0000
4@@ -0,0 +1,161 @@
5+Test-case name: ristretto
6+
7+This test will check that Ristretto can start and shutdown.
8+<dl>
9+ <dt>Select "Ristretto Image Viewer" from the Main Menu -> Graphics submenu.</dt>
10+ <dd>Ristretto starts up and the main window is visible on the screen.</dd>
11+ <dt>Select File->Quit to exit the application</dt>
12+ <dd>The application quits without any errors</dd>
13+ <dt>From an open terminal window, start Ristretto by typing "ristretto" (no quotes) and press the Enter key.</dt>
14+ <dd>Ristretto starts up and the main window is visible on the screen.</dd>
15+ <dt>Click the X on the window title bar to close the application</dt>
16+ <dd>The application quits without any errors</dd>
17+ <dt>From within Thunar, right-click on an image file and Select "Open with Ristretto". If that option does not exist, select "Open With..." and either Select Ristretto from the list or choose the "Open With Other Application" and select Ristretto from the list.</dt>
18+ <dd>Ristretto starts and opens the image that you right-clicked on.</dd>
19+</dl>
20+
21+This test will verify that the File menu options work properly.
22+<dl>
23+ <dt>Ensure that ristretto is loaded. Select File->Open, select and image, and select "Open".</dt>
24+ <dd>The image opens and is displayed in ristretto's main window. In addition, if other images exist in the folder that the opened image was in, their thumbnails show up in the thumbnail bar to the left of the image.</dd>
25+ <dt>Select File->Save Copy and save a copy of the file in another directory.</dt>
26+ <dd>A copy of the file is saved properly. In addition, the original file remains in the main Ristretto window.</dd>
27+ <dt>Select File->Recently Used and open the file copy that you just saved.</dt>
28+ <dd>The file copy is now displayed in the main window. In addition, the thumbnail bar will now show any images that may exist in that new folder.</dd>
29+ <dt>Select File->Properties.</dt>
30+ <dd>A properties dialog box appears.</dd>
31+ <dt>Select File->Close.</dt>
32+ <dd>The file unloads and Ristretto is left with a blank main window and no thumbnail bar.</dd>
33+</dl>
34+
35+This test will verify that the Edit menu options work properly.
36+<dl>
37+ <dt>Ensure that Ristretto is loaded and that it is displaying an image from a directory where multiple images exist. Select Open->With and choose an application to open the image with (e.g. gimp).</dt>
38+ <dd>The image is opened in the application that you selected.</dd>
39+ <dt>Select Edit->Sorting->Sort By Date.</dt>
40+ <dd>The images in the thumbnail bar are re-ordered based on date.</dd>
41+ <dt>Select Edit->Sorting->Sort by filename</dt>
42+ <dd>The images in the thumbnail bar are re-ordered based on fiename.</dd>
43+ <dt>***Ensure that you have a backup of the image currently in the main window. Select Edit->Delete and answer "Yes" to the prompt.</dt>
44+ <dd>The image is deleted from the directory, removed from the main window and located in the Trash.</dd>
45+ <dt>Select Edit->Clear private data and choose "Everything" when prompted.</dt>
46+ <dd>Check to see that the recently used list has been cleared (File->Recently used).</dd>
47+ <dt>Select Edit->Preferences.</dt>
48+ <dd>Ensure that the Preferences dialog box pop ups and is editable.</dd>
49+</dl>
50+
51+This test will verify that the View menu options work properly.
52+<dl>
53+ <dt>Ensure that Ristretto is loaded and an image is displayed in the main window. Toggle View->Show Toolbar.</dt>
54+ <dd>The toolbar toggles on or off with each selection.</dd>
55+ <dt>Toggle View->Show Status Bar.</dt>
56+ <dd>The status bar toggles on or off with each selection.</dd>
57+ <dt>Toggle View->Show Thumbnail Bar.</dt>
58+ <dd>The thumbnail bar toggles on or off with each selection.</dd>
59+ <dt>Change View->Thumbnail Bar Position among the 4 different options.</dt>
60+ <dd>The thumbnail bar position changes accordingly.</dd>
61+ <dt>Change View->Thumbnail Size among the different size options.</dt>
62+ <dd>The size of the thumbnails change accordingly.</dd>
63+ <dt>Change View->Zoom among the different options.</dt>
64+ <dd>The image zooms accordingly.</dd>
65+ <dt>Change View->Rotation among the different options.</dt>
66+ <dd>The image rotates accordingly.</dd>
67+ <dt>Select View->Fullscreen.</dt>
68+ <dd>The image is properly displayed fullscreen and returns to normal window mode when the Escape key or F11 is pressed.</dd>
69+ <dt>Select View->Set As Wallpaper, select your desktop mnagement system, the wallpaper settings, and press OK.</dt>
70+ <dd>The image is properly displayed as the background.</dd>
71+</dl>
72+
73+This test will verify that the Go menu options work properly.
74+<dl>
75+ <dt>Ensure that Ristretto is loaded and displaying images from a directory containing multiple images. Select Go-> Forward</dt>
76+ <dd>The next image in the Thumbnail bar is displayed in the main window.</dd>
77+ <dt>Select Go->Back.</dt>
78+ <dd>The previous image in the Thumbnail bar is displayed in the main window.</dd>
79+ <dt>Select Go->Last.</dt>
80+ <dd>The last image in the Thumbnail bar is displayed in the main window.</dd>
81+ <dt>Select Go->First.</dt>
82+ <dd>The first image in the Thumbnail bar is displayed in the main window.</dd>
83+ <dt>Select Go->Play.</dt>
84+ <dd>The images in the main window are displayed in a slideshow format based on the settings in Edit->Preferences->Slideshow.</dd>
85+ <dt>Select Go->Pause.</dt>
86+ <dd>The slideshow pauses.</dd>
87+</dl>
88+
89+This test case will verify that the Help menu options work properly.
90+<dl>
91+ <dt>Ensure that Ristretto is loaded and that you have an active internet connection. Select Help->Contents then "Read Online".</dt>
92+ <dd>The Ristretto online documentation appears in your default browser.</dd>
93+ <dt>Select Help->About.</dt>
94+ <dd>The About ristretto dialog opens and the "Credits" and "License" buttons correctly display the associated information.</dd>
95+</dl>
96+
97+This test case will verify that the toolbar buttons work properly.
98+<dl>
99+ <dt>Ensure that Ristretto is properly loaded. Click on the "Open an image" toolbar item and open an image.</dt>
100+ <dd>The image opens and is displayed in ristretto's main window. In addition, if other images exist in the folder that the opened image was in, their thumbnails show up in the thumbnail bar to the left of the image.</dd>
101+ <dt>Click on the "Save a copy of this image" toolbar icon and save a copy of the file in another directory.</dt>
102+ <dd>A copy of the file is saved properly. In addition, the original file remains in the main Ristretto window.</dd>
103+ <dt>***Ensure that you have a backup of the image currently in the main window. Click on the "Delete this image from disk" toolbar icon.</dt>
104+ <dd>The image is deleted from the directory, removed from the main window and located in the Trash.</dd>
105+ <dt>Click on the "Edit this image" toolbar icon and choose an application to open the image with (e.g. gimp).</dt>
106+ <dd>The image is opened in the application that you selected.</dd>
107+ <dt>Click the "Previous image" toolbar icon.</dt>
108+ <dd>The previous image in the Thumbnail bar is displayed in the main window. The thumbnail bar scrolls to keep the current image visible.</dd>
109+ <dt>Click the "Play slideshow" toolbar icon.</dt>
110+ <dd>The images in the main window are displayed in a slideshow format based on the settings in Edit->Preferences->Slideshow.</dd>
111+ <dt>Click on the "Pause slideshow" toolbar icon.</dt>
112+ <dd>The slideshow pauses.</dd>
113+ <dt>Click on the "Next image" toolbar icon.</dt>
114+ <dd>The next image in the Thumbnail bar is displayed in the main window. The thumbnail bar scrolls to keep the current image visible.</dd>
115+ <dt>Click on the "Zoom in" toolbar icon.</dt>
116+ <dd>The image zooms in.</dd>
117+ <dt>Click on the "Zoom out" toolbar icon.</dt>
118+ <dd>The image zooms out.</dd>
119+ <dt>Click the "Zoom to 100%" toolbar icon.</dt>
120+ <dd>The image displays at 100% of its size.</dd>
121+ <dt>Click the "Zoom to fit window" toolbar icon.</dt>
122+ <dd>The image resizes to fit in the main window.</dd>
123+ <dt>Click the "Switch to fullscreen" toolbar icon.</dt>
124+ <dd>The image is properly displayed fullscreen and returns to normal window mode when the Escape key or F11 is pressed.</dd>
125+</dl>
126+
127+This test case will verify that the thumbnail bar works properly.
128+<dl>
129+ <dt>Ensure that Ristretto is loaded and displaying images from a directory containing multiple images. Click on an image in the thumbnail bar.</dt>
130+ <dd>The image appears in the main window.</dd>
131+ <dt>Click and drag the thumbnail sbar scrollbar.</dt>
132+ <dd>The contents of the thumbnail bar move up and down to show the available images.</dd>
133+</dl>
134+
135+This test case will verify that the adjustable settings in the Preferences dialog box work properly.
136+<dl>
137+ <dt>Ensure that Ristretto is loaded and displaying images from a directory containing multiple images. Go to Edit->Preferences->Display tab, select the "Override background color" checkbox and select a background color.</dt>
138+ <dd>The main window background changes to the correct color.</dd>
139+ <dt>(Note: you will need an image with a resolution greater than your screen resolution). Go to Edit->Preferences->Display tab and select the "Limit rendering quality" checkbox.</dt>
140+ <dd>The image quality changes.</dd>
141+ <dt>Go to Edit->Preferences->Fullscreen tab, and uncheck the "Hide thumbnail bar when fullscreen checkbox. View an image fullscreen.</dt>
142+ <dd>The thumbnail bar is visible in fullscreen mode.</dd>
143+ <dt>Go to Edit->Preferences->Fullscreen tab, and check the "Show fullscreen clock" checkbox. View an image fullscreen.</dt>
144+ <dd>The fullscreen image also displays an analog clock with the current time.</dd>
145+ <dt>Go to Edit->Preferences->Slideshow tab, and change the "Timeout" value. View a slideshow.</dt>
146+ <dd>The images in the slideshow cycle based on the "Timeout" value that you just set.</dd>
147+ <dt>Go to Edit->Preferences->Control tab, and check the "Invert zoom direction" checkbox. Zoom in and out of the image using the mouse scroll button.</dt>
148+ <dd>The zoom direction is reversed.</dd>
149+ <dt>Go to Edit->Preferences->Behaviour tab, and uncheck the "Maximize window on startup when opening an image" checkbox. Shutdown ristretto. Right-click on an image in Thunar and open with Ristretto.</dt>
150+ <dd>Ristretto opens and the window is not maximized.</dd>
151+ <dt>Go to Edit->Preferences->Behaviour tab, and uncheck the "Wrap around images" checkbox. Go to the last image on the thumbnail bar.</dt>
152+ <dd>The "Next image" toolbar icon is greyed out and you are unable to wrap around to the first image.</dd>
153+ <dt></dt>
154+</dl>
155+
156+This test case will verify that the status bar is displaying image information.
157+<dl>
158+ <dt>Ensure that Ristretto is loaded and displaying images from a directory containing multiple images.</dt>
159+ <dd>The status bar will display the image name, resoultion, and zoom percentage.</dd>
160+ <dt>Select another image from the Thumbnail bar.</dt>
161+ <dd>The status bar will change to display the image name, resoultion, and zoom percentage of the new image.</dd>
162+</dl>
163+
164+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
165+ 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