From 23f6a2ec62b1d97de539901f6c1958aecd3df5b4 Mon Sep 17 00:00:00 2001 From: tamasszabo-dpc Date: Wed, 4 Jun 2025 13:07:59 +0200 Subject: [PATCH] FINERACT-2181: Added revert replay checks for transactions check --- .../features/LoanMerchantIssuedRefund.feature | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/fineract-e2e-tests-runner/src/test/resources/features/LoanMerchantIssuedRefund.feature b/fineract-e2e-tests-runner/src/test/resources/features/LoanMerchantIssuedRefund.feature index 2d1fe210f..a222a2419 100644 --- a/fineract-e2e-tests-runner/src/test/resources/features/LoanMerchantIssuedRefund.feature +++ b/fineract-e2e-tests-runner/src/test/resources/features/LoanMerchantIssuedRefund.feature @@ -1,5 +1,6 @@ Feature: MerchantIssuedRefund + @TestRailId:C3731 Scenario: Merchant Issued Refund reverse replayed with penalty charge and interest recalculation When Admin sets the business date to "22 April 2025" When Admin creates a client with random data @@ -19,14 +20,14 @@ Feature: MerchantIssuedRefund Then Loan status will be "OVERPAID" And Loan has 9.2 overpaid amount And Loan Transactions tab has the following data: - | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | - | 22 April 2025 | Disbursement | 187.99 | 0.0 | 0.0 | 0.0 | 0.0 | 187.99 | - | 29 April 2025 | Repayment | 12.0 | 11.59 | 0.41 | 0.0 | 0.0 | 176.4 | - | 22 May 2025 | Repayment | 63.85 | 62.57 | 1.28 | 0.0 | 0.0 | 113.83 | - | 22 May 2025 | Accrual Activity | 1.69 | 0.0 | 1.69 | 0.0 | 0.0 | 0.0 | - | 28 May 2025 | Accrual | 1.9 | 0.0 | 1.9 | 0.0 | 0.0 | 0.0 | - | 28 May 2025 | Interest Refund | 2.01 | 0.0 | 0.0 | 0.0 | 0.0 | 176.4 | - | 28 May 2025 | Accrual | 0.11 | 0.0 | 0.11 | 0.0 | 0.0 | 0.0 | - | 28 May 2025 | Merchant Issued Refund | 187.99 | 176.4 | 1.6 | 0.0 | 2.8 | 0.0 | - | 28 May 2025 | Accrual Activity | 3.12 | 0.0 | 0.32 | 0.0 | 2.8 | 0.0 | - | 28 May 2025 | Accrual | 2.8 | 0.0 | 0.0 | 0.0 | 2.8 | 0.0 | \ No newline at end of file + | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed | + | 22 April 2025 | Disbursement | 187.99 | 0.0 | 0.0 | 0.0 | 0.0 | 187.99 | false | false | + | 29 April 2025 | Repayment | 12.0 | 11.59 | 0.41 | 0.0 | 0.0 | 176.4 | false | false | + | 22 May 2025 | Repayment | 63.85 | 62.57 | 1.28 | 0.0 | 0.0 | 113.83 | true | false | + | 22 May 2025 | Accrual Activity | 1.69 | 0.0 | 1.69 | 0.0 | 0.0 | 0.0 | false | false | + | 28 May 2025 | Accrual | 1.9 | 0.0 | 1.9 | 0.0 | 0.0 | 0.0 | false | false | + | 28 May 2025 | Interest Refund | 2.01 | 0.0 | 0.0 | 0.0 | 0.0 | 176.4 | false | true | + | 28 May 2025 | Accrual | 0.11 | 0.0 | 0.11 | 0.0 | 0.0 | 0.0 | false | false | + | 28 May 2025 | Merchant Issued Refund | 187.99 | 176.4 | 1.6 | 0.0 | 2.8 | 0.0 | false | true | + | 28 May 2025 | Accrual Activity | 3.12 | 0.0 | 0.32 | 0.0 | 2.8 | 0.0 | false | true | + | 28 May 2025 | Accrual | 2.8 | 0.0 | 0.0 | 0.0 | 2.8 | 0.0 | false | false | \ No newline at end of file