Uploaded image for project: 'ui-requests'
  1. ui-requests
  2. UIREQ-58

Requests: Cancel

    XMLWordPrintable

Details

    • 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:

      1. 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.
      2. Scenario
      3. 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.
      4. 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
      5. 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
      6. 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
      7. 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
      8. Scenario
        • Given a Cancellation reason "Other" free-text field
        • When text is not entered
        • Then the "Confirm" button should be not active/clickable
      9. Scenario
        • Given a "Confirm" button on the "Confirm cancellation" modal
        • When clicked
        • Then the request status should be changed to "Closed - cancelled"
      10. 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
      11. Scenario
        • Given Item A with associated Request R
        • When Request R is cancelled
        • Then the item status of Item A should be unchanged
      12. 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

            Activity

              People

                md331 Mark Deutsch
                taniafersenheim Tania Fersenheim
                Tania Fersenheim Tania Fersenheim
                Marc Johnson Marc Johnson
                Matt Connolly Matt Connolly
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases