Deleted predicted piece set

Description

Purpose:

If a user creates a predicted piece set, but realises that they have made an error of some kind before they have used that predicted piece set to generate any receiving pieces, it should be possible for them to delete the predicted piece set

User story statement(s):

As a Serials librarian
I want to delete a predicted piece set
so that I can avoid the system having erroneous predicted piece sets

Scenarios:

  1.  

    Given a predicted piece set that has not been used to generate any receiving pieces AND a user with the ui-serials-management.predictedpieces.edit permission
    When I view the predicted piece set
    Then there is an Actions menu with a “Delete predicted piece set” option active

  2.  

    Given a predicted piece set that HAS been used to generate receiving pieces AND a user with the ui-serials-management.predictedpieces.edit permission
    When I view the predicted piece set
    Then there is an Actions menu with an inactive “Delete predicted piece set” option


  3. Given a predicted piece set and a user withOUT the ui-serials-management.predictedpieces.edit permission
    When I view the predicted piece set
    Then there is an Actions menu with no “Delete predicted piece set” option displaying

  4.  

    Given the predicted piece set with an active Delete option
    When I choose delete
    Then a confirmation dialogue is displayed asking me to confirm the delete (or cancel)

  5.  

    Given the predicted piece set delete confirmation dialogue
    When I confirm
    Then the predicted piece set is deleted

  6.  

    Given the predicted piece set delete confirmation dialogue
    When I cancel the delete
    Then the predicted piece set is not deleted and I am returned to the predicted piece set view

Environment

None

Potential Workaround

None

CSP Approved

None

CSP Request Details

None

CSP Rejection Details

None

Checklist

hide

Activity

Show:

Jag Goraya September 30, 2024 at 10:31 AM

Sep 30, 2024

Incorporates frontend and backend deletion protection.

Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Bienenvolk

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 21, 2024 at 9:49 AM
Updated November 8, 2024 at 3:34 PM
Resolved November 8, 2024 at 3:34 PM
TestRail: Cases
TestRail: Runs

Flag notifications