New mediated request form - proxy pop up

Description

Purpose: To enable proxy users in Mediated requests

User story statement(s):

As a librarian,
I want the ability for mediated requests to access proxy/sponsor user information
so that the functionality is available when needed

Scenarios:

  1. Scenario:

    • Given Mediated requests > New mediated request form

    • When I enter a Requester into the form and press enter

    • AND the Requester is a proxy for another User

    • Then I see a pop up modal entitled “Who are you acting as?”

  2. Scenario:

    • Given Mediated requests > New mediated request form > Who are you acting as? modal

    • When I view the modal and the Requester is a proxy for another User

    • Then I see the following

      • [Requester last name, first name] is acting as

        • Self (preceded by radio button) - default selection

      • Or acting as proxy for

        • [Proxy last name, first name] (preceded by radio button)

      • Cancel button

      • Continue button (default/blue outline and text)

  3. Scenario:

    • Given Mediated requests > New mediated request form > Who are you acting as? modal

    • When I select the Self radio button AND click Cancel

    • Then I am returned to the New mediated request form and the Requester information is still visible

  4. Scenario

    • Given Mediated requests > New mediated request form > Who are you acting as? modal

    • When I select the Self radio button AND click Continue

    • Then the new mediated request form reflects the Requester name and barcode

  5. Scenario

    • Given Mediated requests > New mediated request form > Who are you acting as? modal

    • When I select the Or acting as proxy for [name] radio button AND click Continue

    • Then the Requester and Requester’s proxy information are populated in the Requester name and barcode fields

      • Requester information

        • Requester barcode field and Enter button

        • Requester lookup link

        • Requester

          • Last name, first name Barcode: [barcode]

        • Requester patron group

          • [patron group]

        • Requester’s proxy

          • Last name, first name Barcode: [barcode]

  6. Scenario

    • Given Mediated requests details

    • When a proxy is used in the Mediated request

    • Then the Requester’s proxy information name and barcode appear the in Requester information accordion below Requester patron group, Fulfillment preference, Pickup service point

      • Requester’s proxy

        • [last name, first name] link Barcode: [barcode link]

  7. Scenario

    • Given Mediated requests > New mediated request form > Who are you acting as? modal

    • When I select the Or acting as proxy for [name] radio button AND click Cancel

    • Then I am returned to the New mediated request form and the Requester information is still visible

  8. Scenario

    • Given Mediated requests > New mediated request form

    • When I use the Requester look-up AND the Requester I select is a proxy for another User

    • Then the Who are you acting as? modal appears and functions as described in the scenarios above

Environment

None

Potential Workaround

None

Attachments

4

Checklist

hide

Activity

Show:

Oleksandr Hrusha August 28, 2024 at 9:22 AM

Checked on https://folio-dev-vega-consortium.ci.folio.org/ , works as expected

 

Artem Blazhko August 16, 2024 at 2:35 PM
Edited

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 9, 2024 at 6:43 PM
Updated November 13, 2024 at 5:24 PM
Resolved August 28, 2024 at 4:47 PM
TestRail: Cases
TestRail: Runs