1230: Fix product code handling in the UI
Test Case #:1230
| Test Case Name: Fix product code handling in the UI |
System: openLMIS | Subsystem: blue |
Test case designed by: Lucyna Kwidzińska | Design Date:28.10.2016 |
Short description: Currently this column is hardcoded on the UI. It should be handled by the requisition template. The source type of reference data should indicate this. Acceptance criteria:
|
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 | Configure in template that the column 'productCode' should be displayed. Change in .sql file the "isDisplayed" attribute.
{ "requisitionTemplate": "5a268780-fafd-4243-9551-5c7daa824913", "key": "productCode", "name": "orderableProduct.productCode", "label": "Product Code", "indicator": "O", "displayOrder": 1, "isDisplayed": true, "source": 2, "requisitionColumnId": "bde01507-3837-47b7-ae08-cec92c0c3cd2" }, | The column "product Code" is displayed.
|
|
2 | Configure in template that the column 'productCode' should be hidden. Change in .sql file the "isDisplayed" attribute.
{ "requisitionTemplate": "5a268780-fafd-4243-9551-5c7daa824913", "key": "productCode", "name": "orderableProduct.productCode", "label": "Product Code", "indicator": "O", "displayOrder": 1, "isDisplayed": false, "source": 2, "requisitionColumnId": "bde01507-3837-47b7-ae08-cec92c0c3cd2" }, | The column "product Code" is not displayed. |
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
Post – conditions: |