Skip to content

Commit

Permalink
FINERACT-2070: E2E testcase migration - feature files - pt4
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-kovacs-dpc authored and adamsaghy committed Nov 8, 2024
1 parent 637539a commit 87ad932
Show file tree
Hide file tree
Showing 7 changed files with 2,107 additions and 317 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@Product
Feature: LoanProduct

@Scenario1
@Scenario1 @TestRailId:C52
Scenario: As a user I would like to fully repay the loan in time
When Admin sets the business date to "12 December 2021"
When Admin creates a client with random data
Expand All @@ -14,7 +14,7 @@ Feature: LoanProduct
Then Repayment transaction is created with 1000 amount and "AUTOPAY" type
Then Loan has 0 outstanding amount

@Scenario2
@Scenario2 @TestRailId:C53
Scenario: As a user I would like to fully repay a loan which was disbursed 2 times
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -30,7 +30,7 @@ Feature: LoanProduct
Then Repayment transaction is created with 1500 amount and "AUTOPAY" type
Then Loan has 0 outstanding amount

@Scenario3
@Scenario3 @TestRailId:C54
Scenario: As a user I would like to fully repay a multi disbursed loan with 2 repayments
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -49,7 +49,7 @@ Feature: LoanProduct
And Customer makes "AUTOPAY" repayment on "15 July 2022" with 1000 EUR transaction amount
Then Loan has 0 outstanding amount

@Scenario4
@Scenario4 @TestRailId:C55
Scenario: As a user I would like to multi disburse a loan which was previously fully paid
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -68,7 +68,7 @@ Feature: LoanProduct
And Customer makes "AUTOPAY" repayment on "15 July 2022" with 500 EUR transaction amount
Then Loan has 0 outstanding amount

@Scenario5
@Scenario5 @TestRailId:C57
Scenario: As a user I would like to fully repay a loan and check a repayment reversal with NSF fee
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -88,7 +88,7 @@ Feature: LoanProduct
And Customer makes "AUTOPAY" repayment on "18 June 2022" with 1010 EUR transaction amount
Then Loan has 0 outstanding amount

@Scenario6
@Scenario6 @TestRailId:C58
Scenario: As a user I would like to repay the half amount of the loan and check a repayment reversal with NSF fee
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -108,7 +108,7 @@ Feature: LoanProduct
And Customer makes "AUTOPAY" repayment on "18 June 2022" with 1010 EUR transaction amount
Then Loan has 0 outstanding amount

@Scenario7
@Scenario7 @TestRailId:C59
Scenario: As a user I would like to fully repay a loan then reverse the repayment + add an NSF fee after the 1 month period
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -128,7 +128,7 @@ Feature: LoanProduct
And Customer makes "AUTOPAY" repayment on "5 July 2022" with 1010 EUR transaction amount
Then Loan has 0 outstanding amount

@Scenario8
@Scenario8 @TestRailId:C60
Scenario: As a user I would like to repay the half amount of the loan and do a refund
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -144,7 +144,7 @@ Feature: LoanProduct
When Refund happens on "1 July 2022" with 500 EUR transaction amount
Then Loan has 0 outstanding amount

@Scenario9
@Scenario9 @TestRailId:C61
Scenario: As a user I would like to repay the half amount of the loan and do a refund + repayment reversal on the repayment
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand All @@ -162,7 +162,7 @@ Feature: LoanProduct
When Customer makes a repayment undo on "25 June 2022"
Then Loan has 500 outstanding amount

@Scenario10
@Scenario10 @TestRailId:C62
Scenario: As a user I would like to repay the half amount of the loan and do a refund + repayment reversal + refund reversal
When Admin sets the business date to "1 June 2022"
When Admin creates a client with random data
Expand Down

0 comments on commit 87ad932

Please sign in to comment.