Review of Requisition Regression Testing

This page was created because of  OLMIS-5464 - Getting issue details... STATUS

What CCE manual tests cover:


Test CaseWhat it checks?Should be tested manually?Should be tested with Functional Test?Additional notes
1OLMIS-2271: Printing requisitionsWhether requisition is printed with a right content after various changes of quantity fields during whole requisition workflow.Yes (reports)No
2OLMIS-4826: Stock based requisitions: Creating a requisition using available stock cardsWhether user whose home facility has no stock cards cannot see any products until the products are added in Physical Inventory. Checks adding products, adding comments, deleting requisition, submitting requisition with all the fields skipped.Yes (reports)No

This TC checks Stock Based Requisition reports


3OLMIS-3383: Emergency requisition end-to-end testChecks initiating emergency requisition, adding products, whether its fields are editable or not, whether correct error information is displayed.NoYes
4OLMIS-3031: Date physical stock count completedWhether entering data for Date Physical Stock Count Completed is valid (can be only past or today's date) and visible for other users after saving it.NoYesMerge with OLMIS-3084
5OLMIS-1900: Converting requisitions to ordersWhether it is possible to convert requisition to order without supplying depot selected, whether converting one requisition to order is possible, whether converting multiple requisitions to orders is possible.NoYes

Checks View Orders screen from Fulfillment service.

In ACC add info about View Orders.

6OLMIS-2230: Offline workflowWhether creating requisition offline is possible and there is a proper information in the "offline" column, whether Print button is clickable/disabled.NoYes
7OLMIS-2843: Supervised facility selectionWhether adding/removing a supervision role to a user works.NoYes

Merge with OLMIS-2824

At first, supervised facility selection could be tested and then after changing roles back, test creating regular requisitions.

8OLMIS-3411: Deleting skipped requisitionsWhether a user with correct permissions can skip an entire period's requisition, delete this requisition and initiate it again.NoYes
9OLMIS-3558: Resizing input boxes in the product grid and tabbing to other fieldsWhether size of inputs can increase/decrease.
??Could be replaced by automated test but do we need it?
10OLMIS-4045: Configuring a vaccine stock-based requisitionWhether changing configuration settings in Requisition Templates  makes columns displayed/hidden. Checks UI info.YesNo
11OLMIS-4169: Emergency requisitions: Available productsWhether requisition line items are not populated and approved products are added to the list of available products.NoNo

It executes some steps in order to check one array in API response.

CT

12OLMIS-4226: Skipping productsWhether skipping is possible for a requisition with populated fields.NoNoThis TC is redundant as OLMIS-1866 checks the possibility of skipping products.
13OLMIS-1866: The requisition workflow from initiation to the second approvalWhether workflow works correctly, skipping authorized line items is not possible. Checks pagination.No (pagination will be tested in separate TC)YesThis TC can reuse other automated tests for initiating, submitting, authorizing (by second user), approving (by third and fourth user).
14OLMIS-2040: Creating a PoD from an orderWhether a PoD is created after creating an order and it is possible to confirm a PoD.NoNo

It's more of Fulfillment actually.

CT

15OLMIS-2824: Creating requisitionsChecks initiating, submitting requisition by storeroom manager, his permissions; creating report-only requisitions; whether warehouse clerk can create a requisition.Yes (email)Yes

Merge with OLMIS-2993

16OLMIS-2870: Approving and rejecting a requisition
Yes (report)YesMerge with OLMIS-2974
17OLMIS-2899: Deleting requisitionsWhether it is possible to delete a previously submitted requisition.NoYes
18OLMIS-2974: Approving and rejecting requisitions with In_Approval statusWhether the requisition's status got changed after rejecting it.NoYes

Merge with OLMIS-2870.

19OLMIS-3084: Edit Program: The Date physical stock count completed fieldWhether enabling Date Physical Stock Count Completed makes users enter the valid date while submitting, authorizing, approving a requisition.NoYesMerge with OLMIS-3031
20OLMIS-3089: Adding commentsWhether comments are visible after being added to a requisition.NoYes
21OLMIS-4183: Stock-based requisitions: Calc Order Qty ISA + Requested Quantity enteredWhether Order Qty ISA is equal to "Ideal Stock Amount" - "Stock on Hand" and "Approved quantity" is equal to "Requested Quantity"NoYes

Can reuse initiating, authorizing and approving a requisition.

Merge with OLMIS-4185

22OLMIS-3561: Batch Approval and RevertWhether it is possible to approve more than one requisition for the same program or to revert them.NoNoDead
23OLMIS-2376:  Calculations of Beginning balance and Stock on Hand
NoNo

CT

24OLMIS-4135: Viewing and editing multiple requisition templates per program
NoYes
25OLMIS-4138: Stock on Hand from Stock Management in stock-based requisitionsWhether a vaccine stock-based requisition contains the correct stock on hand and the last physical inventory update was within the same processing periodNoYes
26OLMIS-4185: Stock-based requisitions: Calc Order Qty ISA + empty Requested quantity columnWhether Order Qty ISA is equal to "Ideal Stock Amount" - "Stock on Hand" and "Approved quantity" is equal to "Calc Order Qty ISA" by defaultNoYes

Merge with OLMIS-4183

The difference between these two test cases is that we leave an empty field for Requested Quantity here. 

27OLMIS-4727: Stock based requisitions: Beginning balance from Stock on HandWhether value in Beginning Balance is equal to "Current Stock"NoYes
28OLMIS-4696: Requisition Templates: Adding a new requisition template for a program
NoYes
29OLMIS-3340: Calculations in the product gridWhether calculations based on user input are correct.NoYes
30OLMIS-2550: The Non full supply product(s) tab

Whether it is possible to add products. 

It also checks sticky columns behaviour, whether they stick to the left and the table is resizeable.

No

Yes


Do we want to test columns' position and table's width?

sticky columns??

31OLMIS-2313: Auto-savingChecks whether small components like comments are auto-saved.NoYes (low priority)??
32OLMIS-2186: The requisition header rowWhether header is sticky to the top of the page.NoYes

merge with initiate requisition TC

33OLMIS-4022: Snapshotting ISAs for products when initiating a requisitionWhether values in "Response" tab are the same as in the "IdealStockAmount" column.NoNo

This TC requires comparing values from columns with values in "response" tab.

Dead or CT

CT if ISA has correct data??

34OLMIS-3836: Skipping the authorization stepWhether turning on the "Skip authorization step" in program settings makes it skip the requisition's authorization.NoYesThe second part of this TC requires the same steps as traditional initiating, submitting, authorizing, approving and converting to order.
35OLMIS-4184: Calc Order Qty ISA column

Whether selection of some options influences on displaying errors.

Checks specific UI details.

YesNo
36OLMIS-2826: Authorizing requisitionsWhether already submitted requisition with a comment is displayed properly to a user with authorization role. NoNo

Dead


37OLMIS-2993: Displaying stock adjustment reasonsWhether the drop-down list with available stock adjustment reasons in View Requisition screen contains data in correct order.NoYes

It could be added to any test with initiating requisition.

Merge with OLMIS-2824?

38OLMIS-2294: Total consumed quantity and Stock on hand validationsWhether there are error messages displayed when fields requiring user input have wrong values (negative).NoYes
39OLMIS-4159: Read-only requisition scenariosWhether requisitions with "Approved" and "Released" statues are not editable and appropriate fields are not visible for a user.NoYes
40OLMIS-3569: Constraints for status changes and adjustment reasonsWhether "response" tab returns correct data; whether it is possible to use previously-used adjustment reason.NoYes

Merge the part for checking adjustment reasons  with OLMIS-3340.

There is no previousStatusChangeId in a "response" any more.

41OLMIS-4002: Final approval at a supervisory node with a supply line
NoNo

Comparing UI data with reference-data readme file.

CT - check if there is one

42OLMIS-2317: Date pickerWhether the date picker on the "View Requisitions"  screen works correctly.NoYes
43OLMIS-4020: Configuring the template to show the ISA columnAlso checks dragging and dropping columns in Template configuration.Yes (dropping columns)YesSeparate TCs
44OLMIS-4947: Creating a requisition based on /stockCardRageSummaries responseChecks network response NoNo

It compares UI data with response.

CT

45OLMIS-3554: Supported programsWhether editing Facilities to make a program inactive works correctly.NoYes

Merge with another test for initiating requisition (OLMIS-2843)

46OLMIS-3422: Hiding special reasons in Total Losses and AdjustmentsWhether adding new reasons works according to their configuration.NoYes
47OLMIS-3483: The Requested quantity explanation fieldWhether the "Requested quantity explanation" field is required on the full supply and isn't for the non full supply products for the whole requisition workflow.NoYes

Merge with submitting regular requisition (OLMIS-4573).

48OLMIS-3481: Converting requisitions to orders and the back-endChecks response's detailsNoNoDead
49OLMIS-3469: Pagination
NoYesMerge with approve requisition view
50OLMIS-3353: Total stockout days over 30Whether it is possible to enter values bigger than 30 or 90 for months and 3-months periods.NoNo
51OLMIS-3344: Program in demo data matching Malawi columns
NoNodead
52OLMIS-3330: Loading icon after approval
NoNodead
53OLMIS-1951: Changing the order of the columnsWhether changing the order by dragging and dropping works for a given program.Yes (manual dropping columns)NoShould dragging and dropping in order to change the order be tested?

Edge cases



54OLMIS-2743: Requisition offline cachingWhether caching requisition while offline works. Checks submitting requisition from another browser (another user)  and updating requisition.YesNoThis test case needs two browsers.
55OLMIS-2914: Product grid error messagesWhether all possible error messages are displayed as presumed.YesNoThis edge case is mainly about displaying information about errors on UI.
56OLMIS-2766: Supervised facilities and supported programsWhether facilities are not displayed in the select for a given program after being turned off in configuration. NoYes
57OLMIS-3307: Data integrityWhether it is possible to reject and delete rejected Period 1 requisition, when there is Period  2 requisition submitted, unless it is Emergency requisition.NoYesFor Regression practice phase, test cycle for sprints
58OLMIS-4311: Duplicate status changesWhether submitting a requisition from two browsers will succeed for the first submit but will cause an error for the second submit.YesNo

This test case needs two browsers.



59OLMIS-3550: Stock on hand below 0 and Stock Management screensWhether it is possible to submit adjustments when stock on hand is below 0.YesNo

A lot of checking whether the Adjustments/Issue/Receive/Physical inventory/Stock on Hand pages work for the program for which adjustments had been submitted.

Executed during test cycles.

60OLMIS-3546: Sending data to Stock ManagementWhether it is possible to approve three requisitions for the same program with adjusted Stock on Hand.NoNoNever executed.
61OLMIS-3058: Adjustment reasons to come from Stock Service (Requisition R scenario)Whether a name of a reason in already initiated requisition is not changed after changing a name of reason by administrator (it's taken from snapshot).NoNo

Can be merged with OLMIS-3055

CT

62OLMIS-3055: Adjustment reasons to come from Stock Service (Requisition Q scenario)Whether a new reason is not visible for a previously initiated requisition during its whole workflow. NoNo

Can be merged with OLMIS-3058

CT

63OLMIS-4451: Total requisition cost calculated for emergency requisitions at each statusWhether the total cost is updated in an emergency requisition at each status.NoYes
64OLMIS-4377: Fetching initiated requisitions and APIChecks if it is possible to initiate requisition on the perftest serverNoNo

Dead

65OLMIS-4157: Same user should not be able to approve or edit requisition they submitted/authorizedWhether a user who initiated/submitted/authorized a requisition can edit/reject/approve this requisition. NoYes
66OLMIS-4215: Submitting stock-based requisitions without the Calc Order Qty ISA columnWhether it is possible to submit a requisition after changing requisition template to "enable stock on hand to populate from stock cards" and hiding the "Calc Order Qty ISA column".NoYes


67OLMIS-3429: Requisition initiation and back-endChecks APINoNoIsn't there a CT for this?
68OLMIS-3103: Total cost updated when rejected requisition is re-submittedWhen a requisition is rejected and the Storeroom Manager edits the requested amounts, the total cost should update as the amounts are edited.NoYesTC for one sprint and regression practice phase.
69OLMIS-3301: Error message when approving regular requisition before period is over

Whether it is possible to submit a regular requisition for the same period as currently.

One should be able to submit an emergency requisition for the same situation.

NoYesTC for one sprint and regression practice phase.
70OLMIS-3279: Batch saving with Skip disabled in Requisition TemplateWhether it is still possible to continue with normal requisition workflow after disallowing skipping products.NoNo

Dead

71OLMIS-3024: Convert to Order throws 500 server error when no Approved QuantityChecks enabling/disabling "Approved quantity" column in Requisition Template configuration.NoYesTC for one sprint and regression practice phase, regression phase.
72OLMIS-2982: Editing a submitted requisition by unselecting SkipWhether a user cannot select/unselect products after they have submitted the requisition.YesNo


73OLMIS-4167: Initiating stock-based requisitions: template selectionWhether initiating a requisition for the EPI program will show a correct requisition form (the stock-based one) and whether a stock event is sent when the requisition is.NoNo

It checks if stock event is absent in "network" response.

Contract test because of checking network.

74OLMIS-4166: Initiating requisition: Requisition template is not associated with the facility typeWhether initiating a requisition at another program where a template is not associated with the facility type of the requisition will return an error.NoYes


Test cases that can be merged to limit its number:


Regular cases:

  • OLMIS-3084: Edit Program: The Date physical stock count completed field  + OLMIS-3031: Date physical stock count completed
  • OLMIS-2870: Approving and rejecting a requisition + OLMIS-2974: Approving and rejecting requisitions with In_Approval status
  • OLMIS-4185: Calc Order Qty ISA + empty Requested quantity column + OLMIS-4183: Calc Order Qty ISA + Requested Quantity entere
  • OLMIS-2843: Supervised facility selection + OLMIS-3554: Supported programs
  • OLMIS-2824: Creating requisitions + OLMIS-2993: Displaying stock adjustment reasons
  • OLMIS-3469: Approve Requisition: Pagination +  OLMIS-4575 - Getting issue details... STATUS
  • OLMIS-2186: The requisition header row +  OLMIS-4570 - Getting issue details... STATUS


Edge-cases: 

  • OLMIS-3055: Adjustment reasons to come from Stock Service (Requisition Q scenario) + OLMIS-3058: Adjustment reasons to come from Stock Service (Requisition R scenario)  -  CT


Test cases to cover with Contract Tests:

  • OLMIS-2376: Calculations of Beginning balance and Stock on Hand -  OLMIS-5560 - Getting issue details... STATUS
  • OLMIS-4022: Snapshotting ISAs for products when initiating a requisition  - verifying, if ISA column has correct data -  OLMIS-5562 - Getting issue details... STATUS
  • OLMIS-4169: Emergency requisitions: Available products -  OLMIS-5564 - Getting issue details... STATUS
  • OLMIS-4002: Final approval at a supervisory node with a supply line - OLMIS-5565 - Getting issue details... STATUS
  • OLMIS-3429: Requisition initiation and back-end -  OLMIS-5566 - Getting issue details... STATUS
  • OLMIS-4167: Initiating stock-based requisitions: template selection -  OLMIS-5567 - Getting issue details... STATUS
  • OLMIS-3055: Adjustment reasons to come from Stock Service (Requisition Q scenario) + OLMIS-3058: Adjustment reasons to come from Stock Service (Requisition R scenario) -  OLMIS-5568 - Getting issue details... STATUS
  • OLMIS-2040: Creating a PoD from an order (Fulfillment) - there is a ticket for this moved to Dead




OpenLMIS: the global initiative for powerful LMIS software