File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
app/code/Magento/Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
1111 <actionGroup name =" AdminClickCancelButtonInInvoiceActionGroup" >
1212 <annotations >
13- <description >Admin clicks cancel button on invoice page.</description >
13+ <description >Admin clicks cancel button from top menu on invoice page.</description >
1414 </annotations >
1515 <waitForElementClickable selector =" {{AdminInvoiceMainActionsSection.cancel}}" stepKey =" waitForHoldButtonToBeClickable" />
1616 <click selector =" {{AdminInvoiceMainActionsSection.cancel}}" stepKey =" clickCancelButton" />
17- <waitForPageLoad stepKey =" waitForLoadPage2 " />
17+ <waitForPageLoad stepKey =" waitForLoadPage " />
1818 <waitForText userInput =" You canceled the invoice." stepKey =" seeMessageInvoiceCanceled" />
1919 </actionGroup >
2020</actionGroups >
Original file line number Diff line number Diff line change 99<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
1111 <actionGroup name =" AdminCreateInvoiceNotCaptureActionGroup" extends =" AdminCreateInvoiceActionGroup" >
12+ <annotations >
13+ <description >Admin creates invoice for online payment with No Capture option selected.</description >
14+ </annotations >
1215 <waitForElementVisible selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" waitForInvoiceButton" before =" clickInvoice" />
1316 <scrollTo selector =" {{AdminInvoiceMainActionsSection.selectModeOfAmount}}" x =" 0" y =" -80" stepKey =" scrollToAmount" after =" waitForInvoicePage" />
1417 <selectOption userInput =" Not Capture" selector =" {{AdminInvoiceMainActionsSection.selectModeOfAmount}}" stepKey =" selectNotCaptureUnderAmount" after =" scrollToAmount" />
You can’t perform that action at this time.
0 commit comments