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

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

  1. Scenario 1 Check Mark

    • 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

  2. Scenario 2 Check Mark

    • 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

  3. Scenario 3

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

Once this is completed - test user with only Delete logs permission on the View all page (see UIDATIMP-1144) Check Mark and change TestRail C353646 from draft to Extended Check Mark

Environment

None

Potential Workaround

None

Attachments

1
  • 29 Jun 2022, 01:38 PM

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux July 4, 2022 at 6:13 AM

Hi Looks good! Closing this issue. Thank you!

Maksym Rutkovskyi June 29, 2022 at 1:44 PM

Hi !

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

Assignee

Reporter

Priority

Story Points

Sprint

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

Flag notifications