Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
Description
Purpose: To implement a modal that appears when an attempt is made to check out an "Awaiting pickup" item to someone other than the requester
- Scenario
- Given open request X for item Y with:
- Request status = "Open - Awaiting pickup"
- Item status = "Awaiting pickup"
- When item Y is checked out to a user who is NOT the requester
- Then an "awaiting pickup for another patron" modal should appear as shown in the 2-Checkout-AwaitingPickUp-Modal.png wireframe
- Given open request X for item Y with:
- Scenario
- Given an "awaiting pickup for another patron" modal
- Then the following data elements should appear on the modal, as shown in the 2-Checkout-AwaitingPickUp-Modal.png wireframe:
- Tiitle
- Item barcode
- Name of the checkout patron (the patron the item cannot be checked out to)
- Scenario
- Given an "awaiting pickup for another patron" modal
- Then "Close" button should display
- Scenario
- Given an "Close" button on an "awaiting pickup for another patron" modal
- When clicked
- Then no check out will occur
- The request status should remain "Open - Awaiting pickup"
- The item status should remain "Awaiting pickup"