This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed PayPal tests. * Updated reroute email on Gifts backend.
- Loading branch information
Kate
authored
Apr 1, 2018
1 parent
84a6854
commit 9f314c1
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
backend-donations/config/development/reroute_email.settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
reroute_email_enable: true | ||
reroute_email_address: falcon-test@systemseed.com | ||
reroute_email_address: test+falcon-don@systemseed.com | ||
reroute_email_enable_message: false | ||
_core: | ||
default_config_hash: 13h0XWn5O_Erl8GU184XxSDadjISwLzYZbsqi4cbMEs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
reroute_email_enable: true | ||
reroute_email_address: falcon-test@systemseed.com | ||
reroute_email_address: test+falcon-gifts@systemseed.com | ||
reroute_email_enable_message: false | ||
_core: | ||
default_config_hash: 13h0XWn5O_Erl8GU184XxSDadjISwLzYZbsqi4cbMEs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -249,13 +249,15 @@ public function payWithPayPal($total_formatted) { | |
$I->switchToNextTab(); | ||
$I->waitForText('PayPal', 80); | ||
$I->wait(2); | ||
$I->see($total_formatted); | ||
|
||
// Paypal will render auth form into iframe. Switch to it. | ||
$I->waitForElement('#injectedUnifiedLogin iframe'); | ||
$I->switchToIFrame('injectedUl'); | ||
|
||
// PayPal authentication step 1: Email. | ||
$I->fillField('login_email', '[email protected]'); | ||
$I->click('#btnNext'); | ||
|
||
$I->waitForElement('input[name=login_password]'); | ||
$I->wait(2); | ||
|
||
// PayPal authentication step 2: password. | ||
$I->fillField('login_password', 'C0nc3rn!'); | ||
$I->click('#btnLogin'); | ||
|
||
|
@@ -265,6 +267,9 @@ public function payWithPayPal($total_formatted) { | |
|
||
// Wait for Buy Now button in Paypal window. | ||
$I->waitForElement('#confirmButtonTop', 80); | ||
|
||
$I->expectTo('See correct total amount.'); | ||
$I->see($total_formatted); | ||
$I->wait(3); | ||
|
||
$I->click('#confirmButtonTop'); | ||
|