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

Data import settings page's 4th pane for Field Mapping Profiles: Header action for Delete

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM BatchLoader Sprint 21
    • Story Points:
      1
    • Development Team:
      Folijet

      Description

      Purpose: To define the actions of the Data import settings Field mapping profile 4th pane Header Actions. This story adds the Delete functionality. The Duplicate functionality is handled in UIDATIMP-228, and the basic Edit functionality is handled in UIDATIMP-230

      As a staff person
      I want to be able to delete individual Field mapping profiles via the options shown in the 4th pane header
      So that I can remove unneeded or obsolete Field mapping profiles.

      Scenarios

      1. Scenario 1
        • Given the Data Import Settings/Field mapping profile 4th pane, showing the details of an individual Field mapping profile
        • When a User clicks the down caret next to the name of the Field mapping profile in the header
        • They should see three options in the caret menu (see 83a-Settings Field Mapping profile detail caret options.png)
          • Edit, preceded by the pencil icon
          • Duplicate, preceded by the duplicate (2 boxes) icon
          • Delete, preceded by the trashcan icon (even though the mockup doesn't show the trash can)
      2. Scenario 2
        • Given the action caret in the header of the Data Import Settings/Field mapping profile 4th pane
        • When the user clicks the "Delete" option
        • Then a confirmation modal should appear, formatted as shown in 07-Settings Delete file extension modal.png
          • Except with the following text:
          • Header: Delete [Field mapping profile name] field mapping profile?
          • Body: Delete field mapping profile?
          • Standard Cancel/Delete buttons, with Delete defaulted
      3. Scenario 3
        • Given the delete confirmation modal
        • When a user clicks Cancel
        • Then close the delete confirmation modal without deleting the Field mapping profile
      4. Scenario 4
        • Given the delete confirmation modal
        • When a user clicks Delete Field mapping profile and the Field mapping profile is not connected to any Action profile
        • Then delete the Field mapping profile
        • And remove the Field mapping profile from the list of Field mapping profiles
        • And return the user to the list (3rd pane) of Field mapping profiles, without the one that was just deleted
        • And display a standard green success toast with the wording: The field mapping profile [field mapping profile name] was successfully deleted
      5. Scenario 5
        • Given the delete confirmation modal
        • When a user clicks Delete Field mapping profile and the Field mapping profile is connected to any Action profile (that is, you see any linked Action profiles at the bottom of the detail screen)
        • Then display an exception modal formatted as follows (similar to the attached Delete Not Allowed.png)
          • Header: Cannot delete Field mapping profile
          • Text: This field mapping profile cannot be deleted, as it is in use by one or more action profiles.
          • Button: Close
        • And return the user to the Field mapping profile detail view
      6. Scenario 6
      7. Scenario 7
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

      NOTES:

      • When the Field mapping profile is deleted (at least from the UI perspective), still keep track of it, so that it can still be seen in the logs and associated with previous jobs/files that it was used for. Maybe consider an inactive flag/soft delete instead of deletion. We just don't want them to show in the UI list of Field mapping profiles any more.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Oleksandr Yehorov Oleksandr Yehorov
                Reporter:
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases