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

Have a way to get back to the Choose Job Profile screen

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM BatchLoader Sprint 6, EPAM BatchLoader Sprint 7, EPAM BatchLoader Sprint 9, EPAM BatchLoader Sprint 10, EPAM BatchLoader Sprint 11
    • Story Points:
      8
    • Development Team:
      Folijet

      Description

      Purpose: To have a way to get back to the Choose Job Profile screen if the user navigates away from it before any jobs are previewed or run

      Document with updated scenarios: https://docs.google.com/document/d/1HunVHbmoH9mtmLmFS3XpzqogNpvuBOmXlnjvGd6yclM/edit. Some of these are represented by these scenarios.

      1. Scenario 1
        • Given the Choose Job Profile screen:
        • After all files are uploaded
        • But a User has not yet assigned an existing job profile to newly-uploaded files or has not yet completed the creation of a new job profile to assign to the newly-uploaded files
        • Then the User should be allowed to navigate away from the Choose Job Profile screen without losing the work done to date (any file uploads, any profile setting details), and return to it later from the Data Import Landing Page
        • And third pane of landing page changes and has "Draft job in progress" message [see attached]
      2. Scenario 2
        • Given the Choose Job Profile screen:
        • And files are in the process of being uploaded (there is an uploading definition in progress)
        • Then the third pane of landing page changes and has "Draft job in progress" message
        • And the Choose Job Profile page has the list of all files (uploaded, in progress, error, not loaded)
          Note: actual uploading progress will be visible only in the tab where file uploading was started and any other tabs will have just snapshot of the state.
      3. Scenario 3
        • Given the Choose Job Profile screen:
        • And all files have uploaded with errors (there is an uploading definition in progress - all files with errors)
        • Automatically delete this upload definition in background and allow user to start file uploading (render file upload drop zone)
        • This means the Landing page and Choose jobs screens return to their pre-upload state, with no files uploaded
      4. Scenario 4
        • Given the Draft job status in the 3rd pane of the Data Import landing page
        • When a User clicks the Resume button
        • Then the Data Import landing page should revert to its normal status
        • And the User should be returned to the Choose Job Profile screen with the files and job/profile work in whatever state it was when they left it previously
        • Note If multiple users have draft work, FOLIO must return the individual user to their own work and not get it mixed up with any other user's draft work
      5. Scenario 5
        • Given the Draft job status in the 3rd pane of the Data Import landing page
        • When a User clicks the Delete file(s) button
        • Then any uploaded (but not imported) files or draft job/profile work should be removed from the Choose Job Profile screen
        • And the Choose Job Profile screen returned to its normal state
        • And the Landing Page 3rd pane returned to its normal state
        • And the User left on the Landing Page screen
        • Note If multiple users have draft work, FOLIO must only remove the work for this particular user and not affect any draft work for any other user
      6. Scenario 6
        • Given landing page
        • Third pane shows the preloader UI until information about upload definition (info about job executions) is fetched. Per Sasha, no mockup is needed, since it is similar to the second pane.

      Note: story should allow for user to restart their work from a different browser or different machine. If multiple users have in-process work, FOLIO should keep their in-process work separated in the backend, so that the user returns to a Choose Job screen showing only their own work, not any other user's work.

      Automated testing covered by UIDATIMP-154

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases