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

FE: Update patron notice policy: Multiples options for "Lost item fee(s) charged"

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 163
    • 3
    • Vega
    • Poppy (R2 2023)
    • TBD

    Description

      Purpose: Add two options to the configuration of the triggering of "Lost item fee(s) charged", to allow for overnight bundling.

      NB: All other settings, that appear on the same browser page but are not mentioned below, should be unaffected by the below work, i.e. they should work like they did before this work.

      NB2: The behaviour of the update Lost item fee(s) charged notice policy section, should be similar to the behaviour of the Loan due date/time notice policy section.

      User story:

      As: a librarian sysadmin,
      I want to: select an overnight bundling option for the aged to lost notices
      So that: The patron gets all aged to lost fees in one email (albeit a long email), instead of in several emails.

      Scenarios:

      1. Scenario:

      • Given: I am in Settings >> Circulation >> Patron notice policies >> Edit existing OR + New >> Fee/fine notices >> Edit existing OR Add notice,
      • When: I select the Triggering event "Lost item fee(s) charged",
      • Then: Two options appear below the "Send" field:
        • Send overnight with multiple lost item fee charges by patron.
        • Send throughout the day with one lost item fee charge per notice.See: 01_NoticePolicyLostItemFeeCharged
          • And the error message "Always sent when event is triggered and send conditions are met." no longer appears.

      2. Scenario:

      • Given: I have selected the Triggering event "Lost item fee(s) charged",
      • When: The two options appear,
      • Then: Neither of them are pre-selected.

      3. Scenario: 

      • Given: I have selected the Triggering event "Lost item fee(s) charged" + the twop options appeared + neither of them is selected
      • When: I click on "Save & close",
      • Then: In addition to the existing validation errors for the other fields, each option has its own validation error: "Please fill this in to continue"
        See: 02_NoticePolicyValidationErrors

      4. Scenario

      • Given: I have selected the Triggering event "Lost item fee(s) charged" and the two options appear,
      • When: My mouse hover over one option,
      • Then: The option highlights in blue.

      5. Scenario:

      • Given: I have selected the Triggering event "Lost item fee(s) charged" and the two options appear,
      • When: I click on one option,
      • Then: The button is selected.

      6. Scenario:

      • Given: I have selected one of the two options,
      • When: I click on the other option,
      • Then: The first option is de-selected, and the second option is now selected.

      7. Scenario:

      • Given: I have selected one of the options,
      • When: I select a different Triggering event, then return to the Triggering event "Lost item fee(s) charged",
      • Then: My previous selection remains visible.

      8. Scenario:

      • Given: I have an option selected one of the options + all other required settings in the patron notice policy have been filled out,
      • When: I click "Save & close"
      • Then: My patron notice policy is saved, and I return to the View panel (the 4th pane).

      9. Scenario:

      • Given: I have a patron notice policy with a Triggering event "Lost item fee(s) charged",
      • When: I view the notice policy in the 4th pane,
      • Then: I see the option that I selected for that notice. 
        See: 03_NoticePolicyViewOption  and  04_NoticePolicyViewOption

      10. Scenario:

      • Given: I am editing a patron notice policy with a Triggering event "Lost item fee(s) charged",
      • When: I click on the Dustbin option for that notice,
      • Then: The Notice configuration disappears.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Artem_Blazhko Artem Blazhko
                JulieBickle_LMU Julie Bickle
                Oleksandr Hrusha Oleksandr Hrusha
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases