File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 93
93
<waitForText selector =" {{AdminOrderCommentsTabSection.orderStatus}}" userInput =" Processing" stepKey =" assertOrderStatusInCommentsHistorySection" />
94
94
<!-- Open Invoice and check -->
95
95
<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: " {$grabLastTransactionIDForCaptured}" " stepKey =" seeOrderHistoryNotesAfterSubmittingInvoice" />
101
96
<after >
102
97
<!-- Delete product -->
103
98
<deleteData createDataKey =" createProduct" stepKey =" deleteProduct" />
104
99
<!-- Disable PayPal Express Checkout and Basic setting change -->
105
100
<actionGroup ref =" AdminPayPalExpressCheckoutDisableActionGroup" stepKey =" configPaypalExpressCheckoutDisable" />
106
101
<magentoCLI command =" config:set {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.value}}" stepKey =" paymentActionChangeToAuthorization" />
107
102
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutFromAdmin" />
108
- <!-- Delete customer -->
109
103
<actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" logoutCustomer" />
104
+ <!-- Delete customer -->
110
105
<deleteData stepKey =" deleteCustomer" createDataKey =" createCustomer" />
111
106
</after >
112
107
</test >
You can’t perform that action at this time.
0 commit comments