State Tests
Test 1. Export with no images
Procedure:
- Start the Decapod Server.
- Open a browser and load http://localhost:8080
- Press the Export button or Export link.
Expected Result:
- A notification reporting that there is nothing to Export.
- note This is a known issue. See FLUID-3557
Test 2. Export with one image
Procedure:
- With a pair of supported cameras attached, take a picture.
- Press the Export button or Export link.
Expected Result:
- A busy indicator should appear.
- User notified when export process is complete.
*Note: This is a known issue. See FLUID-3548
Test 3. Examine Exported PDF
Procedure:
- View the exported PDF. PDF is viewable in the following directory (relative to the server's working directory):
./pdf/DecapodExport.pdf
Expected result:
- The PDF contains two pages:
- Page 1 being the left page of the image in the Decapod interface.
- Page 2 being the right page of the image in the Decapod interface.
a single page and that page is the same as the image captured in Test 2.
- The export PDF will be in greyscale (not colour).
Test 3. Export with 20 images
Procedure:
- Take another 19 images
- Press the Export button or Export link.
Expected result:
- A busy indicator should appear.
- User notified when export process is complete.
- The PDF contains 40 pages
- Each page appears in the same order as it appears on the Decapod interface.
- Page 1 in the PDF will be the left page of the first thumbnail.
- Page 2 in the PDF will be the right page of the first thumbnail.
- Page 3 in the PDF will be the left page of the second thumbnail.
... - Page 40 in the PDF will be the right page of the 20th thumbnail.
- The export PDF will be in greyscale (not colour).