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

Claim returned bulk action

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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
      7. Scenario
        • Given a user's open loans, with at least one item claim returned and at least one item not claim returned
        • When the user checks at least one item that is claim returned and at least one item that is not claim returned
        • Then display all items in the claim returned bulk modal
      8. Scenario
        • Given the claim returned bulk modal, with at least one item that is claim returned in it, and all required information completed
        • When the user clicks confirm
        • Then display confirmation modal
          • Above table, display message summarizing changes: <number of items not changed to claim returned> item(s) not claimed returned. <number of items newly changed to claim returned> items *successfully claimed returned.
          • change the status of items that are not claim returned to claim returned, with success message (UIU-1213)
          • display a failure message for items that already had the status claim returned: Item could not be claimed returned: item is already claimed returned

      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.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ecboettcher Emma Boettcher
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases