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

Patron blocks: Allow for override of Renewing when logged in user has credentials

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 6.0.0
    • None
    • EPAM-Veg Sprint 107, EPAM-Veg Sprint 108, EPAM-Veg Sprint 109
    • 3
    • Vega

    Description

      Overview:
      If a loan 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 loan detail page (displaying a single loan) for a patron with automated and/or manual patron block(s)
        • 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 Renewing-block.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 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 single item to be renewed
          • For 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, as shown in the attached Loan Details example FF-details-with-patron-block-override-on-renewal.jpg
      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 item level error.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 item level error override.jpg)

      TestRail: Results

        Attachments

          1. FF-details-with-patron-block-override-on-renewal.jpg
            108 kB
            Holly Mistlebauer
          2. item level error.png
            385 kB
            Darcy Branchini
          3. item level error override.png
            440 kB
            Darcy Branchini
          4. Patron-block-override-comment.jpg
            38 kB
            Holly Mistlebauer
          5. Renewing-block.jpg
            122 kB
            Holly Mistlebauer

          Issue Links

            Activity

              People

                Dmitriy Litvinenko Dmitriy Litvinenko
                hollyolepm Holly Mistlebauer
                Darcy Branchini Darcy Branchini
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases