Add action options to choose jobs screen

CSP Rejection Details

None

CSP Request Details

None

CSP Approved

None

Description

Purpose: To be able to assign job profiles to newly-uploaded files

As a staff person
I want to be able to select the job profile to use for newly-uploaded files and choose whether to Run the job or Edit the job profile
So that I can begin the import process

See attached wireframe Run-mockup.png

Scenarios

  1. Scenario 1

    • Given the 3rd pane (job profile details) of the Data Import "choose jobs" screen

    • When a user clicks the down caret next to the name of the Job profile

    • Then display 2 options:

      • Run

      • Edit job profile

      • (NOTE: Preview will be added later in UIDATIMP-268)

  2. Scenario 2

    • Given the Run option in the Job profile caret

    • When a user selects the Run option

    • Then display a modal similar to the attached Save changes modal.png

      • Header: Are you sure you want to run this job?

      • Text: You have selected the [job profile name] job profile to Run the uploaded files

      • Buttons:

        • on left: Cancel [default]

        • on right: Run

  3. Scenario 3

    • Given the Run modal

    • When the user selects Cancel

    • Then return them to the "choose jobs" page and allow them to assign a different job or select a different option

  4. Scenario 4

    • Given the Run modal

    • When the user selects Run

    • Then begin the import in Run mode

  5. Scenario 5

    • Given the 3rd pane (job profile details) of the Data Import "choose jobs" screen

    • When a user views the job profile details

    • Then include a default button at the top right for Run

  6. Scenario 6

    • Given the Run button in the 3rd pane (job profile details) of the Data Import "choose jobs" screen

    • When a user clicks that button

    • Then have it behave the same way as the Run option in the caret next to the job profile name

  7. Scenario 7

    • Given the "Edit job profile" option in the Job profile caret

    • When a user selects the "Edit job profile" option

    • Then take them to the Edit screen of that specific job profile in Settings/Data import

    • And once they have edited/saved/duplicated the job profile, return them to the "choose jobs" screen with the uploaded file(s) and same job profile queued up, so that they can Run the revised job profile

  8. Scenario 8

    • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

Note: we will eventually have different permissions for users who can Preview files versus users who can Run files. Please ensure this will be possible with the design.

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux November 18, 2019 at 6:51 AM

Hi Tested on folio-snapshot-load, and working as expected now. Closing this story. Thank you!

Mariia Aloshyna November 12, 2019 at 9:25 AM

Hi I have checked it on folio-snapshot-load and there is no error, so maybe some work is being done on folio-testing.

Ann-Marie Breaux November 12, 2019 at 12:43 AM

Hi Started to test this on folio-testing, but getting communication server error messages. Will wait a day or two and re-test.

Mariia Aloshyna November 6, 2019 at 3:24 PM

Hi coverage of the new code - 91,3%. Attached the screenshot to confirm.

Oleksii Kuzminov October 30, 2019 at 9:51 AM

I think we can make a "run button". It will start processing with selected profile, but for now, it will use default mapping and our create mechanism. In the future, we will change it to us real actions but API and endpoint will be the same.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 4, 2019 at 8:05 AM
Updated June 16, 2020 at 8:24 AM
Resolved November 18, 2019 at 6:51 AM
TestRail: Cases
TestRail: Runs