Modal for Checkout "awaiting pickup" message
Description
Environment
None
Potential Workaround
None
Attachments
2
is blocked by
relates to
Checklist
hideTestRail: Results
Activity
Show:
Done
Created March 23, 2018 at 2:17 PM
Updated September 11, 2018 at 9:04 AM
Resolved July 24, 2018 at 7:19 PM
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
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"