Skip to content

Commit d1aacc5

Browse files
ACQE-5709 : Enable paypal express checkout
1 parent d465a5d commit d1aacc5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontPaypalExpressCheckoutWithDiscountCoupon.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@
4444
<fillField selector="{{AdminCartPriceRulesFormSection.discountAmount}}" userInput="20" stepKey="fillDiscountAmount"/>
4545
<actionGroup ref="AdminCartPriceRuleSaveActionGroup" stepKey="saveCartPriceRule"/>
4646
<!-- end of create cart price rule -->
47-
47+
<!-- Configure Paypal Express Checkout -->
48+
<actionGroup ref="AdminPayPalExpressCheckoutEnableActionGroup" stepKey="ConfigPayPalExpress">
49+
<argument name="credentials" value="SamplePaypalExpressConfig2"/>
50+
</actionGroup>
4851
</before>
4952
<after>
5053
<magentoCLI command="config:set paypal/general/merchant_country US" stepKey="setMerchantCountry"/>
@@ -74,7 +77,7 @@
7477
</actionGroup>
7578

7679
<!-- click on PayPal payment radio button -->
77-
<waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" stepKey="waitForPlaceOrderButton"/>
80+
<waitForElement selector="{{CheckoutPaymentSection.PayPalPaymentRadio}}" stepKey="waitForPlaceOrderButton"/>
7881
<click selector="{{CheckoutPaymentSection.PayPalPaymentRadio}}" stepKey="guestSelectCheckMoneyOrderPayment"/>
7982

8083
<!--Click Paypal button-->

0 commit comments

Comments
 (0)