Skip to content

Commit 7b05b32

Browse files
committed
ACQE-8554: Create partial capture for order paid with PayPal Payments Advanced
- Moved grab command from before section to main body and added tags in cache AG
1 parent 08e7040 commit 7b05b32

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfigs"/>
8585
<!-- clean cache -->
8686
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
87-
<argument name="tags" value=""/>
87+
<argument name="tags" value="config full_page"/>
8888
</actionGroup>
8989
<!-- Login to storefront -->
9090
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="customerLogin">
@@ -115,7 +115,6 @@
115115
<actionGroup ref="StorefrontPaypalSwitchBackToMagentoFromCheckoutPageActionGroup" stepKey="submitAdvancedPayment"/>
116116
<!-- Assert Order success -->
117117
<actionGroup ref="AssertStorefrontCheckoutSuccessActionGroup" stepKey="assertCheckoutSuccessPayPalAdvanced"/>
118-
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="grabOrderNumber"/>
119118
</before>
120119
<after>
121120
<magentoCLI command="config:set {{DisablePaymentAdvancedSolution.path}} {{DisablePaymentAdvancedSolution.value}}" stepKey="disablePaymentAdvanced"/>
@@ -130,8 +129,8 @@
130129
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
131130
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
132131
</after>
133-
<!-- Step 1: Log in to Admin (already done in before section) -->
134-
<!-- Step 2: Go to Sales > Orders and open Order from Preconditions -->
132+
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="grabOrderNumber"/>
133+
<!-- Step 1,2: Go to Sales > Orders and open Order from Preconditions -->
135134
<actionGroup ref="OpenOrderByIdActionGroup" stepKey="openOrder">
136135
<argument name="orderId" value="{$grabOrderNumber}"/>
137136
</actionGroup>

0 commit comments

Comments
 (0)