Caja Smoke Tests
The Caja Smoke Tests are a minimal set of tests, to determine whether a build is usable for testing, and to catch obvious regressions.
Views
Before
beginning this section, open a folder which contains at least one
MP3, image (GIF, JPEG or PNG), plain text, HTML, PDF, and RPM file.
(For those inside the Eazel firewall, these are in
/h/public/QE/smoketests.)
Also be sure to be in
single-click mode. (Preferences | Click Behavior | 'Active items with
single click')
| Test # | Test | Test Steps | Expected Results | 
|---|---|---|---|
| V-1 | View as Icon | 1. Select "View as Icons" from pop-up menu. 2. Zoom in to 400% and out to 25%, both via the pop-up menu, and via +/- icons. 
 | 
 | 
| V-2 | View as List | 1. Select "View as List" from pop-up menu 2. Zoom in to 400% and out to 25%, and via +/- icons. | 
 | 
| V-3 | View as Music | 1. Select "View as Music" from pop-up menu. 2. Play an MP3. | 
 | 
| V-4 | View as Web Page | 1. Click on a file of type "HTML Document". | 
 | 
| V-5 | View as Text | 1. Click on a file of type "plain text". | 
 | 
| V-6 | View as Image | 1. Click on an image of type "JPEG image", "GIF image", or "PNG image". (confirm) | 
 | 
| V-7 | View as Hardware | 1. Type "hardware:" or "hardware:overview" into the Location bar. | 
 | 
| V-8 | View as PDF Document | 1. Click on a PDF file. | 
 | 
| V-9 | View as Package | 1. Click on any Red Hat Package Manager file. | 
 | 
File Operations
Before beginning this section, change your Click Behavior (in Preferences) to 'Active items with a double click'.
| Test Number | Test | Test Steps | Expected Results | 
|---|---|---|---|
| F-1 | Rename a file or folder | 1. Click on a file, and choose "Rename" from the File or context menu. 2. Type in a new name | 
 | 
| F-2 | Duplicate a file or folder | 1. Click on a file, and choose "Duplicate" from the File or context menu. | 
 | 
| F-3 | Create a link to a file or folder | 1. Click on a file, and choose "Create Link" from the File or context menu. | 
 | 
| F-4 | Stretch an icon | 1. Click on a file, and choose "Stretch Icon" from the File or context menu. 2. Drag the icon by a corner, and enlarge or shrink it. | 
 | 
Desktop Operations
| Test Number | Test | Test Steps | Expected Results | 
|---|---|---|---|
| D-1 | Empty Trash | 1. Drag files or folders onto the Trash icon. 2. Right-click on the Trash, and select "Empty Trash" (alternatively, double-click on the trash can, and select "Empty Trash" from the File menu.) 
 | 
 | 
| D-2 | Drag file to Desktop | 1. Drag a file from a Caja view window to the Desktop | File should be moved to desktop. | 
Preferences/Customization
| Test Number | Test | Test Steps | Expected Results | 
|---|---|---|---|
| P-1 | Switch Themes | 1. From a Caja window, choose "Caja Themes" from the Edit menu. 2. Try each of the themes. | 
 | 
| P-2 | Switch User Mode | 1. From a Caja window, try each of the three user modes. | In Beginner mode: 
 In Intermediate mode: 
 In Expert mode, none of the above user experience simplification should occur. | 
| P-3 | Switch Anti-aliasing mode | 1. While in Intermediate or Expert mode, choose "Preferences..." From the user mode menu. 2. In the "Appearance" category, deselect the "Use smoother (but slower) graphics" checkbox. | Text and icons should no longer be anti-aliased. | 
| P-4 | Change Background | 1. Choose "Backgrounds and Emblems" from the Edit menu. 2. Drag a few colors and backgrounds to the sidebar & main window pane. | 
 | 
Maintained
by Josh Barrow for Caja
Quality Engineering, originally written by Eli
Goldberg; feedback welcome.
Adaptation and reuse for other
open source projects is freely permitted.
Last Updated: 9/28/2000