Decapod 0.3 Test - Exporting

State Tests

Test 1. Export with no images

Procedure:

  1. Start the Decapod Server.
  2. Open a browser and load http://localhost:8080
  3. Press the Export button.

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:

  1. With a pair of supported cameras attached, take a picture.
  2. Press the Export button.

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:

  1. 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 4. Export with 20 images

Procedure:

  1. Take another 19 images
  2. Press the Export button.

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).