Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-411

Back end work. Instance. Mark for delete

    XMLWordPrintable

    Details

    • Template:
    • Story Points:
      3
    • Development Team:
      Prokopovych

      Description

      Purpose: Mark for deletion means that a cataloger, who do not hold the permission to do a deletion, is able to just do 'Mark instance for delete' of any given record by set of a boolean check mark in the record. Mark instance for delete can happen from the Action menu, and from the edit view of the instance. And then her cataloger colleague with super power and with permission to perform deletion, will go in and filter on all instances being marked for deletion, and then delete them one-by-one (and later in bulk mode).

      Use case: As a cataloger I want to be able to mark any given instance record for deletion.

      Scenarios:

      1. Scenario
        • Go to FOLIO snapshot stable, go to Inventory
        • Given any instance record
        • When displayed in detailed view in 3rd pane
        • Then the action menu holds following action items:
          • Edit
          • Duplicate
          • (more see the UX below, which shows an instance with source = MARC)
          • Mark for delete New

            Later the action Delete, will be added as the last action item in this list - UIIN-332
      2. Scenario
      3. Scenario
        • The action menu displays Mark instance for delete with a leading 'flag' icon.
      4. Scenario
        • Given a "Mark instance for delete" option in the actions drop-down
        • When clicked
        • Then a "Confirm mark for deletion" modal should appear as shown in wireframe
          (insert wireframe - when available)
      5. Scenario
        • Given the "Confirm mark for deletion" modal
        • When displayed
        • If no holdings and items records are associated with the instance record then, then cataloger gets following message, e.g.
        • "Instance record HRID in00000000006 has no holdings or item records associated or other dependencies and will be deleted."
        • And then the cataloger can decide to 'Cancel' or 'Confirm'
      6. Scenario
        • Given a 'Cancel' button
        • Then the action is terminated
        • The cataloger gets back to the detailed view of the given instance record in 3rd pane
      7. Scenario
        • Given a 'Confirm" button on the "Confirm mark for deletion" modal
        • When clicked
        • Then the Mark for delete action is performed
        • The instance record is being marked for deletion
      8. Scenario
        • Given the "Confirm mark for deletion" modal
        • When displayed and there are one or more holdings records associated with the instance record, then the cataloger gets following message, e.g.
        • "Instance record HRID in00000000006 has 5 holdings records associated. To be able to continue mark for deletion of this instance record, all associated holdings records must be marked for deletion or deleted."
        • And the cataloger can not perform the mark for delete action, before the associated holdings records are deleted or marked for deletion.
        • at the bottom of the modal, is a button 'Cancel'
      9. Scenario
        • Given a "Cancel" button on the "Confirm mark for delete" modal
        • When clicked
        • Then the "Confirm mark for delete" modal will close and the mark for deletion will be cancelled
        • And the cataloger gets back to detailed view of the instance record

      Documents:

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                charlotte Charlotte Whitt
                Tester Assignee:
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases