Skip to content

Commit 4153b4b

Browse files
add magento cli for payment action for express checkout and removed basic setting action group
1 parent a51cb95 commit 4153b4b

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

app/code/Magento/Paypal/Test/Mftf/ActionGroup/AdminPayPalExpressCheckoutBasicSettingsActionGroup.xml

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<description value="Generate a partial refund for an order and verifying the transaction status after submit the credit memos."/>
1717
<severity value="MAJOR"/>
1818
<testCaseId value="AC-5181"/>
19+
<group value="pr_exclude"/>
20+
<group value="3rd_party_integration"/>
1921
</annotations>
2022
<before>
2123
<!-- Create Category and Product -->
@@ -31,7 +33,7 @@
3133
<argument name="credentials" value="SamplePaypalExpressConfig2"/>
3234
</actionGroup>
3335
<!-- Changing PayPal Express Checkout Basic Settings -->
34-
<actionGroup ref="AdminPayPalExpressCheckoutBasicSettingsActionGroup" stepKey="configBasicSettingPayPalExpress"/>
36+
<magentoCLI command="config:set {{StorefrontPaypalExpressSalePaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressSalePaymentActionOptionConfigData.value}}" stepKey="changePaymentAction"/>
3537
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
3638
<argument name="tags" value="config full_page"/>
3739
</actionGroup>
@@ -133,9 +135,7 @@
133135
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
134136
<!-- Disable PayPal Express Checkout and Basic setting change -->
135137
<actionGroup ref="AdminPayPalExpressCheckoutDisableActionGroup" stepKey="configPaypalExpressCheckoutDisable"/>
136-
<actionGroup ref="AdminPayPalExpressCheckoutBasicSettingsActionGroup" stepKey="disableBasicSettingPayPalExpress">
137-
<argument name="paymentAction" value="Authorization"/>
138-
</actionGroup>
138+
<magentoCLI command="config:set {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.value}}" stepKey="paymentActionChangeToAuthorization"/>
139139
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/>
140140
</after>
141141
</test>

0 commit comments

Comments
 (0)