Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHEE-700] test #278

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ public void iAmAbleToParseSubBatchSummaryResponse() {

@And("I call the sub batch summary API for sub batch summary with expected status of {int}")
public void iCallTheSubBatchSummaryAPIForSubBatchSummaryWithExpectedStatusOf(int expectedStatus) {
await().atMost(awaitMost, SECONDS).pollDelay(pollDelay, SECONDS).pollInterval(pollInterval, SECONDS).untilAsserted(() -> {
await().atMost(awaitMost + 20, SECONDS).pollDelay(pollDelay, SECONDS).pollInterval(pollInterval, SECONDS).untilAsserted(() -> {
RequestSpecification requestSpec = Utils.getDefaultSpec(scenarioScopeState.tenant);
requestSpec.header("X-Correlation-ID", scenarioScopeState.clientCorrelationId);
if (authEnabled) {
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/resources/batch_demo_csv/ph-ee-bulk-demo-7.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id,request_id,payment_mode,payer_identifier_type,payer_identifier,payee_identifier_type,payee_identifier,amount,currency,note
0,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,003001003879112168,accountNumber,103873110196,850,USD,Test Payee Payment
1,72aa3ea4-e6f6-4880-877f-39f6ac4d052e,mojaloop,accountNumber,003001003879112168,accountNumber,103874120160,222,USD,Test Payee Payment
2,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,003001003879112168,accountNumber,103873110195,840,USD,Test Payee Payment
0,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,030010038791121681,accountNumber,103873110196,850,USD,Test Payee Payment
1,72aa3ea4-e6f6-4880-877f-39f6ac4d052e,mojaloop,accountNumber,030010038791121683,accountNumber,103874120160,222,USD,Test Payee Payment
2,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,030010038791121684,accountNumber,103873110195,840,USD,Test Payee Payment
6 changes: 3 additions & 3 deletions src/test/java/resources/bulkPayment.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@gov @ext
Feature: Test ability to make payment to individual with bank account

Scenario: Input CSV file using the batch transaction API and poll batch summary API till we get completed status
Scenario: Input CSV file using the batch transaction API and poll batch summary API till we get completed status [WIP]
Given I have tenant as "paymentbb1"
And I have the demo csv file "bulk_payment.csv"
And I create a list of payee identifiers from csv file
Expand All @@ -25,7 +25,7 @@ Feature: Test ability to make payment to individual with bank account
And Status of transaction is "COMPLETED"
And I should have matching total txn count and successful txn count in response

Scenario: Bulk Transfer with ClosedLoop and Mojaloop
Scenario: Bulk Transfer with ClosedLoop and Mojaloop [WIP]
Given I have tenant as "paymentbb1"
And I have the demo csv file "bulk_payment_closedl_mock_mojaloop.csv"
And I create a list of payee identifiers from csv file
Expand All @@ -49,7 +49,7 @@ Feature: Test ability to make payment to individual with bank account
And Status of transaction is "COMPLETED"
And My total txns 8 and successful txn count in response should Match

Scenario: Bulk Transfer with ClosedLoop and GSMA
Scenario: Bulk Transfer with ClosedLoop and GSMA [WIP]
#payer 1 creation
Given I have Fineract-Platform-TenantId as "payerfsp2"
When I create and setup a "payer" with id "1" and account balance of 100 for combine test cases
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/resources/identityMapperTest.feature
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Feature: Identity Account Mapper Api Test
Then I will call the fetch beneficiary API with expected status of 200
And I will assert the fields from fetch beneficiary response
@gov @ext
Scenario: Batch Account Lookup Integration Test
Scenario: Batch Account Lookup Integration Test [WIP]
Given I create an IdentityMapperDTO for Register Beneficiary from csv file
When I call the register beneficiary API with expected status of 202 and stub "/registerBeneficiaryApiTest"
# And I will sleep for 3000 millisecond
Expand Down