1075: Show approval columns on product grid

Test Case #:1075

Test Case Name:Show approval columns on product grid

System: OpenLMIS

Subsystem: blue

Test case designed by: Paulina Borowa

Design Date: 31.10.2016

Short description

When a requisition is 'Authorized' or 'Approved' two columns should be added to the requisition product grid.

  • Approved quantity
    A numeric input
  • Remarks
    A text input

If the user has permission to approve a requisition, they will be able to add values to these fields. If the user doesn't have permission to approve the requisition or the requisition has already been approved (status == 'APPROVED') then the field are not editable.

Acceptance Criteria

  • A requistion that has not been authorized doesn't have 'approved quantity' or 'remarks' fields.
  • The fields are visible, but can't be edited if the requisition status of 'APPROVED'
  • The fields are editable if the requisition's state is authorized

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

Step

Action

Expected system response

Comment

1

Log in with proper credentials   


                                                         
                                                                                                                                                                             

2

  Go on host/public/#/requisition/requsitionID 

 

3

Chec if:

  • A requistion that has not been authorized doesn't have 'approved quantity' or 'remarks' fields.

Requisition with INITIATED status: 

OLMIS1075e.png

Requisition with SUBMITED status:

OLMIS1075f.png


 

4

 Check if:

  • The fields are visible, but can't be edited if the requisition status of 'APPROVED'

 

jLMIS.png
 

5

 Check if:

  • The fields are editable if the requisition's state is authorized

 OLMIS1075g.png

OLMIS1075h.png

 

7

  

 

8

                                                 

 

OpenLMIS: the global initiative for powerful LMIS software