Loupe test plan¶
Below are the test cases that should be run when loupe is updated to new major releases in the development version of Ubuntu. These should also be run for all loupe Stable Release Updates.
Loupe is the default image viewer of Ubuntu Desktop, starting with Ubuntu 25.10
All tests are meant to be executed from a GNOME Wayland desktop session (the default Ubuntu Desktop session).
Open Loupe¶
Open “Image Viewer” from the applications menu
Verify that you are presented with a screen to open files
View an image¶
Open “Image Viewer”
Click “Open Files”
Verify that the file selector dialog showed up
Choose any image file
Verify that the image is displayed
Verify that the filename is displayed on the title bar
Open from Files¶
Open the “Files” app
Right Click > Open With Image Viewer
Verify that the image is displayed
Zoom¶
Open an image in “Image Viewer”
Zoom with a mouse wheel or touchpad gesture
Verify that the image view is zoomed accordingly
Press the ‘+’ and ‘-’ keys
Verify that the image view is zoomed accordingly
Image manipulation¶
Click the “Edit Image” button on the title bar
Crop the image by resizing with the handles
Align the cropping by clicking the various aspect-ratio buttons
Click the tick-mark to apply the cropping
Verify that the preview was cropped
Click the “Rotate Clockwise” and “Rotate Counter Clockwise” buttons
Verify that the preview is rotated accordingly
Click the “Mirror Vertically” and “Mirror Horizontally” buttons
Verify that the preview is flipped accordingly
Click “Save” > “Save As…”
Verify that the file saver dialog showed up
Enter a file name
Click “Save”
Verify that the new file is visible in the “Files” app
Print¶
Open an image in “Image Viewer”
Click the “Main Menu” hamburger button on the title bar
Click “Print…”
Verify that the print dialog showed up
Verify that printing to PDF works as expected
Set as background¶
Open an image in “Image Viewer”
Click the “Main Menu” hamburger button on the title bar
Click “Set as Background”
Verify that a dialog showed up with a preview of a generic desktop
Click “Set”
Verify that the image was set as the desktop wallpaper