Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
customfield_11100 33090
-
EPAM BatchLoader Sprint 40, EPAM BatchLoader Sprint 41
-
5
-
Folijet
Description
Purpose: To ensure that field mapping syntax is validated when entered into the field mapping profile details, by creating form client validation rules and procedures (applies to UIDATIMP-15, UIDATIMP-290, and UIDATIMP-292, so far)
As a staff person
I want to know that the MARC field mapping details I enter are formatted correctly
So that the import errors are minimized
Scenarios
- Scenario 1
- Given the field mapping profile details section when the incoming record type = MARC of any kind
- When a User enters MARC fields/subfields or default values in the mapping fields of the profile
- And presses Save
- Then validate that the syntax has been entered correctly
- Scenario 2
good that it checks capitalization too
- Given the field mapping profile details section when the incoming record type = MARC of any kind
- When a User enters default values in the mapping fields of the profile
- And the field has a dropdown list of reference values associated with it
- And presses Save
- Then validate that the entered default value is one of the values from the dropdown list, enclosed in quotation marks
- Scenario 3
- Given the field mapping profile details
- When the user presses Save, and the MARC field mapping syntax and defaults are valid
- Then allow the field mapping profile to be saved
- Scenario 4
- Given the field mapping profile details
- When the user presses Save, and the MARC field mapping syntax and defaults are not valid
- Then do not allow the field mapping profile to be saved
- And display all errored fields in the red error state with this error message below the field: Please correct the syntax to continue
- And position the cursor at the top-most field that has a validation error
- Scenario 4
- Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
See attached wireframe
Review with OleksiiKuzminov if questions about any syntax scenario details
Syntax available on Syntax tab of https://docs.google.com/spreadsheets/d/17kCccovBR-RAVK-coW7fpXvJfaRmYA2mUHoVLSF9Spo/edit#gid=141717922
Other syntax notes:
TestRail: Results
Attachments
Issue Links
- blocks
-
UIDATIMP-406 Cover Mapping Profile Form with tests (no field decorators).
-
- Closed
-
- defines
-
UIDATIMP-361 Syntax for field mapping details
-
- Closed
-
-
UXPROD-2286 MARC Field Mapping Profiles Details for Updating SRS MARC Bib records
-
- Closed
-
- has to be done after
-
UIDATIMP-292 Data Import Field Mapping Profile details: Inventory item from MARC Bib
-
- Closed
-
- is blocked by
-
UIDATIMP-292 Data Import Field Mapping Profile details: Inventory item from MARC Bib
-
- Closed
-
- relates to
-
UIDATIMP-15 Data Import Field Mapping Profile details: Inventory instance from MARC
-
- Closed
-
-
UIDATIMP-290 Data Import Field Mapping Profile details: Inventory holdings from MARC Bib
-
- Closed
-
-
UIDATIMP-292 Data Import Field Mapping Profile details: Inventory item from MARC Bib
-
- Closed
-
-
UIDATIMP-746 Validation for default data typed into a field mapping profile is not working
-
- Closed
-