Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-674

CRUD Manual Patron Block

    XMLWordPrintable

    Details

    • Template:
    • Development Team:
      UNAM

      Description

      Purpose: Allows institution to manually block a patron from borrowing, renewing, and/or requesting until specified issue is resolved. The manual block may be edited to update any elements associated with it and it may be deleted at any time. The block will be displayed prominently on the User Information page so that staff members are aware that patron is blocked and why they are blocked. If an Expiration date is provided, the patron block should be automatically removed on that date.

      Scenarios

      1. Scenario
        Given the User Information page
        When displayed for patron without a block
        Then Patron blocks section should display immediately following the User Information section (as shown in attached mock-up 3-user-details-no-blocks.png) with the accordion open and +Add block button available
      2. Scenario
        Given the User Information page
        When displayed for patron with a block
        Then Patron blocks section should display immediately following the User Information section (as shown in attached mock-up 1-user-details-patron-blocks.png) with the accordion open, a red circle containing "!" to the right of "Patron blocks", all blocks listed in a table format with the most recent block first, and +Add block button available; at the top of the User Information page "Patron has blocked in place" with appear prominently in a red transparent box
      3. Scenario
        Given the +Add block button
        When pressed
        Then open New block page (as shown in attached mock-up 4-create-manual-patron-block.png) with Display description and Block actions as required fields and all three Block actions (Borrowing, Renewals, and Requests) with check marks by default
      4. Scenario
        Given X on top left of New block page (as shown in attached mock-up 4-create-manual-patron-block.png)
        When clicked
        Then close New block page and leave patron at User Information page with Patron blocks section open (as it was when the +Add block button was first pressed)
      5. Scenario
        Given required fields Display description and Block actions on New block page (for Block actions, at least one of the 3 boxes must contain a check mark)
        When provided
        Then activate Create block button on New block page (as shown in attached mock-up 4-create-manual-patron-block.png)
      6. Scenario
        Given Create block button on New block page (as shown in attached mock-up 4-create-manual-patron-block.png)
        When pressed and Expiration date is today or in the past
        Then display error message Expiration date must be in the future (as shown in attached mock-up Expiration-Date-Error.jpg) and remain on the New block page until the date is corrected
      7. Scenario
        Given Create block button on New block page (as shown in attached mock-up 4-create-manual-patron-block.png)
        When pressed and Expiration date is a future date (not today, but tomorrow or later)
        Then save the block to the database (along with date and time block was created and person who created it); close New block page and take patron back to User Information page with new block displaying (as shown in attached mock-up 1-user-details-patron-blocks.png) along with any other blocks that may have already existed
      8. Scenario
        Given existing block within Patron blocks section of User Information page
        When clicked
        Then open Edit block page (as shown in attached mock-up 2-edit-manual-patron-block.png), displaying information about when the record was created and by whom and when the record was last updated and by whom, in addition to what the user entered in when the block was created; the date, time, and source information cannot be updated by the user, but everything else can be
      9. Scenario
        Given X on top left of Edit block page (as shown in attached mock-up 2-edit-manual-patron-block.png)
        When clicked
        Then close Edit block page and leave patron at User Information page with Patron blocks section open (as it was when the existing block was originally clicked on)
      10. Scenario
        Given required fields Display description and Block actions on Edit block page (for Block actions, at least one of the 3 boxes must contain a check mark)
        When provided and at least one field changed
        Then activate Save & close button on Edit block page (as shown in attached mock-up 2-edit-manual-patron-block.png)
      11. Scenario
        Given Save & close button on Edit block page (as shown in attached mock-up 2-edit-manual-patron-block.png)
        When pressed and Expiration date is today or in the past
        Then display error message Expiration date must be in the future (as shown in attached mock-up Expiration-Date-Error.jpg) and remain on the Edit block page until the date is corrected
      12. Scenario
        Given Save & close button on Edit block page (as shown in attached mock-up 2-edit-manual-patron-block.png)
        When pressed and Expiration date is a future date (not today, but tomorrow or later)
        Then save the updates to the database (along with date and time block was modified and person who modified it); close Edit block page and take patron back to User Information page with updated block information displaying
      13. Scenario
        Given Delete button on Edit block page (as shown in attached mock-up 2-edit-manual-patron-block.png)
        When pressed
        Then display Delete patron block? confirmation pop-up (as shown in attached mock-up 5-delete-manual-patron-block.png)
      14. Scenario
        Given Cancel button on Delete patron block? confirmation pop-up (as shown in attached mock-up 5-delete-manual-patron-block.png)
        When pressed
        Then close Delete patron block? confirmation pop-up, taking patron back to Edit block page (without deleting block)
      15. Scenario
        Given Delete button on Delete patron block? confirmation pop-up (as shown in attached mock-up 5-delete-manual-patron-block.png)
        When pressed
        Then delete the patron block, taking patron back to User Information page with Patron block section open but deleted block gone
      16. Scenario (this happens in the background)
        Given Expiration date of block
        When Expiration date = Today's date
        Then delete the patron block

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Akireyram Erika Miranda
                Reporter:
                hollyolepm Holly Mistlebauer
                Tester Assignee:
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases