1550: UI: View the POD


Test Case #:1550

Test Case Name:UI: View the POD

System: OpenLMIS

Subsystem: blue

Test case designed by: Paulina Borowa

Design Date:26.01.2017

Short description

  • User can view an order at a unique url (ie `/order/some-uuid`)
  • There is an order header that includes the following elements (listed in the following order)
    • Regular or emergency order
    • Order number
    • Facility
    • Order date
    • Reporting Period
    • Supplying Depot
    • District
    • Region
  • Order screen includes product grid, which is similar to grid shown on requisition screen — grid has the following columns
    • Product name
    • Product unit
    • Packs to ship
    • Quantity shipped
    • Quantity received (editable positive integer - required)
    • Quantity returned (editable positive integer - not required)
    • Replace product code
    • Notes (editable text - not required)
  • There is a short form to indicate when the shipment was received and when it was received
    • Delivered by (text - required)
    • Recieved by (text - required)
    • Received in (date - required)
  • Form actions include:
    • Sync - sends form to openlmis server endpoint
    • Submit - sends form to server endpoint after saving any changes

                                                                                                                                                   

Pre – conditions:

http://test.openlmis.org/#!/pod/{id}                                                                                                                                                                                                                                               

 

 

Step

Action

Expected system response

Comment

1

Check POD from demo-data if there is an order header that includes all requested elements:

  • Regular or emergency order
  • Order number
  • Facility
  • Order date
  • Reporting Period
  • Supplying Depot
  • District
  • Region
    POD from demo-data id: b204aa9e-5c95-4962-b418-571dbdf7796e

                                                                                                                            

                                                 

2

Check if: Order screen includes product grid, which is similar to grid shown on requisition screen — grid has the following columns:
  • Product name
  • Product unit
  • Packs to ship
  • Quantity shipped
  • Quantity received (editable positive integer - required)
  • Quantity returned (editable positive integer - not required)
  • Replace product code
  • Notes (editable text - not required)
 

 Quantity received (editable positive integer - required)


 

3

Check if: There is a short form to indicate when the shipment was received and when it was received
  • Delivered by (text - required)
  • Recieved by (text - required)
  • Received in (date - required)

 

 

4

Check if Form actions include:
  • Sync - sends form to openlmis server endpoint
  • Submit  button

 

 

5

   Create new POD (by converting requisition to an order ) id fd575c05-c469-4bb4-b5d3-4e8937a8c1ff/  

6

  

 

OpenLMIS: the global initiative for powerful LMIS software