Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Sif Sprint 166, Odin Sprint 166, Odin Sprint 167, Odin Sprint 169, Odin Sprint 170, Odin Sprint 171
-
Odin
-
Poppy (R2 2023)
-
TBD
Description
Purpose: Add a new section to the token modal in the notice templates. This section contains 7 tokens.
Scenarios:
1. Scenario:
- Given: Settings >> Circulation >> Patron notice templates >> Open existing template OR +New >> Category = Loan + Request + Automated fee/fine charge + Automated fee/fine adjustment + Manual fee/fine charge + Manual fee/fine action (pay, waive, refund, transfer or cancel/error),
- When: I click on the tokens button in the template editor, which opens the “Add token” window,
- Then: I see with a new section called "User primary address", with 7 new tokens (updated mock-up pending)
- user.primaryDeliveryAddressType
- user.primaryAddressLine1
- user.primaryAddressLine2
- user.primaryCity
- user.primaryStateProvRegion
- user.primaryZipPostalCode
- user.primaryCountry
For each of these tokens, please consider the following scenarios:
2. Scenario:
- Given: the „Add token“ window is open,
- When: I select a token in the "User primary address" section, and no other token is selected,
- Then: the „Add token“ button activates.
3. Scenario:
- Given: a token in the "User primary address" section 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: a token in the "User primary address" section is entered in the Body field,
- When: I click on “Preview”,
- Then: I see sample data (for each token):
- user.primaryDeliveryAddressType : Office
- user.primaryAddressLine1 : 123 Campus Drive
- user.primaryAddressLine2 : 226 Classroom Building, Box 12345
- user.primaryCity : Los Angeles
- user.primaryStateProvRegion : CA
- user.primaryZipPostalCode : 90084
- user.primaryCountry : USA
5. Scenario:
- Given: a token in the "User primary address" section 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 a token in the "User primary address" section,
- When: I click on “Preview”,
- Then: I see sample data: (for each token):
- user.primaryDeliveryAddressType : Office
- user.primaryAddressLine1 : 123 Campus Drive
- user.primaryAddressLine2 : 226 Classroom Building, Box 12345
- user.primaryCity : Los Angeles
- user.primaryStateProvRegion : CA
- user.primaryZipPostalCode : 90084
- user.primaryCountry : USA
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-4267 Hebis: Add "User primary address" as notice object, with 7 tokens
-
- Closed
-
- relates to
-
CIRC-1931 UI | User primary address Contry token fetches the Country code in the patron notices
-
- Closed
-