Skip to content

Commit f73748b

Browse files
committed
ACQE-5754 : Create Order User PayPalExpress Checkout With Payment Action Is Sale
paypal expreess checkout with flatrate shipping
1 parent 27779ab commit f73748b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,15 @@
9393
<waitForText selector="{{AdminOrderCommentsTabSection.orderStatus}}" userInput="Processing" stepKey="assertOrderStatusInCommentsHistorySection"/>
9494
<!-- Open Invoice and check -->
9595
<actionGroup ref="AdminOpenInvoiceFromOrderPageActionGroup" stepKey="openInvoiceFromOrder"/>
96-
<waitForElementVisible selector="{{AdminOrderDetailsInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="waitForLastTransactionIDFieldToBeAppearedAfterSubmittingInvoice"/>
97-
<grabTextFrom selector="{{AdminOrderDetailsInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="grabLastTransactionIDForCaptured"/>
98-
<!--Open the comment history tab and assert the comment-->
99-
<actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistoryAfterSubmittingInvoice"/>
100-
<waitForText selector="{{AdminOrderCommentsTabSection.orderCommentsWithType('Captured amount')}}" userInput="Captured amount of $30.00 online. Transaction ID: &quot;{$grabLastTransactionIDForCaptured}&quot;" stepKey="seeOrderHistoryNotesAfterSubmittingInvoice"/>
10196
<after>
10297
<!--Delete product -->
10398
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
10499
<!-- Disable PayPal Express Checkout and Basic setting change -->
105100
<actionGroup ref="AdminPayPalExpressCheckoutDisableActionGroup" stepKey="configPaypalExpressCheckoutDisable"/>
106101
<magentoCLI command="config:set {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.value}}" stepKey="paymentActionChangeToAuthorization"/>
107102
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/>
108-
<!--Delete customer -->
109103
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer" />
104+
<!--Delete customer -->
110105
<deleteData stepKey="deleteCustomer" createDataKey="createCustomer"/>
111106
</after>
112107
</test>

0 commit comments

Comments
 (0)