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

Patron Blocks: Display automated patron block(s) on User Information page

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM-Veg Sprint 42
    • Story Points:
      3
    • Development Team:
      Vega

      Description

      To see how this JIRA issue integrates with the other automated patron blocks JIRA issues please see the diagram at https://drive.google.com/file/d/1D9tZE-EgTZYRV28Wc2ghpfHIdnqBwpr2/view?usp=sharing

      Purpose: To include automated patron blocks on the User Information page.

      Background: Currently the User Information page displays manual patron blocks only (see attached screen print Manual-Patron-Blocks-Only.jpg). Manual patron blocks are created by pressing the "New block" button in the Patron blocks section of the User Information page (see attached screen print Manual-Patron-Blocks-Only.jpg). Manual patron blocks may be modified and deleted. Unlike manual patron blocks, automated patron blocks may not be created, modified or deleted. They are automatically identified based on criteria entered by the institution in the Patron Blocks "Actions" and "Limits" User Settings. Automated patron blocks are shown on the User Information page so that staff members are able to assist patrons who report a problem when attempting to checkout, renew or request.

      Scenarios
      Scenario 1

      • Given User Information
      • When open
      • Then pass barcode to process to determine if one or more automated patron blocks exist (see UIU-1168)

      Scenario 2

      • Given process to determine if one or more automated patron blocks exist response
      • When no automated patron blocks exist and no manual patron blocks exist
      • Then display User Information without patron block warnings (this logic already exists)

      Scenario 3

      • Given process to determine if one or more automated patron blocks exist response
      • When no automated patron blocks exist but manual patron blocks do exist
      • Then display manual patron blocks as shown in attached screen print Manual-Patron-Blocks-Only.jpg (this logic already exists)

      Scenario 4

      • Given process to determine if one or more automated patron blocks exist response
      • When one or more automated patron blocks exist and no manual patron blocks exist
      • Then display User Information with patron block warnings as shown in attached screen print Automated-Patron-Blocks-Only.jpg
      • For automated patron blocks
        • Type = Automated (cannot be edited)
        • Display description = Message to be displayed (which is returned from process to determine if one or more automated patron blocks exist (see UIU-1168)
        • Blocked actions = Check the Borrowing flag, Renewals flag and Requests flag (which are returned from process to determine if one or more automated patron blocks exist (see UIU-1168) to determine which actions are blocked

      Scenario 5

      • Given process to determine if one or more automated patron blocks exist response
      • When one or more automated patron blocks exist and one or more manual patron blocks exist
      • Then display User Information with patron block warnings as shown in attached screen print Both-Patron-Blocks.jpg
        • Automated patron blocks display first
          • Type = Automated (cannot be edited)
          • Display description = Message to be displayed (which is returned from process to determine if one or more automated patron blocks exist (see UIU-1168)
          • Blocked actions = Check the Borrowing flag, Renewals flag and Requests flag (which are returned from process to determine if one or more automated patron blocks exist (see UIU-1168) to determine which actions are blocked
        • Manual patron blocks display with most recent on top

        TestRail: Results

          Attachments

          1. Automated-Patron-Blocks-Only.jpg
            Automated-Patron-Blocks-Only.jpg
            131 kB
          2. Both-Patron-Blocks.png
            Both-Patron-Blocks.png
            99 kB
          3. Manual-Patron-Blocks-Only.jpg
            Manual-Patron-Blocks-Only.jpg
            129 kB
          4. screenshot-1.png
            screenshot-1.png
            51 kB
          5. screenshot-2.png
            screenshot-2.png
            53 kB
          6. screenshot-3.jpg
            screenshot-3.jpg
            51 kB

            Issue Links

              Activity

                People

                Assignee:
                annamelnyk Anna Melnyk
                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