Done
Details
Assignee
Mariia AloshynaMariia AloshynaReporter
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Tester Assignee
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Priority
P2Story Points
3Sprint
NoneDevelopment Team
FolijetFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Mariia Aloshyna
Mariia AloshynaReporter
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Tester Assignee
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Priority
Story Points
3
Sprint
None
Development Team
Folijet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 21, 2020 at 9:45 AM
Updated June 23, 2020 at 8:37 AM
Resolved May 4, 2020 at 9:24 AM
Purpose:
To create the date picker component used in the field mapping profile details
Approach:
This component (and the other similar ones) must be implemented as regular components decorator.
This means the following requirements:
Any generic component on the form can be decorated / augmented with Reference Values dropdown selector.
FlexibleForm renderer should detect repeatable: true property presence in the particular field config block (taken from form config object for this field) and wrap this repeatable field control with the subject decorator.
This decorator should bring the subject dropdown list that should be attached to the subject repeatable field block above right of it.
Dropdown list should look and feel like the subject field's subcomponent.
Dropdown list should contain actions list taken from mappingActions config object for repeatable control type in mappingDetails form data field.
This decorator should augment the subject component with mappingActionSelected event listener that should listen to dropdown's onSelect event to pick up the value selected in the dropdown and fill the subject component's mappingAction field with it.
Scenarios:
Scenario 1
Given the date picker component used for the field mapping profile details
When a user views it
Then the field should look and act like this:
A free text portion
With an Accepted values dropdown at the right, with 2 options:
Today
Choose date
User should be able to map a MARC field and/or choose or type an accepted value
If User selects "Today" from the dropdown list, put ###TODAY### in the free text field, and when job is run, apply today's date in YYYY-MM-DD format
If User selects "Choose date" from the dropdown list, display the date picker, and allow the user to select a specific date. Once that date is selected, enter it as "YYYY-MM-DD" in the text field, e.g. "2020-01-01"
User should be able to tab to both the Free text and Accepted values areas of the field
Scenario 2
Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
NOTE: Of all the field mapping decorators, this is the least important and least used
See attached screenshots