Skip to content

Commit abbd0f8

Browse files
further fixes
1 parent 49a1b70 commit abbd0f8

9 files changed

Lines changed: 437 additions & 465 deletions

‎FileProcessor.IntegrationTests/Features/FileProfile.feature‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ Scenario: Reject duplicate file profile name and request type
4141
| DuplicateType | BasedOn |
4242
| Name | Profile A |
4343
| RequestType | Profile B |
44-
#And the file profiles list should contain 2 items
44+
And the file profiles list should contain 2 items

‎FileProcessor.IntegrationTests/Features/FileProfile.feature.cs‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎FileProcessor.IntegrationTests/Features/FileProfileSteps.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public async Task WhenITryToCreateTheFollowingDuplicateFileProfiles(DataTable ta
8585
}
8686

8787
[Then(@"the file profiles list should contain (.*) items")]
88+
[When(@"the file profiles list should contain (.*) items")]
8889
public async Task ThenTheFileProfilesListShouldContainItems(int expectedCount)
8990
{
9091
Result<List<FileProfile>> fileProfilesResult = await this.FileProcessorSteps.GetFileProfiles(this.TestingContext.AccessToken, CancellationToken.None);

‎FileProcessor.IntegrationTests/Features/GetFileImportDetails.feature‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ Background:
8383
| Deposit1 | 300.00 | Today | Test Merchant 2 | Test Estate 1 |
8484

8585
@PRTest
86-
@Nightly1
8786
Scenario: Get File Import Log Details
8887
Given I have a file named 'SafarcomTopup1.txt' with the following contents
8988
| Column1 | Column2 | Column3 |

‎FileProcessor.IntegrationTests/Features/GetFileImportDetails.feature.cs‎

Lines changed: 138 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎FileProcessor.IntegrationTests/Features/ProcessTopupCSV.feature‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Background:
7575
| Reference | Amount | DateTime | MerchantName | EstateName |
7676
| Deposit1 | 300.00 | Today | Test Merchant 1 | Test Estate 1 |
7777

78-
@Nightly
78+
7979
Scenario: Process Safaricom Topup File with 1 detail row
8080
Given I have a file named 'SafarcomTopup.txt' with the following contents
8181
| Column1 | Column2 | Column3 |
@@ -88,7 +88,6 @@ Scenario: Process Safaricom Topup File with 1 detail row
8888

8989
#When As merchant "Test Merchant 1" on Estate "Test Estate 1" I get my transactions 1 transaction should be returned
9090

91-
@Nightly
9291
Scenario: Process Safaricom Topup File with 2 detail rows
9392
Given I have a file named 'SafarcomTopup.txt' with the following contents
9493
| Column1 | Column2 | Column3 |
@@ -102,7 +101,6 @@ Scenario: Process Safaricom Topup File with 2 detail rows
102101

103102
#When As merchant "Test Merchant 1" on Estate "Test Estate 1" I get my transactions 2 transaction should be returned
104103

105-
@Nightly
106104
Scenario: Process 2 Safaricom Topup Files
107105
Given I have a file named 'SafarcomTopup1.txt' with the following contents
108106
| Column1 | Column2 | Column3 |
@@ -126,7 +124,6 @@ Scenario: Process 2 Safaricom Topup Files
126124
#When As merchant "Test Merchant 1" on Estate "Test Estate 1" I get my transactions 3 transaction should be returned
127125

128126
@PRTest
129-
@Nightly
130127
Scenario: Process Duplicate Safaricom Topup File with 1 detail row
131128
Given I have a file named 'SafarcomTopup1.txt' with the following contents
132129
| Column1 | Column2 | Column3 |
@@ -151,7 +148,6 @@ Scenario: Process Duplicate Safaricom Topup File with 1 detail row
151148
| Test Estate 1 | Test Merchant 1 | B2A59ABF-293D-4A6B-B81B-7007503C3476 | ABA59ABF-293D-4A6B-B81B-7007503C3476 |
152149

153150
# Wrong Format??
154-
@Nightly
155151
Scenario: Process Safaricom Topup File with Upload Date Time
156152
Given I have a file named 'SafarcomTopup.txt' with the following contents
157153
| Column1 | Column2 | Column3 |

‎FileProcessor.IntegrationTests/Features/ProcessTopupCSV.feature.cs‎

Lines changed: 150 additions & 160 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎FileProcessor.IntegrationTests/Features/ProcessVoucherCSV.feature‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Background:
7676
| Reference | Amount | DateTime | MerchantName | EstateName |
7777
| Deposit1 | 300.00 | Today | Test Merchant 1 | Test Estate 1 |
7878

79-
@Nightly2
8079
Scenario: Process Voucher File with 1 detail row for recipient email
8180
Given I have a file named 'VoucherIssue.txt' with the following contents
8281
| Column1 | Column2 | Column3 | Column4 |
@@ -89,7 +88,6 @@ Scenario: Process Voucher File with 1 detail row for recipient email
8988

9089
#When As merchant "Test Merchant 1" on Estate "Test Estate 1" I get my transactions 1 transaction should be returned
9190

92-
@Nightly2
9391
Scenario: Process Voucher File with 1 detail row for recipient mobile
9492
Given I have a file named 'VoucherIssue.txt' with the following contents
9593
| Column1 | Column2 | Column3 | Column4 |
@@ -102,7 +100,6 @@ Scenario: Process Voucher File with 1 detail row for recipient mobile
102100

103101
#When As merchant "Test Merchant 1" on Estate "Test Estate 1" I get my transactions 1 transaction should be returned
104102

105-
@Nightly2
106103
Scenario: Process Voucher File with 2 detail rows
107104
Given I have a file named 'VoucherIssue.txt' with the following contents
108105
| Column1 | Column2 | Column3 | Column4 |
@@ -116,7 +113,6 @@ Scenario: Process Voucher File with 2 detail rows
116113

117114
#When As merchant "Test Merchant 1" on Estate "Test Estate 1" I get my transactions 2 transaction should be returned
118115

119-
@Nightly2
120116
Scenario: Process 2 Voucher Files
121117
Given I have a file named 'VoucherIssue1.txt' with the following contents
122118
| Column1 | Column2 | Column3 | Column4 |
@@ -141,7 +137,6 @@ Scenario: Process 2 Voucher Files
141137
#When As merchant "Test Merchant 1" on Estate "Test Estate 1" I get my transactions 4 transaction should be returned
142138

143139
@PRTest
144-
@Nightly2
145140
Scenario: Process Duplicate Voucher Topup File with 1 detail row
146141
Given I have a file named 'VoucherIssue1.txt' with the following contents
147142
| Column1 | Column2 | Column3 | Column4 |

0 commit comments

Comments
 (0)