Skip to content

Commit 9e64edc

Browse files
committed
ACQE-6500: [AC-6137]PayPalSmartButtonInProductPage
AddedFreeShippingMethod
1 parent 5cdfee6 commit 9e64edc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
<description value="Customers should be able to perform PayPal Express Checkout method using PayPal Smart Button on Product Page"/>
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="AC-6137"/>
19-
<!-- <group value="paypalExpress"/>-->
2019
<group value="3rd_party_integration"/>
2120
<!-- <group value="pr_exclude"/>-->
2221
</annotations>
2322
<before>
2423
<createData entity="SimpleProduct" stepKey="simpleProduct"/>
2524
<!-- Create Customer -->
2625
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
26+
<!-- Enable free shipping method -->
27+
<createData entity="FreeShippinMethodConfig" stepKey="enableFreeShippingMethod"/>
2728
<magentoCLI command="config:set {{StorefrontPaypalExpressOrderPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressOrderPaymentActionOptionConfigData.value}}" stepKey="setPaymentAction"/>
2829
<magentoCLI command="config:set {{StorefrontPaypalExpressAuthorizationBillingAgreementPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressAuthorizationBillingAgreementPaymentActionOptionConfigData.value}}" stepKey="setBillingPaymentAction"/>
2930
<magentoCLI command="config:set {{StorefrontPaypalEnableTransferCartLineConfigData.path}} {{StorefrontPaypalEnableTransferCartLineConfigData.value}}" stepKey="enableTransferCartLine"/>
@@ -34,6 +35,8 @@
3435
</actionGroup>
3536
</before>
3637
<after>
38+
<!-- Disable free shipping method -->
39+
<createData entity="FreeShippinMethodDefault" stepKey="disableFreeShippingMethod"/>
3740
<magentoCLI command="config:set {{StorefrontPaypalDisableSkipOrderReviewStepConfigData.path}} {{StorefrontPaypalDisableSkipOrderReviewStepConfigData.value}}" stepKey="disableSkipOrderReview"/>
3841
<magentoCLI command="config:set {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.value}}" stepKey="returnPaymentActionDefaultValue"/>
3942
<magentoCLI command="config:set {{StorefrontPaypalDisableTransferCartLineConfigData.path}} {{StorefrontPaypalDisableTransferCartLineConfigData.value}}" stepKey="disableTransferCartLine"/>

0 commit comments

Comments
 (0)