Skip to content

Commit 6def80d

Browse files
authored
Merge pull request #121 from thebiggive/REG-33-cont
REG-33 test registration after donate again
2 parents c89f6b1 + 08b8571 commit 6def80d

18 files changed

+3002
-18396
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ build/*
33
!build/.gitkeep
44
.env
55
*.cid
6+
package-lock.json
67

78
# IDEs
89
.idea/

features/donation-as-new-donor-restart-donation.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Feature: New donor: restarting donation completes successfully
1919
And I press Donate
2020
When I wait a few seconds
2121
Then I should be redirected to a Thank You confirmation page with the correct amount
22+
When I wait long enough for email processing
2223
Then my last email should contain the correct amounts
2324
And my last email should contain the charity's custom thank you message
24-
And my last email should contain the correct name
25+
And my last email should contain the correct name

features/donation-as-new-donor-then-register.feature

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ Feature: New donor: donation completes successfully and donor registers
1414
And I press Donate
1515
When I wait a few seconds
1616
Then I should be redirected to a Thank You confirmation page with the correct amount
17+
When I wait long enough for email processing
1718
Then my last email should contain the correct amounts
1819
And my last email should contain the charity's custom thank you message
1920
And my last email should contain the correct name
20-
# When I press on the button to set a password
21-
# Steps below commented out during REG-33 - I want to get at least something passing and then work on adding
22-
# building it up again. Seems like the click on the previous line isn't opeing the modal for some reason
23-
# so entering the new password fails right now.
24-
25-
# And I enter my new password
26-
# And I press on the button to create an account
27-
# Then the page should update to say I'm registered
28-
# When I wait a few seconds
29-
# Then I should recieve a registration success email with the email I donated with
21+
When I press on the button to set a password
22+
And I enter my new password
23+
And I press on the button to create an account
24+
Then the page should update to say I'm registered
25+
When I wait long enough for email processing
26+
Then I should recieve a registration success email with the email I donated with

features/donation-with-credits.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Feature: Existing donor: credit donation completes successfully
2424
And I press Donate
2525
When I wait a few seconds
2626
Then I should be redirected to a Thank You confirmation page with the correct amount
27+
When I wait long enough for email processing
2728
Then my last email should contain the correct amounts
2829
And my last email should contain the charity's custom thank you message
29-
And my last email should contain the correct name
30+
And my last email should contain the correct name

features/donation-with-saved-info.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@skip()
21
Feature: Existing donor: saved payment method donation completes successfully
32

43
As a returning donor
@@ -23,6 +22,7 @@ Feature: Existing donor: saved payment method donation completes successfully
2322
And I press Donate
2423
When I wait a few seconds
2524
Then I should be redirected to a Thank You confirmation page with the correct amount
25+
When I wait long enough for email processing
2626
Then my last email should contain the correct amounts
2727
And my last email should contain the charity's custom thank you message
28-
And my last email should contain the correct name
28+
And my last email should contain the correct name

features/submit-pledge.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ Feature: Pledge form is submitted successfully
2323
When I wait a few seconds
2424
Then I should see a Communities card with heading "Thank you!"
2525
And the main card text should start with confirmation of my chosen pledge amount and the correct charity name
26+
When I wait long enough for email processing
2627
Then my last email subject should contain "Thank you for your pledge"
2728
And my last email should contain my pledged amount

0 commit comments

Comments
 (0)