Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-2054

Multiple renewal override for patron blocks

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • None
    • None
    • Front-end User Story Template
    • EPAM-Veg Sprint 108, EPAM-Veg Sprint 109
    • 5
    • Vega

    Description

      Overview:
      If loans for a user/patron with one or more patron blocks and the logged in user has the patron block override credential, the Override button will appear in the patron block modal. If they do not, only the Close button and View block details button will appear (as they do now).

      Scenarios:

      1. Scenario
        • Given the loans page (displaying one to many loans) for a patron with automated and/or manual patron block(s) (as shown in attachment 1 loans page.jpg)
        • When the Renew button is clicked and patron block modal appears
        • Then
          • If has the patron block override credential, then add Override button to the left of the current Close button (as shown in attachment 2 patron block modal.jpg)
          • If they do not, then only the Close button and View block details button will appear (as they do now).
      2. Scenario
        • Given 'Patron blocked from renewing' modal displaying with Override button active (Scenario 1 above)
        • When the Override button is clicked
        • Then open 'Override patron block' modal (as shown in attachment 3 patron-block-override-comment.jpg) with Save & close button inactive
      3. Scenario
        • Given 'Override patron block' modal displaying with Save & close button inactive (Scenario 2 above)
        • When the Cancel button is clicked
        • Then close 'Override patron block' modal and go back to 'Patron blocked from renewing' modal
      4. Scenario
        • Given 'Override patron block' modal displaying with Save & close button inactive (Scenario 2 above)
        • When something entered in required Comment field
        • Then activate Save & close button
      5. Scenario
        • Given 'Override patron block' modal displaying with Save & close button active (Scenario 4 above)
        • When the Save & close button is clicked
        • Then
          • Allow all items to be renewed (unless an item level block exists, in which case the renewal should be pending second modal should be displayed - as it does now, see last scenario)
          • For each item renewed via this override, the Loan Action must be 'Renewed through override' and the Comment entered on the 'Override patron block' modal must appear in the Comments field
      6. Scenario
        • Given an override modal for an item-level error or block, such as item is not renewable or has already been renewed too many times (as shown in attachment 4 item level error-block modal.jpg)
        • When a patron block was already overridden
        • Then the comment from the patron block override entered by the logged in user (see Scenario above) should be shown in the comment field on the item-level override modal (and the user logged in can edit it) (as shown in attachment 5 item level override modal-comment.jpg)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Dmitriy Litvinenko Dmitriy Litvinenko
                dbranchini Darcy Branchini
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases