Details for testcase: Ristretto



BugReport a bug against the content of this testcase
ID1600
TitleRistretto
LinkNo link provided
Part of testsuitesXfce Applications
Xubuntu Optional
Xubuntu LTS Run Once/Optional
Ubuntu Studio Graphics & Photography - Run Once/Optional

RevisionWritten on the 2014-03-14 09:33 by elfy
Text

Test-case name: ristretto

This test will check that Ristretto can start and shutdown.

Open "Ristretto Image Viewer"
Ristretto starts up and the main window is visible on the screen.
Select File->Quit to exit the application
The application quits without any errors
From an open terminal window, start Ristretto by typing "ristretto" (no quotes) and press the Enter key.
Ristretto starts up and the main window is visible on the screen.
Click the X on the window title bar to close the application
The application quits without any errors
From within the File Manager, 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.
Ristretto starts and opens the image that you right-clicked on.

This test will verify that the File menu options work properly.

Ensure that ristretto is loaded. Select File->Open, select and image, and select "Open".
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.
Select File->Save Copy and save a copy of the file in another directory.
A copy of the file is saved properly. In addition, the original file remains in the main Ristretto window.
Select File->Recently Used and open the file copy that you just saved.
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.
Select File->Properties.
A properties dialog box appears.
Select File->Close.
The file unloads and Ristretto is left with a blank main window and no thumbnail bar.

This test will verify that the Edit menu options work properly.

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).
The image is opened in the application that you selected.
Select Edit->Sorting->Sort By Date.
The images in the thumbnail bar are re-ordered based on date.
Select Edit->Sorting->Sort by filename
The images in the thumbnail bar are re-ordered based on fiename.
***Ensure that you have a backup of the image currently in the main window. Select Edit->Delete and answer "Yes" to the prompt.
The image is deleted from the directory, removed from the main window and located in the Trash.
Select Edit->Clear private data and choose "Everything" when prompted.
Check to see that the recently used list has been cleared (File->Recently used).
Select Edit->Preferences.
Ensure that the Preferences dialog box pop ups and is editable.

This test will verify that the View menu options work properly.

Ensure that Ristretto is loaded and an image is displayed in the main window. Toggle View->Show Toolbar.
The toolbar toggles on or off with each selection.
Toggle View->Show Status Bar.
The status bar toggles on or off with each selection.
Toggle View->Show Thumbnail Bar.
The thumbnail bar toggles on or off with each selection.
Change View->Thumbnail Bar Position among the 4 different options.
The thumbnail bar position changes accordingly.
Change View->Thumbnail Size among the different size options.
The size of the thumbnails change accordingly.
Change View->Zoom among the different options.
The image zooms accordingly.
Change View->Rotation among the different options.
The image rotates accordingly.
Select View->Fullscreen.
The image is properly displayed fullscreen and returns to normal window mode when the Escape key or F11 is pressed.
Select View->Set As Wallpaper, select your desktop management system, the wallpaper settings, and press OK.
The image is properly displayed as the background.

This test will verify that the Go menu options work properly.

Ensure that Ristretto is loaded and displaying images from a directory containing multiple images. Select Go-> Forward
The next image in the Thumbnail bar is displayed in the main window.
Select Go->Back.
The previous image in the Thumbnail bar is displayed in the main window.
Select Go->Last.
The last image in the Thumbnail bar is displayed in the main window.
Select Go->First.
The first image in the Thumbnail bar is displayed in the main window.
Select Go->Play.
The images in the main window are displayed in a slideshow format based on the settings in Edit->Preferences->Slideshow.
Select Go->Pause.
The slideshow pauses.

This test case will verify that the Help menu options work properly.

Ensure that Ristretto is loaded and that you have an active internet connection. Select Help->Contents then "Read Online".
The Ristretto online documentation appears in your default browser.
Select Help->About.
The About ristretto dialog opens and the "Credits" and "License" buttons correctly display the associated information.

This test case will verify that the toolbar buttons work properly.

Ensure that Ristretto is properly loaded. Click on the "Open an image" toolbar item and open an image.
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.
Click on the "Save a copy of this image" toolbar icon and save a copy of the file in another directory.
A copy of the file is saved properly. In addition, the original file remains in the main Ristretto window.
***Ensure that you have a backup of the image currently in the main window. Click on the "Delete this image from disk" toolbar icon.
The image is deleted from the directory, removed from the main window and located in the Trash.
Click on the "Edit this image" toolbar icon and choose an application to open the image with (e.g. gimp).
The image is opened in the application that you selected.
Click the "Previous image" toolbar icon.
The previous image in the Thumbnail bar is displayed in the main window. The thumbnail bar scrolls to keep the current image visible.
Click the "Play slideshow" toolbar icon.
The images in the main window are displayed in a slideshow format based on the settings in Edit->Preferences->Slideshow.
Click on the "Pause slideshow" toolbar icon.
The slideshow pauses.
Click on the "Next image" toolbar icon.
The next image in the Thumbnail bar is displayed in the main window. The thumbnail bar scrolls to keep the current image visible.
Click on the "Zoom in" toolbar icon.
The image zooms in.
Click on the "Zoom out" toolbar icon.
The image zooms out.
Click the "Zoom to 100%" toolbar icon.
The image displays at 100% of its size.
Click the "Zoom to fit window" toolbar icon.
The image resizes to fit in the main window.
Click the "Switch to fullscreen" toolbar icon.
The image is properly displayed fullscreen and returns to normal window mode when the Escape key or F11 is pressed.

This test case will verify that the thumbnail bar works properly.

Ensure that Ristretto is loaded and displaying images from a directory containing multiple images. Click on an image in the thumbnail bar.
The image appears in the main window.
Click and drag the thumbnail scrollbar.
The contents of the thumbnail bar move up and down to show the available images.

This test case will verify that the adjustable settings in the Preferences dialog box work properly.

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.
The main window background changes to the correct color.
(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.
The image quality changes.
Go to Edit->Preferences->Fullscreen tab, and uncheck the "Hide thumbnail bar when fullscreen checkbox. View an image fullscreen.
The thumbnail bar is visible in fullscreen mode.
Go to Edit->Preferences->Fullscreen tab, and check the "Show fullscreen clock" checkbox. View an image fullscreen.
The fullscreen image also displays an analog clock with the current time.
Go to Edit->Preferences->Slideshow tab, and change the "Timeout" value. View a slideshow.
The images in the slideshow cycle based on the "Timeout" value that you just set.
Go to Edit->Preferences->Control tab, and check the "Invert zoom direction" checkbox. While pressing the Ctrl key, zoom in turning the mouse scroll-wheel backward and zoom out turning the mouse scroll-wheel forward.
The zoom direction is reversed.
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 the File Manager and open with Ristretto.
Ristretto opens and the window is not maximized.
Go to Edit->Preferences->Behaviour tab, and uncheck the "Wrap around images" checkbox. Go to the last image on the thumbnail bar.
The "Next image" toolbar icon is greyed out and you are unable to wrap around to the first image.

This test case will verify that the status bar is displaying image information.

Ensure that Ristretto is loaded and displaying images from a directory containing multiple images.
The status bar will display the image name, resolution, and zoom percentage.
Select another image from the Thumbnail bar.
The status bar will change to display the image name, resolution, and zoom percentage of the new image.

If all actions produce the expected results listed, please submit a 'passed' result.
If an action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result.

RevisionWritten on the 2013-08-07 15:02 by nskaggs
RevisionWritten on the 2013-08-03 06:45 by elfy