Information object tests

From AtoM wiki

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

Create[edit]

User should be able to create and save an information object

  • Clicking Add > Information objects (or Archival description, depending on user label settings) opens blank information object edit screen
    • Saved information object is top-level object
  • In information object show screen, clicking on Add new opens blank information object edit screen
    • Saved information object is child of object in original information object show screen
  • Can enter data in all fields
  • Can enter multiple values in all multi-value fields
    • Add new child levels
    • Name of creator(s) (ISAD only)
    • Language(s) and script(s)
    • Access points
    • General material designation (RAD only)
    • Notes fields (e.g. many RAD notes; Archivist notes in ISAD, etc)
  • Can select values from auto-complete fields
  • Clicking Create closes edit screen, saves record, and opens show screen
  • All changes to created record are visible on show screen
  • Publication default status is draft, even when adding a child record to a published parent (depends on settings in Admin)

Read[edit]

User should be able to view all fields and follow all links

  • Creator and repository are inherited from immediate parent level if they are different from top level
  • Clicking on links for related authority record opens show screens for related authority record
  • Related authority record shows information object in context menu (usually as "Creator of")
  • In ISAD, DACS, and RAD show screens, Administrative/biographical sketch from the creator's authority record is visible
  • Clicking on links for related repository opens show screen for related repository
  • Related repository record shows information object under Holdings
  • Clicking on links for related subject terms shows browse results for related subject terms
  • Clicking on links for related places shows browse results for related places
  • Clicking on links for related name access points opens show screens for related authority records (ISAD and RAD only)
  • Places, Subjects, Names appear in right-hand context menu as well as in body of record

Update[edit]

User should be able to edit and save changes to an information object

  • Can add and edit physical storage
  • Clicking Edit opens edit screen
  • Clicking information area header opens edit screen
  • Can edit data in all fields
  • Can delete values from multi-value fields and enter new values
  • Can delete values from auto-complete fields and select new values
  • Can create new subject terms from within information object edit screen
  • Can create new place terms from within information object edit screen
  • Can create new authority records from within information object edit screen
  • Can change standards template via Admin area
    • Can set this to be inherited to child descriptions as well
  • Can see last updated date in Admin area
  • Can change publication status to published or draft
  • Clicking Save closes edit screen and opens show screen
  • All changes to saved information object are visible on show screen
  • Inherited values that are changed at a parent level of description are changed for the child levels (publication status, name of creator, repository, descriptive standard template if the checkbox for inheritance is checked when change is made)

Move[edit]

User should be able to reparent an object or make a child-level object a top-level object

  • Can move information object from one parent to another using Move button
  • Can make child information object a top-level object using Move button
  • When moving objects using Move button, all children are moved with a parent object

Duplicate[edit]

User should be able to make a duplicate copy of the record currently in the show screen

  • Clicking Duplicate opens edit screen for the duplicate record
  • Warning appears indicating that this is a duplicate record: "This is a duplicate of record <level of description, identifier> - <title>"
    • This warning disappears after the record is saved
  • All fields in all descriptive templates are duplicated except Identifier
    • Dates are duplicated whether or not they are linked to an actor
    • Inherited values are duplicated
    • All access points are duplicated
    • Source language is duplicated
    • Linked physical storage is duplicated
  • Child levels are not duplicated
  • Linked digital objects are not duplicated
  • Publication status defaults to draft
  • User can edit and delete fields
  • Clicking Create opens the duplicate information object show screen with all fields saved
  • Clicking Cancel returns the user to the show screen of the original record and no duplicate record is saved
  • If duplicating top-level record, duplicate record is also top-level record
  • If duplicating child record, treeview shows duplicate record as sibling of original record
  • Duplicate record can be found through search and browse functions
  • The source information object shouldn't be modified (field values shouldn't be moved, they are being duplicated).

Translate[edit]

User should be able to translate information object from source language to another language

  • All untranslated fields should appear in show screen
  • When editing an information object in a language different from the source language, the original language values should appear above the appropriate fields
  • Drop-down values should appear in the current language
  • The saved record should show all translations
  • If they have been translated, the following should appear in the current language: name of authority record, admin/biographical history, name of repository, subject terms, place terms, physical storage, physical storage location

Delete[edit]

Users should be able to delete data from information objects and delete information objects

  • Can delete data from all fields
  • Saving record opens show screen with deleted data removed
  • Clicking delete results in warning
  • For information object with child records, warning includes list of child records
  • Clicking Cancel aborts the delete process and returns the user to the show screen
  • Clicking Confirm deletes the record
    • Information object list screen is opened if the record deleted was a top-level record
    • Parent information object show screen is opened if the record deleted was a child record
  • Child levels of the deleted record are also deleted
  • Associated authority records, repositories, functions and taxonomy terms are not deleted
  • Information object link is removed from related authority and repository record screens