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

Claimed returned: prevent renewal

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • None
    • Core: F - Sprint 88, Core: F - Sprint 89
    • 8
    • Prokopovych

    Description

      Purpose: Prevent users from renewing an item that is claimed returned.

      Scenarios

      1. Scenario.
        • Given an item with the status Claimed returned
        • When viewing loan details for that loan
        • Then disable the Renew button
      2. Scenario
        • Given an item with the status Claimed returned, and a user's loan history showing open loans, including the loan for that item
        • When the action menu for the loan is open
        • Then do not show the Renew option
      3. Scenario
        • Given a user's loan history showing open loans, with at least one loan for an item with the status Claimed returned
        • When only loans for items with the status Claimed returned are checked
        • Then disable the bulk Renew button
      4. Scenario
        • Given a user's loan history showing open loans, with at least one loan for an item with the status Claimed returned
        • When at least one loan for an item with the status Claimed returned is checked and at least one loan for an item with the status Checked out is checked
        • Then enable the bulk Renew button
      5. Scenario
        • Given the Renew confirmation modal
        • When there is at least one Claimed returned item in the modal
        • Then display the following message in the Renewal status column for each Claimed returned item:
          • Item not renewed: item is Claimed returned
      6. Scenario
        • Given the Renew confirmation modal, with at least one failure that is because the item was claimed returned
        • When there are no other loans in the modal whose renewals have failed for other reasons
        • Then do not show an Override button
      7. Scenario
        • Given the Renew confirmation modal, with at least one failure that is because the item was claimed returned
        • When there is at least one renewal that has failed for a reason that can be overridden
          • All failure reasons, except for renewal would not change the due date
        • Then show an Override button
      8. Scenario
        • Given the Renew confirmation modal, with at least one failure that is because the item was claimed returned, and at least one failure that is for a reason that can be overridden
        • When the user clicks the Override button
        • Then display all loans that can be overridden in the resulting modal, but exclude any that have failed because the loan is claimed returned

      Notes:

      • Behavior should be similar to when a renewal fails because a renewal would not change the due date: show the failure reason, but do not allow user to override

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                SergiySergiyenko Sergiy Sergiyenko
                ecboettcher Emma Boettcher
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases