Details
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:
- 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)
- Print slip - Checkbox (covered by
- 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 perUIREQ-144but will eventually come from request policy) (covered byUIREQ-144)
- "Awaiting pickup for a request" modal should display with
- 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)
- Print slip - Checkbox (covered by
- Title of modal: Awaiting pickup for a request
- 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 perUIREQ-144but will eventually come from request policy) (covered byUIREQ-144)
- "Awaiting pickup for a request" modal should display with
- 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)
- Print slip - Checkbox (covered by
- Title of modal: Awaiting pickup for a request
- Item status should remain "Awaiting pickup"
- Request status should remain "Open - Awaiting pickup"
Hold shelf expiration date should not change
- "Awaiting pickup for a request" modal should display with
Other Scenarios to Test (These Should Already Work/Are Covered by Other Stories/Are Redundant with Above):
- 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)
- Print slip - Checkbox (covered by
- Item status should change from "In transit" to "Awaiting pickup"
- Request status should change from "Open - Not yet filled" to "Open - Awaiting pickup"
- "Awaiting pickup for a request" modal should display with
- 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
- 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
- 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
- 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*
- 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
- blocks
-
UICHKIN-79 Multiple messages at check in
-
- Closed
-
- is blocked by
-
CIRC-193 Backend Work for UICHKIN-50: Await pickup only at pickup service point
-
- Closed
-
- relates to
-
CIRC-194 Requests: Populate the Hold Shelf Expiration Date when a request becomes "Open - Awaiting pickup"
-
- Closed
-
-
UICHKIN-16 Print Hold Slip at Check In
-
- Closed
-
-
UICHKIN-81 Wrong Service Point Displaying At Check-In
-
- Closed
-
-
UX-230 UX: Check In "Awaiting pickup" and "In transit" modals
-
- Closed
-
-
UX-232 UX: Remove Cancel Button from Check-in Modals
-
- Closed
-
-
UXPROD-118 Fulfill pickup requests
-
- Closed
-
-
UICHKIN-49 Check In Behavior for Items In Transit (for Request)
-
- Closed
-
-
UXPROD-95 Check-in: Be alerted to hold, recall and/or transit requirement to another unit library or external library (ILL or borrow direct).
-
- Closed
-