Scenario | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
Status | PASSED | PASSED | PASSED | FAILED | FAILED | FAILED | ||||
ECS | Disabled | Disabled | Disabled | Disabled | Disabled | Disabled | Disabled | Disabled | Disabled | Disabled |
Permissions | Missing "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission | User has "Invoice: Can view, edit and create new Invoices and Invoice lines" permission |
Invoice status | Open | Open | Approved | Paid. | Approved. | Reviwed. | Paid(credit) | Approved (credit) | Paid | Open |
Invoice fiscal year | Current | Previous, Current year does not exist in the system | Current | Previous, Current fiscal year exists in the system | Current | Previous, Current fy exists | Current | Current | Current | Current |
Invoice lines | No invoice lines | No invoice lines | No invoice lines | One invoice line with no related POL | Two invoice lines, one with related POL the other with no related POL | Two invoice lines related to POLs. | One line not from POL | One line related POL. Fund distribution in POL is different from budget in invoice line | One line from POL | Line #1 not related to POL with current budget for the fund having no transactions. |
Linked document | No | No | No | Yes | Yes | No | No | No | Yes | No |
Action 1 | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane | Open action menu on the invoice details pane |
Expected result | "Duplicate" action item is not displayed | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active | "Duplicate" action item is displayed and active |
Action 2 | - | Click "Duplicate" action item | Click "Duplicate" action item | Click "Duplicate" action item | Click "Duplicate" action item | Click "Duplicate" action item | Click "Duplicate" action item | Click "Duplicate" action item | Click "Duplicate" action item | Click "Duplicate" action item |
Expected result | - | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active | Confirmation modal appears with "Duplicate" and "Cancel' button displayed and active |
Action 3 | User clicks on "Duplicate" button | User clicks on "Cancel" button | User clicks on "Duplicate" button | User clicks on "Duplicate" button | User clicks on "Duplicate" button | User clicks on "Duplicate" button | User clicks on "Duplicate" button | User clicks on "Duplicate" button | User clicks on "Duplicate" button | |
Expected result | New invoice is created with no invoice lines and data is duplicated from the original invoice, except for the following fields: | 1)Confirmation modal closes. | New invoice is created with one invoice line that is exact copy of the invoice lines from the original. Data for invoice is duplicated from the original invoice, except for the following fields: P.S. Currency and exchange rate is duplicated | New invoice is created with two invoice lines second one is exact copy, the first one contains the link to POL, "Current encumbrance" is set for current year Data for invoice is duplicated from the original invoice, except for the following fields: | New invoice is created with two invoice line Invoice lines contain link to POL, "Initial encumbrance" and "Current encumbrance" are set for current FY P.S. Adjustments for invoice lines are duplicated. | Error appears for invoice line. | Check that amount is credit (negative) in duplicated invoice 1)"Date created" is current date | Error - "The purchase order was not cloned" 403 error in devtools | Error appears for line#1 and line#2. Invoice is duplicated and its data is same as in the original invoice, except the following fields: | |
Test cases | Combined with TC for scenario #2 |
https://folio-org.atlassian.net/issues/?jql=text%20~%20%22uinv-552*%22%20or%20summary%20~%20%22uinv-552*%22%20or%20key%20%3D%20uinv-552%20ORDER%20BY%20created%20DESC
Manage space
Manage content
Integrations