Uploaded image for project: 'ui-circulation'
  1. ui-circulation
  2. UICIRC-862

FE | Make the token "feeCharge.additionalInfo" selectable for automated f/f adjustment notice templates

    XMLWordPrintable

Details

    • Volaris Sprint 162
    • 1
    • Volaris
    • Poppy (R2 2023)
    • TBD

    Description

      Purpose: The token "feeCharge.additionalInfo" should be selectable for notice templates Category = "Automated fee/fine adjustment (refund or cancel)", so that the comment left for the patron when charging Actual Cost can be visible on the email.

      Scenarios:

      1. Scenario:

      • Given: Settings  >>  Circulation  >>  Patron notice templates  >> Open existing template OR +New  >> Category = Automated fee/fine adjustment (refund or cancel)
      • When: I click on the tokens button in the template editor, which opens the “Add token” window,
      • Then: I see the token "feeCharge.additionalInfo" available to be selected.

      2. Scenario:

      • Given: the „Add token“ window is open,
      • When: I select the token “feeCharge.additionalInfo”, and no other token is selected,
      • Then: the „Add token“ button activates.

      3. Scenario:

      • Given: the token “feeCharge.additionalInfo” is selected in the “Add token” window, whether or not other tokens are selected,
      • When: I click on “Add token”,
      • Then: the token appears in the Body field + the “Save & close” button activates.

      4. Scenario:

      • Given: the token “feeCharge.additionalInfo” is entered in the Body field,
      • When: I click on “Preview”,
      • Then: I see sample data: “This is a text field intended to provide additional information for the patron regarding the fee/fine.”.

      5. Scenario:

      • Given: the token “feeCharge.additionalInfo” is entered in the Body field, whether or not other tokens or text are also entered in the Body field  +  all other required fields of the template are filed out,
      • When: I click on “Save & close”,
      • Then: the notice template saves + I return to the four pane view of the patron notice templates, with the notice template that I just edited selected and visible (as per the current behaviour).

      6. Scenario:

      • Given: Settings  >>  Circulation  >>  Patron notice templates  >> I have selected a notice template which contains the token “feeCharge.additionalInfo”,
      • When: I click on “Preview”,
      • Then: I see sample data: “This is a text field intended to provide additional information for the patron regarding the fee/fine.”.

      7. Scenario:

      • Given: I have received an email, the notice template of which contains the token “feeCharge.additionalInfo”,
      • When: I look at the text of that token in the live email,
      • Then: I see the plain text added in the field "Additional information for patron"

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                JulieBickle_LMU Julie Bickle
                JulieBickle_LMU Julie Bickle
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases