Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
EPAM BatchLoader Sprint 6, EPAM BatchLoader Sprint 7, EPAM BatchLoader Sprint 9, EPAM BatchLoader Sprint 10, EPAM BatchLoader Sprint 11
-
8
-
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.
- 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]
- 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.
- 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
- 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
- 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
- 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
- blocks
-
UIDATIMP-110 Landing page not reset when all uploaded files deleted
-
- Closed
-
-
UIDATIMP-154 Cover "Have a way to get back to the Choose Job Profile screen" functionality with tests
-
- Closed
-
- defines
-
UXPROD-1656 Data Import (Batch Importer for Bib Acq) Q1 2019 Technical and NFR work
-
- Closed
-
- is blocked by
-
MODDATAIMP-50 Add DELETE endpoint fo Upload Definition entity
-
- Closed
-
-
MODDATAIMP-72 Add new statuses for UploadDefinition and FileDefinition
-
- Closed
-
- relates to
-
RMB-335 Signal stream closed (prematurely)
-
- Closed
-
-
UIDATIMP-39 Create UI for File Upload, Part 5: Action when file upload begins
-
- Closed
-
-
UIDATIMP-68 SPIKE: Have a way to get back to the Choose Job Profile screen
-
- Closed
-
-
UIDATIMP-108 Slow resolve to the uploaded files card when uploading a large file
-
- Closed
-
-
UIDATIMP-154 Cover "Have a way to get back to the Choose Job Profile screen" functionality with tests
-
- Closed
-
-
UIDATIMP-67 Creating UI for File Upload. User navigation when file upload is in progress
-
- Closed
-