Development/Functional testing/Digital object tests

From AtoM wiki
Revision as of 15:44, 11 July 2014 by Dan (talk | contribs) (migrating qubit content; adding edits and updates to make it relevant to 2x)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Main Page > Development > Development/Functional testing > Digital object tests

General behaviour

  • Clicking Link digital object in information object show screen opens Upload digital objects screen
  • User can browse for a digital object to upload
  • User can link to an external URL to upload a digital object
  • Clicking Create opens the show screen for the information object with digital object displayed as reference display copy
  • Digital object metadata are automatically added to the information object show screen, as follows: Filename (if object was uploaded from file system), URL (if object was uploaded from external link) Media type, Mimetype, Filesize, Uploaded
    • NOTE: when testing, remember these elements can be hidden to public users via Visible elements module
  • Digital objects appear in browse results in appropriate categories: audio, image, other, text, video
  • Digital objects appear in carousel viewer at aggregate levels of description
  • Digital objects can be located via digital object browse page

Text files

  • In the information object show screen, clicking on the reference display object opens the master digital object (if the user's permissions are set to allow it)
  • Clicking on the reference display area allows user to open or download object
  • Unauthenticated users and users without view master permissions cannot open and download master digital object

Image files

  • In the information object show screen, clicking on the reference display object opens the master digital object or allows the user to open or save the object
  • If master digital object is open, clicking the browser's back button returns the user to the information object show screen
  • Users can right-click or command-click the image representation and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; Copy link location; View image; Copy image; Copy image location; Save image as; Send image; and View image info.
  • Unauthenticated users and users without view master permissions cannot open and download master digital object

Video files

  • Clicking "play" in the reference display copy plays the video
  • Associated audio streams are also played
  • Left-clicking "download movie" opens up the master digital object (depends on browser support)
  • Right-clicking "download movie" allows the user to save the save the file (eg "Save link as")
  • Users can right-click or command-click "download movie" and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; and Copy link location.
  • Unauthenticated users and users without view master permissions cannot open and download master digital object

Audio files

  • Clicking "play" in the reference display copy plays the audio file
  • Left-clicking "download audio" opens up the master digital object (depends on browser support)
  • Right-clicking "download audio" allows the user to save the save the file (eg "Save link as")
  • Users can right-click or command-click "download audio" and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; and Copy link location.

Multi-page files

  • User can upload multi-page files
  • All pages in the multi-page file are uploaded
  • Reference display copy shows first two pages
  • User can page through pages in reference display copy
  • Clicking on reference display copy opens master digital object in separate program (e.g., Adobe pdf reader)

Editing digital object

  • In information object view screen, clicking on "Edit digital object" button opens the edit digital object view screen
  • User can change media type
  • User can delete reference representation and substitute new representation
  • User can delete thumbnail representation and substitute new representation
  • Clicking Save opens information object show screen with all changes saved
  • Substituted reference and thumbnail representations are correctly resized
  • Clicking Delete results in confirmation message: "Are you sure you want to delete the digital object linked to....?"
    • Clicking Cancel returns user to digital object edit screen and digital object is not deleted
    • Clicking Confirm opens the information object show screen and digital object is deleted

Multi-file upload

  • In information object show screen, clicking Import digital objects opens Upload multiple digital objects screen
  • User can edit title it Title field
  • User can select level of description
  • Clicking the "select files" link opens a file browser
  • User can select multiple objects from the file browser
  • Digital objects are previewed, along with Title, Filename, and Filesize
  • Can edit Title for previewed objects
  • Can delete previewed objects
  • If filesize exceeds maximum allowed upload size, a warning message appears
  • If digital object is a duplicate of another digital object in the same upload, a warning message appears
  • User can select more files before importing
  • Clicking Import opens information object show screen
  • Carousel viewer is visible in in information object show screen
  • Objects are displayed as children of the current record in the hierarchy treeview
  • Child level show screens open digital object displayed as reference display copy; behaviour is same as described in General behaviour, above