Uploaded image for project: 'ui-oai-pmh'
  1. ui-oai-pmh
  2. UIOAIPMH-5

Create/edit OAI-PMH set with general information

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Labels:
    • Template:
    • Sprint:
      Gulfstream Sprint 93
    • Story Points:
      5
    • Development Team:
      Gulfstream

      Description

      Purpose:

      This is a first step in creating/editing OAI-PMH set. Adding filtering conditions for set is out of scope for the ticket.

      User story statement:

      As a system administrator,
      I want to be able to create/edit OAI-PMH sets with general information
      so that the hierarchy of sets was available in my repository

      Scenarios:

      1. Scenario - Open set creation page

      • Given user has permissions to edit OAI-PMH settings
      • When user clicks "New" button in Settings => OAI-PMH => Sets
      • Then creation page with the title "Create new set" is opened
      • And "General information" section is displayed with empty fields "Set name" and "Set description"

      2. Scenario - Open set modification page

      • Given user has permissions to edit OAI-PMH settings
      • When user tries to open the page for set modification with appropriate link
      • Then set modification page with the title "Edit" + set name is opened
      • And "General information" section is displayed with collapsed metadata (Record last updated, Source, Record created Source) and fields - "Set name" and "Set description"
      • And all fields are filled in with current set values

      3. Scenario - Save set

      • Given user opens the page for set creation/modification
      • And user has permissions to edit OAI-PMH settings
      • When user filled in some fields (set name, set description)
      • And user clicks "Save" button
      • Then set is saved in FOLIO
      • And message "Set was successfully created" is shown in case of set creation
      • And message "Set was successfully updated" is shown in case of set modification

      4. Scenario - Track set modification history

      • Given user has permissions to edit OAI-PMH settings
      • When user saves the set
      • Then current datetime and user name is stored for history

      5. Scenario - Cancel set creation

      • Given user opens the page for set creation/modification
      • When user clicks "Cancel" button
      • Then confirmation message "Are you sure?" with the text "There are unsaved changes" is shown
      • And all changes are lost after cancellation confirmation, i.e. clicking the "Close without saving" button

      6. Scenario - Lack of permissions

      • Given user doesn't have permissions to edit OAI-PMH settings
      • When user navigates to set creation/modification page
      • Then an error message "You lack necessary permissions to edit OAI-PMH settings. Please, contact the system administrator." comes up instead of regular page content

      7. Scenario - Wrong URL

      • Given user has broken or obsolete link to set modification page
      • When user applies this link
      • Then a page with a title "Edit" is opened
      • And an error message "You have an invalid URL address. Please, review the syntax or parameters of the URL path and try another one." comes up instead of regular page content

      8. Scenario - Set saving fail

      • Given there are some issues with saving on the back-end side
      • When user clicks "Save" button on the set creation/modification page
      • Then set isn't saved in FOLIO
      • And message "Unable to save due to a module error. Please try again. If a problem persists please contact your system administrator." is shown

      Result screen design attached.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Anastasiia Zakharova Anastasiia Zakharova (Inactive)
                Reporter:
                Anastasiia Zakharova Anastasiia Zakharova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases