Use API for deleting data import logs on Data Import view all page
CSP Rejection Details
None
CSP Request Details
None
CSP Approved
None
Description
Environment
None
Potential Workaround
None
Attachments
1
- 29 Jun 2022, 01:38 PM
defines
relates to
requires
Checklist
hideTestRail: Results
Activity
Show:
Ann-Marie Breaux July 4, 2022 at 6:13 AM
Hi @Maksym Rutkovskyi Looks good! Closing this issue. Thank you!
Maksym Rutkovskyi June 29, 2022 at 1:44 PM
Hi @Ann-Marie Breaux!
Work as expected on FOLIO
Google Chrome Version 101.0.4951.67 (Official Build) (64-bit)
Deleting logs on the View all page works according to the scenario. And changed TestRail C35646 from draft to extended group.
See the attached:
Done
Details
Details
Assignee
Mariia Aloshyna
Mariia AloshynaReporter
Mariia Aloshyna
Mariia AloshynaLabels
Priority
Story Points
3
Sprint
None
Development Team
Folijet
Fix versions
Release
Morning Glory (R2 2022)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created April 4, 2022 at 3:01 PM
Updated July 11, 2022 at 1:55 PM
Resolved July 4, 2022 at 6:13 AM
TestRail: Cases
TestRail: Runs
Purpose: Use API for deleting data import logs once the endpoint is ready on the Data Import View all, so that users can delete one or more logs.
As a staff person dealing with imported records
I want to be able to select specific imports
So that I can delete them, individually or en masse
Scenarios
Scenario 1
Given the Data Import log deletion confirmation modal
And the user presses No, do not delete
Then close the modal
And unclick any log rows that were previously selected
And change the page subheader back to "[x] logs found"
And disable the Actions/Delete menu option
Scenario 2
Given the Data Import log deletion confirmation modal
And the user presses Yes, delete
Then close the modal
And delete all of the logs that were checked (and make sure they are deleted on the Landing page)
And refresh the Data Import View all page to show the most recent 100 undeleted logs (checkboxes UNmarked)
And change the page subheader back to "[x] logs found"
And show green confirmation toast: [number of logs] data import logs have been successfully deleted.
And disable the Actions/Delete menu option
Scenario 3
Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
@Ann-Marie Breaux Once this is completed - test user with only Delete logs permission on the View all page (see UIDATIMP-1144)
and change TestRail C353646 from draft to Extended 