Development/Functional testing/Actor object tests

From AtoM wiki
Revision as of 16:23, 10 July 2014 by Dan (talk | contribs) (View relationships: minor fix to location of context menu item vis. 2.x)

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

Create

Users should be able to create and save an actor object

  • Clicking Add > Persons/organizations opens blank actor object edit screen
  • Clicking on Add new in actor object show screen opens blank actor object edit screen
  • Can enter data in all fields
  • Can enter multiple values in all multi-value fields
  • Clicking Create closes edit screen and opens show screen
  • All changes to created record are visible on show screen

Update

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

  • Clicking Edit opens edit screen
  • Clicking title bar opens edit screen issue 2336
  • 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
  • Clicking Save closes edit screen and opens show screen
  • All changes to saved information object are visible on show screen
  • Clicking Cancel aborts the update and returns the user to the show screen
  • Related information objects show changed name and dates
  • Related information objects show changed administrative history if the actor object is the creator (ISAD, DACS, and RAD only)

Relationships

Create relationships

User should be able to create relationships to other actors and to information objects

  • Clicking "Add new" opens a dialog for creating a new relationship
  • Dialogue opens with focus on first field ("Name of related entity" or "Title of related resource"), and an auto-complete list appears
  • Typing text in the autocomplete field narrows the options available to select
  • Can select a value from the autocomplete list
  • Can enter data in all dialogue fields
  • Clicking Submit closes the dialogue, and adds a new row to the appropriate relationship table
  • Clicking Cancel closes the dialogue without saving the dialog data
  • Clicking Save for the actor object saves all new relationships
  • Clicking Cancel for the actor object discards any new relationships

View relationships

User should be able to see all relationships and navigate to related objects

  • For related actor objects, Record shows the following:
    • Related entity authorized form of name as link
    • Dates of existence of the related actor
    • Identifier of the related actor (if it has an identifier)
    • Category of the relationship
    • Dates of the relationship
    • Description of the relationship
  • Clicking on the related entity name name opens show screen for the related actor object
  • Related actor object show screen shows the following
    • Related entity authorized form of name as link
    • Dates of existence of the related actor
    • Identifier of the related actor (if it has an identifier)
    • Category of the relationship
    • Dates of the relationship
    • Description of the relationship
  • For related information objects, record shows title of related information object in context menu box (i.e. upper left-hand sidebar)
  • For related information objects, record shows type of relationship in context menu box (e.g. "Creator of")
  • Clicking on the related information object title opens show screen for the related information object
    • ISAD: In the related information object show screen, the authorized form of name, the dates of the relationship and the nature of the relationship appear in the Date(s) field of the information object; the authorized form of name is a link
    • RAD/MODS/DC: In the related information object show screen, the authorized form of name, the dates, type and the place of the event appear in the Date(s) field of the information object
  • If actor is the creator of the related information object:
    • ISAD/RAD: The authorized form of name, the dates of existence and the administrative history appear in the Name of creator field of the information object; the authorized form of name is a link
    • The authorized form of name of the actor appears under "creators" in the information object's context menu box
  • ISAD/RAD/MODS: In related information object, the authorized form of name appears as a name access point
  • In related information object, clicking on the authorized form of name of the related actor opens the actor show screen

Edit relationships

User should be able to edit existing relationships

  • Clicking the "pencil" icon in the relationship table opens a dialog populated with the appropriate relationship data
  • Focus should not automatically be given to the first field in the dialog (i.e. the autocomplete field of the "Title of related resource" should not pop down when the dialog is opened until the user places the cursor in the field)
  • Can select a new autocomplete values
  • Can edit all other fields in the dialog
  • Clicking Submit closes the dialog and updates the appropriate row in the relationship table
  • Clicking Cancel closes the dialog and ignores any changes
  • Clicking Save for the actor object saves all changed relationships
  • Clicking Cancel for the actor object discards any changes to the relationships
  • Related information objects and actor objects show changed information

Translate

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

  • When editing an actor object in a language different from the source language, the original language values should appear above the appropriate fields
  • The following drop-down values should appear in the current language: entity type, category of the relationship, status of description, level of detail, language(s), script(s)
  • The saved record should show all translations

Delete

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

  • Can delete data from all fields
  • Saving record opens show screen with deleted data removed
  • Clicking delete results in warning
  • Clicking cancel aborts the delete process and returns the user to the show screen
  • Clicking Confirm deletes the record and returns the user to the actor object list screen
  • Associated actor records and information objects are not deleted