FINERACT-2181: Added revert replay checks for transactions check

This commit is contained in:
tamasszabo-dpc
2025-06-05 14:59:27 +02:00
committed by Adam Saghy
parent dc1d6610a3
commit 23f6a2ec62
@@ -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 |
| 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 |