1126: Submit a requisition

Test Case #:1126

Test Case Name: Submit a requisition

System: OpenLMIS

Subsystem: blue

Test case designed by: Paulina Borowa

Design Date:31.10.2016

Short description

Add submit button to action bar

  • Permissions of who can see this button or when it is visible (only in certain states of the requisition?): _____
  • Error handling / displaying error messages: _______
  • After you click it, what do you see next or where do you go if it works: _____

Acceptance Criteria

  • The submit button is only shown when the requisition is in INITIATED status
  • Clicking submit opens the confirmation modal
  • Clicking submit saves any changes done to the requisition, validates them and finally changes its status to SUBMITTED
  • A success modal is shown after the action is confirmed and the submission is successful
  • The requisition won't be submitted if the validation fails
  • When you go back to the Create / Authorize page, the submitted requisition should show up in the list with the status of SUBMITTED

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

Step

Action

Expected system response

Comment

1

Log in with proper credentials    


                                                                                                                                                                       

                                                 

2

The submit button is only shown when the requisition is in INITIATED status 

OLMIS1126g.png

Clicking submit opens the confirmation modal:
OLMIS1126c.png
The requisition won't be submitted if the validation fails:
OLMIS1126e.png
When you go back to the Create / Authorize page, the submitted requisition should show up in the list with the status of SUBMITTED:
OLMIS1126d.png



3

Clicking submit saves any changes done to the requisition, validates them and finally changes its status to SUBMITTED

OLMIS1126i.png 


4

  A success modal is shown after the action is confirmed and the submission is successful

OLMIS1126h.png



OpenLMIS: the global initiative for powerful LMIS software