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

Claim returned bulk action

    XMLWordPrintable

Details

    • Core: F - Sprint 88, Core: F - Sprint 89
    • 8
    • Prokopovych

    Description

      1. Scenario
        • Given the open loans loan history page for a patron
        • When the patron has at least one open loan
        • Then show the Claim returned button as a bulk action
          • right of Renew, left of Change due date
      2. Scenario
        • Given a user's open loans
        • When at least one loan is checked
        • Then enable the Claim returned bulk action button
      3. Scenario
        • Given a user's open loans and at least one checked item
        • When the Claim returned bulk action button is clicked
        • Then display the Claim returned bulk action modal
          • Title: Confirm claim returned
          • Body:
            • <number of items selected> item(s) will be claimed returned.
            • For each item, populate the following in a table:
              • Title (title of instance that item belongs to)
              • Due date (due date of loan)
              • Requests (number of open requests on item)
              • Barcode (barcode for item)
              • Call number (call number for item)
              • Loan policy (name of loan policy for item)
            • Input:
              • Label: Additional information*
              • Help text: Enter more information about the claim (required)
          • Buttons:
            • Cancel
            • Confirm (primary styling)
              • inactive until user has entered at least one character in Additional information
      4. Scenario
        • Given the claim returned bulk action modal
        • When the user clicks Confirm
        • Then change the status to Claimed returned for the selected items, and display the confirmation modal
          • Title: Claim returned confirmation
          • body:
            • <number of items claim returned> item(s) successfully claimed returned.
            • For each item, populate the following in a table:
            • Claim returned status: Item successfully claimed returned
            • Title (title of instance that item belongs to)
            • Due date (due date of loan)
            • Requests (number of open requests on item)
            • Barcode (barcode for item)
            • Call number (call number for item)
            • Loan policy (name of loan policy for item)
      5. Scenario
        • Given the claim returned bulk action modal
        • When the user clicks Cancel
        • Then:
          • Close the modal
          • Do not change the status of the selected items to Claimed returned
      6. Scenario
        • Given a user's open loans, with at least one item claimed returned
        • When the user checks only items that have a status of claimed returned
        • Then do not activate the Claim returned bulk action

      Notes

      • Split from UIU-1213 pending discussion of bulk handling
      • Likely not as large in scale as bulk renewals
      • For now, define call number in the bulk claim returned modal as it appears in loan history, override failed renewal, change due date, etc. Upcoming work (UXPROD-86) but it hasn't been finalized yet. Bulk claim returned modal has similar fields to the override failed renewal modal.
      • Model implementation off of bulk renew.
      • Split last scenario into its own story until CIRC-757 is completed

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mattjlc Matt Connolly
                ecboettcher Emma Boettcher
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases