Uploaded image for project: 'ui-checkin'
  1. ui-checkin
  2. UICHKIN-50

Check In Behavior for Items Awaiting Pickup (for Request)

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Core: F - Sprint 57, Core: F - Sprint 58
    • Story Points:
      8
    • Development Team:
      Prokopovych

      Description

      Purpose: To add a check in modal and appropriate status change behaviors when an item becomes "Awaiting pickup" or is already "Awaiting pickup" is run through check in at the associated requests service point

      User story:

      • As a user who is checking in an "Awaiting pickup" item that is at its pickup service point, or an item which is needed for a request and is now "Awaiting pickup"
      • I want to be notified that the item needs to go onto the Hold Shelf
      • So I know what to do with it next

      Scenarios:

      1. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Checked out
        • When Item X is checked in at service point SP1
        • Then:
          • "Awaiting pickup for a request" modal should display with
            • Title of modal: Awaiting pickup for a request
            • Body of modal: Place item <title of item> (<material type of item>) (Barcode: <barcode of item>) on hold shelf at <pick up service point> for request.
            • Controls:
              • Print slip - Checkbox (covered by UICHKIN-16)
              • Close- Button
              • X on window for closing (same as Close)
          • Item status should change from "Checked out" to "Awaiting pickup"
          • Request status should change from "Open - Not yet filled" to "Open - Awaiting pickup" (this is already working)
          • Hold shelf expiration date should set to today's date + period (initially hardcoded to 14 days per UIREQ-144 but will eventually come from request policy) (covered by UIREQ-144)
      2. Scenario (CB: Not testable until after we have completed UICHKIN-49 - maybe should move this to that story)
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = In transit
        • When Item X is checked in at service point SP1
        • Then:
          • "Awaiting pickup for a request" modal should display with
            • Title of modal: Awaiting pickup for a request
            • Body of modal: Place item <title of item> (<material type of item>) (Barcode: <barcode of item>) on hold shelf at <pick up service point> for request.
            • Controls:
              • Print slip - Checkbox (covered by UICHKIN-16)
              • Close - Button
              • X on window for closing (same as Close)
          • Item status should change from "In transit" to "Awaiting pickup"
          • Request status should change from "Open - In transit" to "Open - Awaiting pickup"
          • Hold shelf expiration date should set to today's date + period (initially hardcoded to 14 days per UIREQ-144 but will eventually come from request policy) (covered by UIREQ-144)
      3. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Awaiting pickup
        • When Item X is checked in at service point SP1
        • Then:
          • "Awaiting pickup for a request" modal should display with
            • Title of modal: Awaiting pickup for a request
            • Body of modal: Place item <title of item> (<material type of item>) (Barcode: <barcode of item>) on hold shelf at <pick up service point> for request.
            • Controls:
              • Print slip - Checkbox (covered by UICHKIN-16)
              • Close - Button
              • X on window for closing (same as Close)
          • Item status should remain "Awaiting pickup"
          • Request status should remain "Open - Awaiting pickup"
          • Hold shelf expiration date should not change

      Other Scenarios to Test (These Should Already Work/Are Covered by Other Stories/Are Redundant with Above):

      1. Scenario CB: Not testable yet, as we are still working on whitelist
        • Given Item X is In Transit to SP1 to be reshelved
        • When:
          • Item X is requested (recall and hold requests are allowed on In transit items) AND
          • Pick up service point on request = SP1 AND
          • Item X is checked in at SP1
        • Then
          • "Awaiting pickup for a request" modal should display with
            • Title of modal: Awaiting pickup for a request
            • Body of modal: Place item <title of item> (<material type of item>) (Barcode: <barcode of item>) on hold shelf at <pick up service point> for request.
            • Controls:
              • Print slip - Checkbox (covered by UICHKIN-16)
              • Close - Button
              • X on window for closing (same as Close)
          • Item status should change from "In transit" to "Awaiting pickup"
          • Request status should change from "Open - Not yet filled" to "Open - Awaiting pickup"
      2. Scenario CB: Not testable yet, as we are still working on whitelist
        • Given Item X is In Transit to SP1 to be reshelved
        • When:
          • Item X is requested (recall and hold requests are allowed on In transit items) AND
          • Pick up service point on request = SP2 AND
          • Item X is checked in at SP1
        • Then
          • Generic "In transit" modal should display
          • Item status should change from "Awaiting pickup" to "In transit"
          • Request status should change from "Open - Awaiting pickup" to "Open - In transit"
          • Hold shelf expiration date should clear out, as it's no longer on the hold shelf
      3. Scenario (covered by UICHKIN-49)
        • Given Item X is "Awaiting pickup" at Service Point 1
        • When Item X is checked in at a service point other than Service Point 1
        • Then:
          • Generic "In transit" modal should display
          • Item status should change from "Awaiting pickup" to "In transit"
          • Request status should change from "Open - Awaiting pickup" to "Open - In transit"
          • Hold shelf expiration date should clear out, as it's no longer on the hold shelf
      4. Scenario (entire scenario covered by UICHKOUT-406) CB: Not testable right now due to circ rule bug preventing checkout
        • Given Item X is "Awaiting pickup" by User A
        • When check out to a different user is attempted (regardless of service point)
        • Then:
          • Checkout should not be allowed
          • "Awaiting pickup for another patron" modal should appear
      5. Scenario (should already work) CB: Not testable right now due to circ rule bug preventing checkout
        • Given Item X is "Awaiting pickup" by User A at SP1
        • When Item X is checked out to User A at SP1
        • Then checkout should be successful*
      6. Scenario (should already work) CB: Not testable right now due to circ rule bug preventing checkout
        • Given Item X is "Awaiting pickup" by User A at SP1
        • When Item X is checked out to User A at a Service Point other than SP1
        • Then checkout should be successful*

      *NOTE: Successful checkouts to requester should result in the following (this should already work):

      • Item status changes to "Checked out"
      • Request status should change to "Closed - Filled"

      Mockups: https://drive.google.com/drive/folders/1G31thPxXT1CogRQIGALxNr5jkOgwhyyi

      NOTE: Items are often run through the Check In process when the staff user is unsure where an item needs to be e.g. shelved, sent to another service point, onto the hold shelf, etc

      Additional Acceptance Criteria:

      • Should include unit tests/big tests
      • We assume integration tests, if needed, will be covered in a separate work item

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                adityamatukumalli Aditya matukumalli
                Reporter:
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases