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

Attach one or more action profiles to a field mapping profile

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 30, EPAM BatchLoader Sprint 31, EPAM BatchLoader Sprint 32, EPAM BatchLoader Sprint 33
    • 5
    • Folijet

    Description

      Purpose: To be able to assign action profiles to field mapping profiles

      As a staff person
      I want to be able to select one or more action profiles to associate with a new or existing field mapping profile
      So that I can create a that appropriate relationship between Actions and Field Mapping

      Notes:

      • Separate stories for connecting field mapping profiles to action profiles (UIDATIMP-269) and for creating the profile picker component (UIDATIMP-272)
      • See slides 2-6 in the attached PowerPoint for wireframes
      • Estimate is based on using the existing component for integration

      Scenarios

      1. Scenario 1
        • Given the Create/Edit views of the Field mapping profile in Settings/Data Import/Field mapping profiles
        • When Viewing the Associated action profiles section
        • Then display a button as shown in the attached PowerPoint, slide 3
        • Button text should read: Link profile
      2. Scenario 2
        • Given the Link profile button
        • When a user clicks it
        • Then display a component search window as created in UIDATIMP-272 and displayed in PowerPoint, slide 4
          • Profiles, showing only the Action profiles
          • In this circumstance, the user should be able to select one or more action profile to attach to the field mapping profile
      3. Scenario 3
        • Given the profile component search
        • When a user selects an action profile
        • And the action profile is not already associated with a field mapping profile
        • Then attach the action profile to the field mapping profile, as shown in the PowerPoint, slides 5-6
        • And then return the user to an edited version of the field mapping profile
        • Showing the linked Action profile (using the search results format)
        • With an "unlink" icon at the right end of the row. NOTE: Unlink icon can be found here: https://ux.folio.org/storybook/?selectedKind=Icon
        • And continue to display the "Link profile" button at the bottom of the associated action profiles (since a field mapping profile can be linked to more than one action profile)
        • With the same Save/Cancel options as normal
          • If Save is selected, save the Field mapping profile (and relink any action profiles that were designated in scenario 4 and 6)
          • If Cancel is selected, disconnect the Action profile and return the Field mapping profile to its previous state
      4. Scenario 4
        • Wording problems with the relink modal, which I'll write up in a separate bug UIDATIMP-382
        • Given the profile component search
        • When a user selects an action profile
        • And the action profile is already linked to a different field mapping profile
        • Then display a standard confirmation modal formatted as follows
          • Header: Relink action profile?
          • Body:
            • This action profile is already linked to [name of currently linked field mapping profile] field mapping profile. Do you want to unlink from the previous field mapping profile and relink to this [name of new field mapping profile] field mapping profile?
            • NOTE that the action profile will not be relinked until you save the Field mapping profile.
          • Buttons:
            • On the left: Cancel (make this the default)
            • On the right: Relink
      5. Scenario 5
        • Given the relink confirmation modal
        • When a user presses "Cancel"
        • Then close the relink confirmation modal
        • And do not link the action profile to the field mapping profile
        • And return the user to the profile component search
      6. Scenario 6
        • Given the relink confirmation modal
        • When a user presses "Relink"
        • Then close the relink confirmation modal
        • And prepare to disconnect the action profile from its previous field mapping profile and relink to the current field mapping profile
        • And then return the user to an edited version of the current field mapping profile, as described in Scenario 4
      7. Scenario 7
        • Once an action profile is attached to a field mapping profile, given the "Unlink" icon
        • When a user clicks it
        • Then display a standard confirmation modal formatted as follows
          • Header: Are you sure?
          • Body: Confirm that this action profile will be unlinked from this field mapping profile See bug UIDATIMP-378
          • Buttons:
            • On the left: Cancel (make this the default) [if selected, close the modal without unlinking the action profile] Cancel button should be the blue/default one, but still on the left
            • On the right: Unlink [if selected, unlink the action profile, close the modal, and redisplay the "Link profile" button on the field mapping profile] Unlink button should be the non-default, white button, but still on the right
          • Once an action profile has been unlinked, the "Save" button for the field mapping profile should be enabled, so that the changes can be saved.
          • Unlink is not being saved properly - see bug UIDATIMP-381
      8. Scenario 8
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                taras_tkachenko Taras Tkachenko
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases