Right module tests

From AtoM wiki
Revision as of 15:23, 17 June 2016 by Sromkey (talk | contribs) (Edit)

Main Page > Development > Development/Functional testing > Development/Functional testing/Rights module tests

Create

A logged-in User can create one or more rights for an accession, archival description(s) and digital object(s).

  • In the Edit accession record screen, User can Click on Rights area.(Additionally, test the Edit archival descriptions screen and the Edit digital objects screen. Issue 2363 )
  • Can Click Add new hyperlink and rights data entry dialog box opens
    • Can select Acts from drop-down pick list provides users with 7 acts to select: delete, discover, display, disseminate, modify, migrate and replicate
    • Can select restriction drop-down list, two options: Allow and Disallow
    • Can modify date field "start" and enter data into date field "end"
    • Can select existing names from dynamic list in Rights holder field, or can input new name into field.
    • Can enter free text in Rights notes field
    • Can select Basis from drop-down list: copyright, license, statute, policy and donor - further relevant contextual fields should appear depending on basis
    • Can Click on Submit. After submitting rights, User can view Rights records information: Act, Restriction, Start and End.
      • Option to click save [description; accession; digital object; etc] record to make sure rights holder name is presented in the view record screen as a hyperlink. Click on hyperlink rights holder name and User is redirected to view rights holder screen.
  • After completing all data input, Click on Save button and view accession record screen.
  • Click create information object and view archival description screen. All rights should remain linked.
  • Click import digital objects and view archival description screen. All rights should remain linked.

Edit

A logged-in User can edit one or more rights records for an accession record and archival description(s).

  • User can view inherited/existing Rights records in the Rights area of the view accession record screen and view archival description screen.
    • Can view and edit rights area information: Act, Restriction, Start and End.
    • Can edit existing rights by clicking on pencil icon, delete existing rights by clicking on "x" or click on Add new hyperlink to create new rights
    • Can edit existing rights and submit
    • Can Add new rights and submit
    • Can edit existing rights and submit, then delete rights and Click on Save button Issue 2335
    • Can delete existing rights and Click on Save button
  • Click on Save button

A logged-in User can add one or more rights records to the archival description of digital object(s)

  • User can view inherited/existing Rights records in the view archival description screen for a digital object
    • Cannot view inherited/existing Rights record in the edit archival description screen.
    • Can Add new rights record to digital object, click Submit.
  • Click Save button and view archival description screen for digital object. New rights record should be added at the digital object level, while inherited/existing Rights record should not be overwritten by new rights record.

A logged-in User can cascade rights from a parent record to its children

  • User can click manage rights inheritance at the parent level.
    • Can choose to apply rights to all children or only children with digital objects
    • Can choose to delete current rights and replace with parent rights or keep current rights and add parent rights.
  • Click apply and check child records to ensure the rights were inherited correctly.

Manage Rights holders

A logged-in User can manage information about rights holders

  • Can select Rights holders from Manage menu
    • Can view Browse rights holder screen
    • Can sort order of rights holder list by alphabetic or recent changes
    • Can add name into secondary search box and Click on Search rights holder button
    • Search rights holder screen, can Click hyperlink rights holder name