Set status for upload definition as non draft once the file processing has started
RCA Group
None
Description
Environment
None
Potential Workaround
None
defines
Checklist
hideTestRail: Results
Activity
Show:
Done
Details
Details
Assignee
Ruslan Lavrov
Ruslan LavrovReporter
Viktor Soroka
Viktor SorokaPriority
Story Points
3
Sprint
None
Development Team
Folijet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created April 1, 2019 at 12:58 PM
Updated January 12, 2021 at 6:58 PM
Resolved April 12, 2019 at 10:32 AM
TestRail: Cases
TestRail: Runs
Currently, the uploadDefinition for which file processing has already in progress is marked as draft (uiStatus field) which makes it possible for it to be displayed on UI on the landing page, which may cause an edge case if the user decides to delete it and start over new uploading process. In this case, the server will return an error for delete attempt since the file processing has already started.
Things to change:
Change the status of uploadDefinition from draft status to the next when the file processing has started
Update API test to check uiStatus after jobExecution start