Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-920

Field Mapping profiles: For Holdings and Items, add validation for the "Staff only" field

    XMLWordPrintable

Details

    • Folijet Sprint 115
    • 1
    • Folijet

    Description

      Purpose: Inventory Holdings and Item records have notes fields which include a checkbox for staff only or not. If a field mapping profile is created, and no value is selected for the "staff only" checkbox, then the import will error. This story adds validation to that portion of the notes field in the field mapping profiles UI, to reduce the chance of making errors when creating or updating a field mapping profile.

      As a staff person working with Data Import field mapping profiles
      I want the staff only checkbox to be required for the Holdings and Item notes fields
      So that I do not accidentally create faulty field mapping profiles

      Scenarios

      1. Scenario 1
        • Given the Create/Edit screen for the field mappings profile for Holdings
        • When a user adds a Holdings Note repeatable field
        • And does not select a value for the "Staff only" checkbox
        • Then display a message underneath it the Staff only field: "Please select an item in the list"
        • And disallow Save until the field has been filled in or deleted
      2. Scenario 2
        • Given the Create/Edit screen for the field mappings profile for Items
        • When a user adds a Item Note repeatable field
        • And does not select a value for the "Staff only" checkbox
        • Then display a message underneath it the Staff only field: "Please select an item in the list"
        • And disallow Save until the field has been filled in or deleted
      3. Scenario 3
        • Given the Create/Edit screen for the field mappings profile for Items
        • When a user adds a Check in / Check out Note repeatable field
        • And does not select a value for the "Staff only" checkbox
        • Then display a message underneath it the Staff only field: "Please select an item in the list"
        • And disallow Save until the field has been filled in or deleted
      4. Scenario 4
        • Ensure this story passes Accessibility testing
      5. Scenario 5
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

      See attached screenshots

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Mariia_Aloshyna Mariia Aloshyna
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases