FINERACT-2421: e2e tests for pay-off with 2nd disbursement with downpayment
This commit is contained in:
committed by
Adam Saghy
parent
2634e54fdd
commit
da85c069b7
@@ -50,6 +50,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 15 February 2022 | Repayment | 400.0 | 400.0 | 0.0 | 0.0 | 0.0 | 100.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2813
|
||||
Scenario: Single disbursement normal flow - auto disabled
|
||||
@@ -111,6 +114,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 15 February 2022 | Repayment | 400.0 | 400.0 | 0.0 | 0.0 | 0.0 | 100.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 February 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2814
|
||||
Scenario: Single disbursement charge flow - auto enabled
|
||||
@@ -162,6 +168,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Repayment | 300.0 | 250.0 | 0.0 | 0.0 | 50.0 | 500.0 |
|
||||
| 15 February 2022 | Repayment | 400.0 | 400.0 | 0.0 | 0.0 | 0.0 | 100.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 February 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2815
|
||||
Scenario: Single disbursement charge flow - auto disabled
|
||||
@@ -224,6 +233,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Repayment | 300.0 | 250.0 | 0.0 | 0.0 | 50.0 | 500.0 |
|
||||
| 15 February 2022 | Repayment | 400.0 | 400.0 | 0.0 | 0.0 | 0.0 | 100.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 February 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2816
|
||||
Scenario: Double disbursement different day - auto enabled
|
||||
@@ -265,6 +277,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 10 January 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
| 10 January 2022 | Down Payment | 100.0 | 100.0 | 0.0 | 0.0 | 0.0 | 1050.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "10 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2817
|
||||
Scenario: Double disbursement different day - auto disabled
|
||||
@@ -316,6 +331,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 10 January 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "10 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2818
|
||||
Scenario: Double disbursement on installment day - auto enabled
|
||||
@@ -357,6 +375,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
| 01 February 2022 | Down Payment | 100.0 | 100.0 | 0.0 | 0.0 | 0.0 | 1050.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2819
|
||||
Scenario: Double disbursement on installment day - auto disabled
|
||||
@@ -408,6 +429,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2820
|
||||
Scenario: Downpayment with loan adjustment - auto enabled
|
||||
@@ -453,6 +477,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 April 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
| 01 April 2022 | Down Payment | 100.0 | 100.0 | 0.0 | 0.0 | 0.0 | 1050.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 April 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2821
|
||||
Scenario: Downpayment with loan adjustment - auto disabled
|
||||
@@ -518,6 +545,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 April 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 April 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2822
|
||||
Scenario: Downpayment creation date - auto enabled
|
||||
@@ -573,6 +603,9 @@ Feature: Loan DownPayment
|
||||
| 10 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 April 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
| 01 April 2022 | Down Payment | 100.0 | 100.0 | 0.0 | 0.0 | 0.0 | 1050.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 April 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2823
|
||||
Scenario: Downpayment creation date - auto disabled
|
||||
@@ -638,6 +671,9 @@ Feature: Loan DownPayment
|
||||
| 10 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 10 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 April 2022 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 April 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2824
|
||||
Scenario: Double disbursement normal flow - auto enabled
|
||||
@@ -693,6 +729,9 @@ Feature: Loan DownPayment
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 15 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
| 01 February 2022 | Repayment | 500.0 | 500.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2825
|
||||
Scenario: Double disbursement normal flow - auto disabled
|
||||
@@ -758,6 +797,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 01 February 2022 | Repayment | 500.0 | 500.0 | 0.0 | 0.0 | 0.0 | 1250.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2826
|
||||
Scenario: Double disbursement same day - auto enabled
|
||||
@@ -798,6 +840,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 15 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2827
|
||||
Scenario: Double disbursement same day - auto disabled
|
||||
@@ -862,6 +907,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 15 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2828
|
||||
Scenario: Double disbursement partial overpayment - auto enabled
|
||||
@@ -902,6 +950,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 15 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2829
|
||||
Scenario: Double disbursement partial overpayment - auto disabled
|
||||
@@ -966,6 +1017,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 400.0 | 400.0 | 0.0 | 0.0 | 0.0 | 600.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1600.0 |
|
||||
| 15 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1350.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2830
|
||||
Scenario: Double disbursement full overpayment - auto enabled
|
||||
@@ -1018,6 +1072,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
| 15 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1250.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2831
|
||||
Scenario: Double disbursement full overpayment - auto disabled
|
||||
@@ -1082,6 +1139,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 500.0 | 500.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
| 15 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1250.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2832
|
||||
Scenario: Double disbursement after installment overdue - auto enabled
|
||||
@@ -1122,6 +1182,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 15 February 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 15 February 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2833
|
||||
Scenario: Double disbursement after installment overdue - auto disabled
|
||||
@@ -1186,6 +1249,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 15 February 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 15 February 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2834
|
||||
Scenario: Double disbursement after installment 2 - auto enabled
|
||||
@@ -1239,6 +1305,9 @@ Feature: Loan DownPayment
|
||||
| 01 February 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 15 February 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
| 15 February 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1250.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2835
|
||||
Scenario: Double disbursement after installment 2 - auto disabled
|
||||
@@ -1316,6 +1385,9 @@ Feature: Loan DownPayment
|
||||
| 01 February 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 15 February 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
| 15 February 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1250.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2836
|
||||
Scenario: Double disbursement normal overdue - auto enabled
|
||||
@@ -1370,6 +1442,9 @@ Feature: Loan DownPayment
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 15 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
| 15 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1250.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2837
|
||||
Scenario: Double disbursement normal overdue - auto disabled
|
||||
@@ -1422,6 +1497,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 15 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2000.0 |
|
||||
| 15 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2838
|
||||
Scenario: Double disbursement on Duedate - auto enabled
|
||||
@@ -1462,6 +1540,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 01 February 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2839
|
||||
Scenario: Double disbursement on Duedate - auto disabled
|
||||
@@ -1526,6 +1607,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 01 February 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2852
|
||||
Scenario: Single disbursement with interest - auto disabled
|
||||
@@ -1546,6 +1630,9 @@ Feature: Loan DownPayment
|
||||
Then Loan Repayment schedule has the following data in Total row:
|
||||
| Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
|
||||
| 1000.0 | 25 | 0 | 0 | 1025.0 | 0.0 | 0 | 0 | 1025 |
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "01 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2853
|
||||
Scenario: Single disbursement delinquency - auto disabled
|
||||
@@ -1569,6 +1656,9 @@ Feature: Loan DownPayment
|
||||
When Admin sets the business date to "5 January 2022"
|
||||
When Admin runs COB job
|
||||
Then Admin checks that delinquency range is: "RANGE_1" and has delinquentDate "2022-01-04"
|
||||
# --- close loan --- #
|
||||
When Loan Pay-off is made on "05 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2854
|
||||
Scenario: Single disbursement with undo disbursement when auto downpayment is enabled without manual transaction after last downpayment
|
||||
@@ -1595,6 +1685,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
When Admin successfully undo disbursal
|
||||
Then Loan status has changed to "Approved"
|
||||
# --- undo approval --- #
|
||||
Then Admin can successfully undone the loan approval
|
||||
Then Loan status will be "SUBMITTED_AND_PENDING_APPROVAL"
|
||||
|
||||
@TestRailId:C2855
|
||||
Scenario: Single disbursement with undo disbursement when auto downpayment is disabled without manual transaction after last downpayment
|
||||
@@ -1632,6 +1725,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
When Admin successfully undo disbursal
|
||||
Then Loan status has changed to "Approved"
|
||||
# --- undo approval --- #
|
||||
Then Admin can successfully undone the loan approval
|
||||
Then Loan status will be "SUBMITTED_AND_PENDING_APPROVAL"
|
||||
|
||||
@TestRailId:C2856
|
||||
Scenario: Single disbursement with undo disbursement when auto downpayment is disabled with manual transaction after last downpayment
|
||||
@@ -1707,6 +1803,9 @@ Feature: Loan DownPayment
|
||||
| 15 February 2022 | Repayment | 400.0 | 400.0 | 0.0 | 0.0 | 0.0 | 100.0 |
|
||||
When Admin successfully undo disbursal
|
||||
Then Loan status has changed to "Approved"
|
||||
# --- undo approval --- #
|
||||
Then Admin can successfully undone the loan approval
|
||||
Then Loan status will be "SUBMITTED_AND_PENDING_APPROVAL"
|
||||
|
||||
@TestRailId:C2857
|
||||
Scenario: Single disbursement with undo disbursement when auto downpayment is enabled with manual transaction after last downpayment
|
||||
@@ -1759,6 +1858,9 @@ Feature: Loan DownPayment
|
||||
| 15 February 2022 | Repayment | 400.0 | 400.0 | 0.0 | 0.0 | 0.0 | 100.0 |
|
||||
When Admin successfully undo disbursal
|
||||
Then Loan status has changed to "Approved"
|
||||
# --- undo approval --- #
|
||||
Then Admin can successfully undone the loan approval
|
||||
Then Loan status will be "SUBMITTED_AND_PENDING_APPROVAL"
|
||||
|
||||
@TestRailId:C2858
|
||||
Scenario: Multi disbursement with undo last disbursement when auto downpayment is enabled without manual transaction after last downpayment
|
||||
@@ -1820,6 +1922,9 @@ Feature: Loan DownPayment
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance |
|
||||
| 01 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 01 January 2022 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2859
|
||||
Scenario: Multi disbursement with undo last disbursement when auto downpayment is disabled without manual transaction after last downpayment
|
||||
@@ -1881,6 +1986,9 @@ Feature: Loan DownPayment
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance |
|
||||
| 01 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "15 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2866
|
||||
Scenario: Verify backdated disbursement - after down payment, before first installment due date, installment start date calculated by loan disbursement date
|
||||
@@ -1926,6 +2034,9 @@ Feature: Loan DownPayment
|
||||
| 02 January 2023 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 05 January 2023 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2000.0 |
|
||||
| 05 January 2023 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "08 January 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2867
|
||||
Scenario: Verify backdated disbursement - second disbursement placed on after down payment, after first installment paid on due date, and takes place before first installment due date
|
||||
@@ -1989,6 +2100,9 @@ Feature: Loan DownPayment
|
||||
| 05 January 2023 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2023 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
| 05 February 2023 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "10 February 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2868
|
||||
Scenario: Verify backdated disbursement - after down payment, before first installment due date, installment start date calculated by loan submitted on date
|
||||
@@ -2036,6 +2150,9 @@ Feature: Loan DownPayment
|
||||
| 05 January 2023 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2000.0 |
|
||||
| 05 January 2023 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 1750.0 |
|
||||
When Admin sets repaymentStartDateType for "LP2_DOWNPAYMENT" loan product to "DISBURSEMENT_DATE"
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "08 January 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2869
|
||||
Scenario: Verify correct Loan Repayment EMI Amount is calculated and is rounded off if loan product installmentAmountInMultiplesOf is set
|
||||
@@ -2056,6 +2173,9 @@ Feature: Loan DownPayment
|
||||
Then Loan Repayment schedule has the following data in Total row:
|
||||
| Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
|
||||
| 1250.0 | 0 | 0 | 0 | 1250.0 | 0.0 | 0 | 0 | 1250 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2882
|
||||
Scenario: Verify Loan Repayment Due and Overdue events for downpayment
|
||||
@@ -2071,6 +2191,9 @@ Feature: Loan DownPayment
|
||||
When Admin sets the business date to "04 January 2022"
|
||||
When Admin runs inline COB job for Loan
|
||||
Then Loan Repayment Overdue Business Event is created
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "04 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2883
|
||||
Scenario: Verify that with multiple disbursement when last disbursement is reverted, downpayment will be reverted too - autopayment disabled
|
||||
@@ -2117,6 +2240,9 @@ Feature: Loan DownPayment
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance |
|
||||
| 01 September 2023 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 05 September 2023 | Repayment | 500.0 | 500.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "11 September 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2884
|
||||
Scenario: Verify that with multiple disbursement when last disbursement is reverted, downpayment will be reverted too - autopayment enabled
|
||||
@@ -2166,6 +2292,9 @@ Feature: Loan DownPayment
|
||||
| 01 September 2023 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 |
|
||||
| 01 September 2023 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 05 September 2023 | Repayment | 500.0 | 500.0 | 0.0 | 0.0 | 0.0 | 250.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "11 September 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2913
|
||||
@AdvancedPaymentAllocation
|
||||
@@ -2224,6 +2353,9 @@ Feature: Loan DownPayment
|
||||
Then Loan Repayment schedule has the following data in Total row:
|
||||
| Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
|
||||
| 600.0 | 0 | 0.0 | 0 | 600.0 | 150.0 | 0.0 | 0.0 | 450.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "04 September 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2938
|
||||
Scenario: Multiple disbursements on same day - auto enabled
|
||||
@@ -2288,6 +2420,9 @@ Feature: Loan DownPayment
|
||||
| 01 February 2022 | Down Payment | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 900.0 |
|
||||
| 01 February 2022 | Disbursement | 200.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1100.0 |
|
||||
| 01 February 2022 | Down Payment | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 1050.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C2939
|
||||
Scenario: Multiple disbursements on same day - auto disabled
|
||||
@@ -2360,6 +2495,9 @@ Feature: Loan DownPayment
|
||||
| 01 January 2022 | Repayment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
| 01 February 2022 | Disbursement | 200.0 | 0.0 | 0.0 | 0.0 | 0.0 | 950.0 |
|
||||
| 01 February 2022 | Disbursement | 200.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1150.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 February 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3017
|
||||
Scenario: Verify that repayment schedule is managed properly in case of LP2 product with two disbursement on the same day
|
||||
@@ -2389,6 +2527,9 @@ Feature: Loan DownPayment
|
||||
| 01 October 2023 | Down Payment | 25.0 | 25.0 | 0.0 | 0.0 | 0.0 | 75.0 |
|
||||
| 01 October 2023 | Disbursement | 900.0 | 0.0 | 0.0 | 0.0 | 0.0 | 975.0 |
|
||||
| 01 October 2023 | Down Payment | 225.0 | 225.0 | 0.0 | 0.0 | 0.0 | 750.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 October 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3031
|
||||
Scenario: Verify that in case of auto downpayment Loan details / summary.totalRepaymentTransaction has the downpayment amount
|
||||
@@ -2400,6 +2541,9 @@ Feature: Loan DownPayment
|
||||
And Admin successfully approves the loan on "01 October 2023" with "1000" amount and expected disbursement date on "01 October 2023"
|
||||
When Admin successfully disburse the loan on "01 October 2023" with "1000" EUR transaction amount
|
||||
Then Loan details has the downpayment amount "250" in summary.totalRepaymentTransaction
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 October 2023"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3061 @AdvancedPaymentAllocation
|
||||
Scenario: Verify enhanced auto downpayment for overpaid loans - UC1: overpaid amount > second disbursement amount AND overpaid amount > related downpayment amount
|
||||
@@ -2437,6 +2581,9 @@ Feature: Loan DownPayment
|
||||
| 01 February 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 16 February 2024 | Repayment | 1000.0 | 375.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
| 20 February 2024 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Admin makes Credit Balance Refund transaction on "20 February 2024" with 225 EUR transaction amount
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3062 @AdvancedPaymentAllocation
|
||||
Scenario: Verify enhanced auto downpayment for overpaid loans - UC2: overpaid amount = second disbursement amount AND overpaid amount > related downpayment amount
|
||||
@@ -2510,6 +2657,9 @@ Feature: Loan DownPayment
|
||||
| 01 February 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 16 February 2024 | Repayment | 575.0 | 375.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
| 20 February 2024 | Disbursement | 400.0 | 0.0 | 0.0 | 0.0 | 0.0 | 200.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "20 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3064 @AdvancedPaymentAllocation
|
||||
Scenario: Verify enhanced auto downpayment for overpaid loans - UC4: overpaid amount < second disbursement amount AND overpaid amount < related downpayment amount
|
||||
@@ -2548,6 +2698,9 @@ Feature: Loan DownPayment
|
||||
| 16 February 2024 | Repayment | 475.0 | 375.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
| 20 February 2024 | Disbursement | 600.0 | 0.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 20 February 2024 | Down Payment | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 450.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "20 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3065 @AdvancedPaymentAllocation
|
||||
Scenario: Verify enhanced auto downpayment for overpaid loans - UC5: repayment reverted
|
||||
@@ -2591,6 +2744,9 @@ Feature: Loan DownPayment
|
||||
| 16 February 2024 | Repayment | 375.0 | 275.0 | 0.0 | 0.0 | 0.0 | 0.0 | true |
|
||||
| 20 February 2024 | Disbursement | 600.0 | 0.0 | 0.0 | 0.0 | 0.0 | 875.0 | false |
|
||||
| 20 February 2024 | Down Payment | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 825.0 | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "20 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3105 @AdvancedPaymentAllocation
|
||||
Scenario: Verify multi disbursement on same day with Advanced payment allocation works properly
|
||||
@@ -2659,6 +2815,9 @@ Feature: Loan DownPayment
|
||||
| 02 February 2024 | Down Payment | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 825.0 | false |
|
||||
| 02 February 2024 | Disbursement | 112.0 | 0.0 | 0.0 | 0.0 | 0.0 | 937.0 | false |
|
||||
| 02 February 2024 | Down Payment | 28.0 | 28.0 | 0.0 | 0.0 | 0.0 | 909.0 | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "02 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3162
|
||||
Scenario: Verify that downpayment can be enabled during loan creation if the product has downpayment enabled
|
||||
@@ -2681,6 +2840,9 @@ Feature: Loan DownPayment
|
||||
Then Loan Transactions tab has the following data:
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted |
|
||||
| 01 January 2022 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "1 January 2022"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3163
|
||||
Scenario: Verify that downpayment cannot be enabled during loan creation if the product has downpayment disabled
|
||||
@@ -2713,6 +2875,9 @@ Feature: Loan DownPayment
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted |
|
||||
| 01 July 2024 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 | false |
|
||||
| 01 July 2024 | Down Payment | 150.0 | 150.0 | 0.0 | 0.0 | 0.0 | 850.0 | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 July 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3181
|
||||
Scenario: Verify that auto repayment and downpayment percentage value can be set during loan creation in case of downpayment is enabled on Loan product level - UC2
|
||||
@@ -2736,6 +2901,9 @@ Feature: Loan DownPayment
|
||||
Then Loan Transactions tab has the following data:
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted |
|
||||
| 01 July 2024 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 July 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4674 @AdvancedPaymentAllocation
|
||||
Scenario: Verify pay-off loan after 2nd disbursement with downpayment on interest bearing loan
|
||||
|
||||
@@ -42,6 +42,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 25 January 2024 | Re-amortize | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 January 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3070 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - re-amortization happy path with loan externalId
|
||||
@@ -84,6 +87,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 25 January 2024 | Re-amortize | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 January 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3071 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - re-amortization undo happy path
|
||||
@@ -130,6 +136,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 | false |
|
||||
| 25 January 2024 | Re-amortize | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 0.0 | true |
|
||||
Then Admin checks that delinquency range is: "RANGE_3" and has delinquentDate "2024-01-19"
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "26 January 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3072 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - delinquency calculation triggered upon re-amortization transaction
|
||||
@@ -147,6 +156,9 @@ Feature: LoanReAmortization
|
||||
When Admin sets the business date to "25 January 2024"
|
||||
When Admin creates a Loan re-amortization transaction on current business date
|
||||
Then Admin checks that delinquency range is: "NO_DELINQUENCY" and has delinquentDate ""
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 January 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3073 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - UC1: re-amortization after charge applied on loan
|
||||
@@ -177,6 +189,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 25 January 2024 | Re-amortize | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 January 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3074 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - UC2: complete past due principal amount reamortization scenario
|
||||
@@ -205,6 +220,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 01 February 2024 | Re-amortize | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3075 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - UC3: reverse replay scenario
|
||||
@@ -251,6 +269,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 15 January 2024 | Repayment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 250.0 |
|
||||
| 01 February 2024 | Re-amortize | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "02 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3076 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - UC4: N+1 Installment scenario
|
||||
@@ -281,6 +302,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 01 February 2024 | Re-amortize | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3077 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - UC5: re-amortization on same day of installment
|
||||
@@ -311,6 +335,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 500.0 |
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 31 January 2024 | Re-amortize | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "31 January 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3078 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - UC6: Parital Paid Scenario
|
||||
@@ -357,6 +384,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 125.0 | 125.0 | 0.0 | 0.0 | 0.0 | 375.0 |
|
||||
| 17 January 2024 | Repayment | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 325.0 |
|
||||
| 30 January 2024 | Re-amortize | 75.0 | 75.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "30 January 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3089 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction - Event check
|
||||
@@ -375,6 +405,9 @@ Feature: LoanReAmortization
|
||||
When Admin creates a Loan re-amortization transaction on current business date
|
||||
Then LoanDelinquencyRangeChangeBusinessEvent is created
|
||||
Then LoanReAmortizeBusinessEvent is created
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3112 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction reverse-replay - UC1: undo old repayment
|
||||
@@ -430,6 +463,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 200.0 | 200.0 | 0.0 | 0.0 | 0.0 | 600.0 | false | false |
|
||||
| 16 January 2024 | Repayment | 120.0 | 120.0 | 0.0 | 0.0 | 0.0 | 480.0 | true | false |
|
||||
| 20 February 2024 | Re-amortize | 360.0 | 360.0 | 0.0 | 0.0 | 0.0 | 0.0 | false | true |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3113 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction reverse-replay - UC2: backdated repayment
|
||||
@@ -482,6 +518,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 200.0 | 200.0 | 0.0 | 0.0 | 0.0 | 600.0 | false | false |
|
||||
| 16 January 2024 | Repayment | 120.0 | 120.0 | 0.0 | 0.0 | 0.0 | 480.0 | false | false |
|
||||
| 20 February 2024 | Re-amortize | 240.0 | 240.0 | 0.0 | 0.0 | 0.0 | 0.0 | false | true |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3114 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction reverse-replay - UC3: backdated disbursement
|
||||
@@ -537,6 +576,9 @@ Feature: LoanReAmortization
|
||||
| 16 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 700.0 | false | false |
|
||||
| 16 January 2024 | Down Payment | 25.0 | 25.0 | 0.0 | 0.0 | 0.0 | 675.0 | false | false |
|
||||
| 20 February 2024 | Re-amortize | 398.0 | 398.0 | 0.0 | 0.0 | 0.0 | 0.0 | false | true |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3115 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction reverse-replay - UC4: backdated charge
|
||||
@@ -592,6 +634,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 200.0 | 200.0 | 0.0 | 0.0 | 0.0 | 600.0 | false | false |
|
||||
| 16 January 2024 | Repayment | 140.0 | 120.0 | 0.0 | 0.0 | 20.0 | 480.0 | false | true |
|
||||
| 20 February 2024 | Re-amortize | 240.0 | 240.0 | 0.0 | 0.0 | 0.0 | 0.0 | false | true |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "25 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C3134 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Loan re-amortization transaction reverse-replay - UC5: re-amortization validation should not consider reverted transactions
|
||||
@@ -695,6 +740,9 @@ Feature: LoanReAmortization
|
||||
| 20 February 2024 | Re-amortize | 360.0 | 360.0 | 0.0 | 0.0 | 0.0 | 0.0 | true | false |
|
||||
| 21 February 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 700.0 | false | false |
|
||||
| 21 February 2024 | Down Payment | 25.0 | 25.0 | 0.0 | 0.0 | 0.0 | 675.0 | true | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "23 February 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4304 @AdvancedPaymentAllocation
|
||||
Scenario: Verify allowing Re-amortization on interest bearing loan - Interest calculation: Default Behavior - UC1
|
||||
@@ -757,7 +805,6 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -830,7 +877,6 @@ Feature: LoanReAmortization
|
||||
And Loan Charges tab has the following data:
|
||||
| Name | isPenalty | Payment due at | Due as of | Calculation type | Due | Paid | Waived | Outstanding |
|
||||
| Snooze fee | false | Specified due date | 15 February 2024 | Flat | 10.0 | 0.0 | 0.0 | 10.0 |
|
||||
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -899,7 +945,6 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -967,7 +1012,6 @@ Feature: LoanReAmortization
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 01 February 2024 | Chargeback | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 34.02 | 32.86 | 1.16 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -1033,7 +1077,6 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 20.0 | 19.42 | 0.58 | 0.0 | 0.0 | 80.58 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 14.02 | 13.55 | 0.47 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -1105,7 +1148,6 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 25.0 | 25.0 | 0.0 | 0.0 | 0.0 | 75.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 12.76 | 12.32 | 0.44 | 0.0 | 0.0 | 62.68 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 12.76 | 12.39 | 0.37 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -1173,6 +1215,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4220 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Re-amortization transaction on interest bearing loan - Interest handling: EQUAL_AMORTIZATION_INTEREST_SPLIT - UC2: Principal interest and fee re-amortization
|
||||
@@ -1239,6 +1284,9 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
#TODO - Active status after pay-off
|
||||
#When Loan Pay-off is made on "15 March 2024"
|
||||
#Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4221 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Re-amortization transaction on interest bearing loan - Interest handling: EQUAL_AMORTIZATION_INTEREST_SPLIT - UC3: Principal interest and fee re-amortization, N+1 installment
|
||||
@@ -1307,6 +1355,8 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4222 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Re-amortization transaction on interest bearing loan - Interest handling: EQUAL_AMORTIZATION_INTEREST_SPLIT - UC4: Principal interest re-amortization, chargeback
|
||||
@@ -1374,6 +1424,8 @@ Feature: LoanReAmortization
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 01 February 2024 | Chargeback | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 34.02 | 32.86 | 1.16 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4223 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Re-amortization transaction on interest bearing loan - Interest handling: EQUAL_AMORTIZATION_INTEREST_SPLIT - UC5: Principal interest and fee re-amortization, partial payment
|
||||
@@ -1439,6 +1491,8 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 20.0 | 19.42 | 0.58 | 0.0 | 0.0 | 80.58 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 14.02 | 13.55 | 0.47 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4224 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Re-amortization transaction on interest bearing loan - Interest handling: EQUAL_AMORTIZATION_INTEREST_SPLIT - UC6: Principal and interest re-amortization, downpayment
|
||||
@@ -1509,6 +1563,8 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Down Payment | 25.0 | 25.0 | 0.0 | 0.0 | 0.0 | 75.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 12.76 | 12.32 | 0.44 | 0.0 | 0.0 | 62.68 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 12.76 | 12.39 | 0.37 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4374 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Re-amortization trn reversed by backdated repayment - Interest calculation: Default Behavior - UC7
|
||||
@@ -1651,7 +1707,7 @@ Feature: LoanReAmortization
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 01 March 2024 | Repayment | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 67.05 | false | false |
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
When Loan Pay-off is made on "01 April 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4376 @AdvancedPaymentAllocation
|
||||
@@ -1701,7 +1757,6 @@ Feature: LoanReAmortization
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
|
||||
When Admin sets the business date to "01 April 2024"
|
||||
And Customer makes "AUTOPAY" repayment on "01 March 2024" with 10 EUR transaction amount
|
||||
Then Loan Repayment schedule has 6 periods, with the following data for periods:
|
||||
@@ -1866,20 +1921,16 @@ Feature: LoanReAmortization
|
||||
When Admin successfully disburse the loan on "01 January 2024" with "100" EUR transaction amount
|
||||
When Admin sets the business date to "01 February 2024"
|
||||
And Customer makes "AUTOPAY" repayment on "01 February 2024" with 17.01 EUR transaction amount
|
||||
|
||||
When Admin sets the business date to "15 March 2024"
|
||||
And Admin creates a Loan re-amortization transaction on current business date with reAmortizationInterestHandling "EQUAL_AMORTIZATION_INTEREST_SPLIT"
|
||||
|
||||
When Admin sets the business date to "01 May 2024"
|
||||
And Admin creates a Loan re-amortization transaction on current business date with reAmortizationInterestHandling "DEFAULT" should FAIL
|
||||
And Admin creates a Loan re-amortization transaction on current business date with reAmortizationInterestHandling "EQUAL_AMORTIZATION_INTEREST_SPLIT"
|
||||
|
||||
# --- close the loan --- #
|
||||
When Admin sets the business date to "15 May 2024"
|
||||
When Loan Pay-off is made on "15 May 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
|
||||
@TestRailId:C4311 @AdvancedPaymentAllocation
|
||||
Scenario: Verify Re-amortization with overdue penalties - Interest calculation: Default Behavior - Re-amortization with overdue penalties
|
||||
When Admin sets the business date to "01 January 2024"
|
||||
@@ -2649,7 +2700,6 @@ Feature: LoanReAmortization
|
||||
Then Loan Transactions tab has the following data:
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
|
||||
When Admin sets the business date to "01 February 2024"
|
||||
And Customer makes "AUTOPAY" repayment on "01 February 2024" with 17.01 EUR transaction amount
|
||||
Then Loan Repayment schedule has 6 periods, with the following data for periods:
|
||||
@@ -2855,7 +2905,7 @@ Feature: LoanReAmortization
|
||||
| 15 March 2024 | Re-amortize | 12.76 | 12.39 | 0.37 | 0.0 | 0.0 | 0.0 | true | false |
|
||||
| 01 April 2024 | Disbursement | 50.0 | 0.0 | 0.0 | 0.0 | 0.0 | 112.68 | false | false |
|
||||
| 01 April 2024 | Down Payment | 12.5 | 12.39 | 0.11 | 0.0 | 0.0 | 100.29 | false | true |
|
||||
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "01 April 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -4440,7 +4490,7 @@ Feature: LoanReAmortization
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4504
|
||||
Scenario: Verify Re-amortization with backdated additional interest pause before re-aging, overlapping re-age completely - interest bearing loan with equal amortization + interest split - UC3.4
|
||||
Scenario: Verify Re-amortization with backdated additional interest pause before re-amortization, overlapping re-amortization completely - interest bearing loan with equal amortization + interest split - UC3.4
|
||||
When Admin sets the business date to "01 January 2024"
|
||||
And Admin creates a client with random data
|
||||
And Admin creates a fully customized loan with the following data:
|
||||
@@ -4482,7 +4532,7 @@ Feature: LoanReAmortization
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
# --- Check before re-age ---
|
||||
# --- Check before re-amortization --- #
|
||||
When Admin sets the business date to "15 March 2024"
|
||||
Then Loan Repayment schedule has 6 periods, with the following data for periods:
|
||||
| Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
|
||||
@@ -4500,7 +4550,7 @@ Feature: LoanReAmortization
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
# --- Interest pause ---
|
||||
# --- Interest pause --- #
|
||||
And Create an interest pause period with start date "10 March 2024" and end date "10 June 2024"
|
||||
Then Loan term variations has 1 variation, with the following data:
|
||||
| Term Type Id | Term Type Code | Term Type Value | Applicable From | Decimal Value | Date Value | Is Specific To Installment | Is Processed |
|
||||
@@ -5394,9 +5444,24 @@ Feature: LoanReAmortization
|
||||
Then Loan Repayment schedule has the following data in Total row:
|
||||
| Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
|
||||
| 100.0 | 1.54 | 0.0 | 0.0 | 101.54 | 17.01 | 0.0 | 0.0 | 84.53 |
|
||||
Then Loan Transactions tab has the following data:
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
| 15 April 2024 | Accrual | 1.54 | 0.0 | 1.54 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
| 15 April 2024 | Charge-off | 84.53 | 83.57 | 0.96 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
And Admin creates re-amortization trn on current business date with reAmortizationInterestHandling "EQUAL_AMORTIZATION_INTEREST_SPLIT" is forbidden as loan was charged-off
|
||||
# --- close the loan --- #
|
||||
When Loan Pay-off is made on "15 April 2024"
|
||||
Then Loan Transactions tab has the following data:
|
||||
| Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
|
||||
| 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
| 15 April 2024 | Accrual | 1.54 | 0.0 | 1.54 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
| 15 April 2024 | Charge-off | 84.53 | 83.57 | 0.96 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
| 15 April 2024 | Repayment | 84.53 | 83.57 | 0.96 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@TestRailId:C4514 @AdvancedPaymentAllocation
|
||||
@@ -6789,7 +6854,6 @@ Feature: LoanReAmortization
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
| 01 May 2024 | Re-amortize | 42.64 | 41.17 | 1.47 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
|
||||
When Loan Pay-off is made on "01 May 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
@@ -6821,3 +6885,5 @@ Feature: LoanReAmortization
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
|
||||
| 15 March 2024 | Re-amortize | 17.01 | 16.52 | 0.49 | 0.0 | 0.0 | 0.0 | false | false |
|
||||
When Admin creates a Loan re-amortization transaction on current business date is forbidden as re-amortization already done for today
|
||||
When Loan Pay-off is made on "15 March 2024"
|
||||
Then Loan is closed with zero outstanding balance and it's all installments have obligations met
|
||||
|
||||
Reference in New Issue
Block a user