FINERACT-2398: Re-amortization:- Preview Schedule API during re-amortization - E2E tests
This commit is contained in:
@@ -24,7 +24,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 15 April 2025 | 3 |
|
||||
Then Loan Repayment schedule preview has 7 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 7 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 |
|
||||
| | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 15 April 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -92,7 +92,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 2 | MONTHS | 10 March 2024 | 3 |
|
||||
Then Loan Repayment schedule preview has 7 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 7 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 |
|
||||
| | | 01 January 2024 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2024 | 01 January 2024 | 750.0 | 250.0 | 0.0 | 0.0 | 0.0 | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -141,7 +141,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | WEEKS | 01 April 2025 | 1 |
|
||||
Then Loan Repayment schedule preview has 5 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 5 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 |
|
||||
| | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 01 April 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -193,7 +193,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | WEEKS | 01 April 2025 | 1 |
|
||||
Then Loan Repayment schedule preview has 5 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 5 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 |
|
||||
| | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 01 March 2025 | 750.0 | 250.0 | 0.0 | 0.0 | 0.0 | 250.0 | 250.0 | 0.0 | 250.0 | 0.0 |
|
||||
@@ -246,7 +246,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | WEEKS | 15 February 2025 | 1 |
|
||||
Then Loan Repayment schedule preview has 5 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 5 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 |
|
||||
| | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 01 January 2025 | 750.0 | 250.0 | 0.0 | 0.0 | 0.0 | 250.0 | 250.0 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -299,7 +299,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | WEEKS | 01 April 2025 | 1 |
|
||||
Then Loan Repayment schedule preview has 5 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 5 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 |
|
||||
| | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 01 March 2025 | 750.0 | 250.0 | 0.0 | 0.0 | 0.0 | 250.0 | 250.0 | 0.0 | 250.0 | 0.0 |
|
||||
@@ -353,7 +353,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | WEEKS | 01 April 2025 | 1 |
|
||||
Then Loan Repayment schedule preview has 5 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 5 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 |
|
||||
| | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 01 March 2025 | 750.0 | 250.0 | 0.0 | 0.0 | 0.0 | 250.0 | 250.0 | 0.0 | 250.0 | 0.0 |
|
||||
@@ -405,7 +405,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | WEEKS | 01 April 2025 | 1 |
|
||||
Then Loan Repayment schedule preview has 5 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 5 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 |
|
||||
| | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 01 April 2025 | 900.0 | 100.0 | 0.0 | 0.0 | 0.0 | 100.0 | 100.0 | 0.0 | 100.0 | 0.0 |
|
||||
@@ -459,7 +459,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | WEEKS | 01 April 2025 | 1 |
|
||||
Then Loan Repayment schedule preview has 6 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview 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 |
|
||||
| | | 01 January 2025 | | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2025 | 01 April 2025 | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -535,7 +535,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 01 April 2024| 6 |
|
||||
Then Loan Repayment schedule preview has 9 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 9 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 |
|
||||
| | | 01 January 2024 | | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -605,7 +605,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 01 April 2024| 6 |
|
||||
Then Loan Repayment schedule preview has 9 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 9 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 |
|
||||
| | | 01 January 2024 | | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -673,7 +673,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 01 April 2024| 6 |
|
||||
Then Loan Repayment schedule preview has 9 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 9 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 |
|
||||
| | | 01 January 2024 | | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -738,7 +738,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 01 April 2024| 6 |
|
||||
Then Loan Repayment schedule preview has 9 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 9 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 |
|
||||
| | | 01 January 2024 | | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -808,7 +808,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 01 April 2024 | 6 |
|
||||
Then Loan Repayment schedule preview has 10 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 10 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 |
|
||||
| | | 01 January 2024 | | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 0 | 01 January 2024 | 01 January 2024 | 75.0 | 25.0 | 0.0 | 0.0 | 0.0 | 25.0 | 25.0 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -918,7 +918,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 01 April 2024 | 6 |
|
||||
Then Loan Repayment schedule preview has 9 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 9 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 |
|
||||
| | | 01 January 2024 | | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
|
||||
@@ -1146,7 +1146,7 @@ Feature: LoanReAgingPreview
|
||||
When Admin creates a Loan re-aging preview by Loan external ID with the following data:
|
||||
| frequencyNumber | frequencyType | startDate | numberOfInstallments |
|
||||
| 1 | MONTHS | 01 April 2024 | 6 |
|
||||
Then Loan Repayment schedule preview has 9 periods, with the following data for periods:
|
||||
Then Loan Re-Aged Repayment schedule preview has 9 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 |
|
||||
| | | 01 January 2024 | | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
|
||||
| 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
|
||||
|
||||
Reference in New Issue
Block a user