/
1058: Delete a requistion

1058: Delete a requistion

Test Case #:1058


Test Case Name: Delete a requistion

System: openLMIS

Subsystem: blue

Test case designed by: Lucyna Laska

Design Date:31.10.2016

Short description

A user with authorization can view a delete button on the requisition page and delete that requisition. After deletion they are redirected to the 'initialize requisition' page.

Acceptance Criteria

  • A user without authorization to delete a requisition is prohibited and gets an appropriate error message
  • Delete button displayed on requisition screen
  • Clicking the delete button launches a confirm action modal window
  • After clicking confirming modal window, then user is redirected to initialize requisition page
  • The requisition is deleted from OpenLMIS after confirming modal window

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

Step

Action

Expected system response

Comment

1

                            View the list of requisitions.                         

                                                                                                                            

                                                 

2


Open the first requisition on the list and verify if delete button displayed on requisition screen 

 

 

3

After Clicking the delete button, confirm action modal window should be visible. 

 

4After confirming modal window, the proper message: "R&R deleted successfully" is displayed.

5

Then user is redirected to initialize requisition page  

 

6

The requisition is deleted -> is no longer available on requisitions list.

 

 

7

 It's not possible to delete another requisition (with different status than INITIATED). After opening the details of requisition from Approved requisitions list, the DELETE button is not displayed. 

 

8

  

 

Post – conditions:

Related content

219: Deleting a requisition/R&R
219: Deleting a requisition/R&R
More like this
1146: Fix broken requisition deletion
1146: Fix broken requisition deletion
More like this
1346: Confirmation wrapper and styles
1346: Confirmation wrapper and styles
More like this
1126: Submit a requisition
1126: Submit a requisition
More like this
1005: Authorize a requisition
1005: Authorize a requisition
More like this
1213: Reject requisition endpoint should only work on authorized requsitions
1213: Reject requisition endpoint should only work on authorized requsitions
More like this

OpenLMIS: the global initiative for powerful LMIS software