Skip to content

Commit 2efd667

Browse files
committed
AC-10787-v1:: Use alternate payment method instead of Braintree for the test StorefrontAddProductToCartAndGoToCheckoutWithInvalidCreditCardTest
1 parent c8cb849 commit 2efd667

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
2424
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2525
<actionGroup ref="AdminPayPalPayflowProActionGroup" stepKey="configPaypalPayflowPro">
26-
<argument name="credentials" value="SamplePaypalPaymentsProConfig"/>
26+
<argument name="credentials" value="_CREDS"/>
2727
</actionGroup>
2828
</before>
2929
<after>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,8 @@
6363
<actionGroup ref="FillPayFlowCreditCardActionGroup" stepKey="fillCreditCardDetails">
6464
<argument name="creditCardDetails" value="VisaDefaultCard"/>
6565
</actionGroup>
66-
<!-- Place Order and assert the error message -->
66+
<!-- Place Order and assert the url -->
6767
<click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="clickPlaceOrder"/>
68-
<waitForElementVisible selector="//*[@class='modals-wrapper']//aside[@class='modal-popup confirm _show']//div[@class='modal-inner-wrap']" stepKey="seeErrorMessage"/>
69-
<click selector="//*[@class='modals-wrapper']//aside[@class='modal-popup confirm _show']//div[@class='modal-inner-wrap']//footer/button" stepKey="clickOk"/>
7068
<wait time="6" stepKey="waitForPageLoad" />
7169
<seeCurrentUrlMatches regex="~\/checkout/#payment~" stepKey="seeCurrentUrl"/>
7270
</test>

0 commit comments

Comments
 (0)