Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
Small < 3 days
-
Medium < 5 days
-
Medium
-
This estimate is for both
UIREQ-58& UI_REQ-67 -
Small < 3 days
Description
Purpose:
To work on request cancellation
As a circulation staff person
I want to be able to cancel an open request (an open request is any request whose Request status begins with "Open")
Scenarios:
- Scenario
- Given the view or edit mode for an Open request (any request whose Request status begins with "Open")
- When displayed
- Then a button to access a drop-down actions menu should display as shown in wireframe RequestDetailWithCancel-Open.png
- There's no icons next to the menu options, but they show in the wireframe - should there be icons? Not yet, per Mark's comments below. No Change History button, but per the Note below, that's out of scope for this story.
- Scenario
- Given a "Cancel request" option in the actions drop-down
- When clicked
- Then a "Confirm request cancellation" modal should appear as shown in wireframe RequestDetailWithModal-DropdownOpen.png
- Scenario
- Given a "Confirm request cancellation" modal
- When displayed
- Then a list of pre-defined cancel reasons should display as shown in wireframe RequestDetailWithModal-DropdownOpen.png
- wording and order of the cancellation reasons is a little different from what's shown in the wireframe - is that OK? OK per Mark's comments below.
- Scenario
- Given a "Confirm request cancellation" modal
- When displayed
- Then the first option in the list of pre-defined cancel reasons should be pre-selected as shown in in wireframe RequestDetailWithModal-DropdownOpen.png
- Scenario
- Given a "Confirm request cancellation" modal
- When any pre-defined cancel reason except "Other" is selected
- Then a free-text field should appear as shown in wireframe RequestDetailWithModal.png
- Scenario
- Given a "Confirm request cancellation" modal
- When the pre-defined cancel reason "Other" is selected
- Then a free-text field should appear as shown in wireframe RequestDetailWithModalOther.png
- Scenario
- Given a "Confirm request cancellation" modal with
- A free-text field displayed
- When text is entered in the free-text field
- Then the text should be recorded for later display and reporting, along with the pre-defined cancellation reason
**no way for us to test this in the UI, is there? We're assuming it's working on the back-end, but can't figure out how to test it, Update: it's working, per Mark Deutsch
- Given a "Confirm request cancellation" modal with
- Scenario
- Given a Cancellation reason "Other" free-text field
- When text is not entered
- Then the "Confirm" button should be not active/clickable
- Scenario
- Given a "Confirm" button on the "Confirm cancellation" modal
- When clicked
- Then the request status should be changed to "Closed - cancelled"
- Scenario
- Given a "Back" button on the "Confirm cancellation" modal
- When clicked
- Then the cancellation confirmation modal will close and the cancellation will be cancelled
- Scenario
- Given Item A with associated Request R
- When Request R is cancelled
- Then the item status of Item A should be unchanged
- Scenario
- Given a request
- When request status is "Closed - cancelled"
- Then no edit button or other edit option should appear (closed requests should never be editable)
Note: The list of Cancellation reasons will be created by library staff in Settings, which is out of scope for this story
Note: "Change history" in the actions drop down (as shown in the wireframes) is out of scope for this story
Note: “Notify user” (as shown in the wireframes) is out of scope for this story
TestRail: Results
Attachments
Issue Links
- blocks
-
UIREQ-67 Requests - capture information during cancellation
-
- Closed
-
- is blocked by
-
CIRC-118 add closed - cancelled request status
-
- Closed
-
-
FOLIO-1291 Add example cancellation reasons to folio-ansible build
-
- Closed
-
- relates to
-
CIRCSTORE-47 Store Request Cancellation Information
-
- Closed
-
-
UIREQ-75 Implement "Notify user" flag during Request Cancellation
-
- Draft
-
-
UIREQ-99 CRUD Request Cancellation Reasons
-
- Closed
-
-
UIREQ-103 Settings - re-ordering Request Cancellation reasons
-
- Open
-
-
UIREQ-121 Request statuses "Open - in transit"
-
- Closed
-
-
UXPROD-233 Request statuses "Closed - filled" and "Closed - cancelled"
-
- Closed
-
-
CIRC-90 Store Request Cancellation Information
-
- Closed
-