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 10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
11
<actionGroup name =" AdminClickCancelButtonInInvoiceActionGroup" >
12
12
<annotations >
13
- <description >Admin clicks cancel button on invoice page.</description >
13
+ <description >Admin clicks cancel button from top menu on invoice page.</description >
14
14
</annotations >
15
15
<waitForElementClickable selector =" {{AdminInvoiceMainActionsSection.cancel}}" stepKey =" waitForHoldButtonToBeClickable" />
16
16
<click selector =" {{AdminInvoiceMainActionsSection.cancel}}" stepKey =" clickCancelButton" />
17
- <waitForPageLoad stepKey =" waitForLoadPage2 " />
17
+ <waitForPageLoad stepKey =" waitForLoadPage " />
18
18
<waitForText userInput =" You canceled the invoice." stepKey =" seeMessageInvoiceCanceled" />
19
19
</actionGroup >
20
20
</actionGroups >
Original file line number Diff line number Diff line change 9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
11
<actionGroup name =" AdminCreateInvoiceNotCaptureActionGroup" extends =" AdminCreateInvoiceActionGroup" >
12
+ <annotations >
13
+ <description >Admin creates invoice for online payment with No Capture option selected.</description >
14
+ </annotations >
12
15
<waitForElementVisible selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" waitForInvoiceButton" before =" clickInvoice" />
13
16
<scrollTo selector =" {{AdminInvoiceMainActionsSection.selectModeOfAmount}}" x =" 0" y =" -80" stepKey =" scrollToAmount" after =" waitForInvoicePage" />
14
17
<selectOption userInput =" Not Capture" selector =" {{AdminInvoiceMainActionsSection.selectModeOfAmount}}" stepKey =" selectNotCaptureUnderAmount" after =" scrollToAmount" />
You can’t perform that action at this time.
0 commit comments