Skip to content

Commit cd9b6d5

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

10 files changed

+18
-154
lines changed

app/code/Magento/Checkout/Test/Mftf/ActionGroup/CheckoutSelectCreditCardPaymentActionGroup.xml

Lines changed: 0 additions & 21 deletions
This file was deleted.

app/code/Magento/Checkout/Test/Mftf/Section/StorefrontCheckoutPaymentMethodSection.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<section name="StorefrontCheckoutPaymentMethodSection">
1212
<element name="billingAddress" type="text" selector=".checkout-billing-address"/>
1313
<element name="checkPaymentMethodByName" type="radio" selector="//div[@id='checkout-payment-method-load']//div[@class='payment-method']//label//span[contains(., '{{methodName}}')]/../..//input" parameterized="true"/>
14-
<element name="checkCreditCard" type="radio" selector="//div[@id='checkout-payment-method-load']//div[@class='payment-method payment-method-braintree']//label//span[contains(., 'Credit Card')]/../..//input"/>
1514
<element name="checkPayFlowCreditCard" type="radio" selector="//div[@id='checkout-payment-method-load']//div[@class='items payment-methods']//div[@class='payment-group']//label//span[contains(., 'Credit Card (Payflow Pro)')]/../..//input"/>
1615
<element name="billingAddressSameAsShipping" type="checkbox" selector=".payment-method._active [name='billing-address-same-as-shipping']"/>
1716
<element name="billingAddressSameAsShippingShared" type="checkbox" selector="#billing-address-same-as-shipping-shared"/>

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminBraintreeEnableActionGroup.xml

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11+
<actionGroup name="AdminPayPalPayflowProActionGroup" extends="AdminPayPalPayflowProWithValutActionGroup">
12+
<annotations>
13+
<description>Go to the 'Configuration' page for 'Payment Methods'. Fill in the provided Sample PayPal Payflow pro credentials and other details. Clicks on Save.</description>
14+
</annotations>
15+
<remove keyForRemoval="enableSolutionValut"/>
16+
</actionGroup>
17+
</actionGroups>

app/code/Magento/Sales/Test/Mftf/ActionGroup/FillBraintreeCreditCardActionGroup.xml

Lines changed: 0 additions & 28 deletions
This file was deleted.

app/code/Magento/Sales/Test/Mftf/Data/BraintreeData.xml

Lines changed: 0 additions & 22 deletions
This file was deleted.

app/code/Magento/Sales/Test/Mftf/Page/AdminConfigBraintreePage.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

app/code/Magento/Sales/Test/Mftf/Section/BraintreeConfigSection.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/code/Magento/Sales/Test/Mftf/Section/BraintreeCreditCardSection.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<argument name="tags" value=""/>
3636
</actionGroup>
3737
<!-- Paypal Payflow -->
38-
<actionGroup ref="AdminPayPalPayflowProWithValutActionGroup" stepKey="ConfigPayflow">
38+
<actionGroup ref="AdminPayPalPayflowProActionGroup" stepKey="ConfigPayflow">
3939
<argument name="credentials" value="_CREDS"/>
4040
</actionGroup>
4141
</before>

0 commit comments

Comments
 (0)