File tree 5 files changed +10
-5
lines changed
CatalogInventory/Test/Mftf/Test
ConfigurableProduct/Test/Mftf/Test 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 84
84
<comment userInput =" Create invoice" stepKey =" createInvoice" />
85
85
86
86
<actionGroup ref =" AdminOrderGridClickFirstRowActionGroup" stepKey =" clickOrderRow" />
87
- <actionGroup ref =" AdminClickInvoiceButtonIntoOrderActionGroup" stepKey =" clickInvoiceButton" />
87
+ <click selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" clickInvoiceButton" />
88
+ <waitForPageLoad stepKey =" waitForInvoicePageToLoad" />
88
89
<see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" New Invoice" stepKey =" seeNewInvoiceInPageTitle" after =" clickInvoiceButton" />
89
90
<see selector =" {{AdminInvoiceTotalSection.total('Subtotal')}}" userInput =" $150.00" stepKey =" seeCorrectGrandTotal" />
90
91
<actionGroup ref =" AdminInvoiceClickSubmitActionGroup" stepKey =" clickSubmitInvoice" />
Original file line number Diff line number Diff line change 125
125
<waitForLoadingMaskToDisappear stepKey =" waitForLoadingMask4" />
126
126
127
127
<actionGroup ref =" AdminOrderGridClickFirstRowActionGroup" stepKey =" clickOrderRow" />
128
- <actionGroup ref =" AdminClickInvoiceButtonIntoOrderActionGroup" stepKey =" clickInvoice" />
128
+ <click selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" clickInvoice" />
129
+ <waitForPageLoad stepKey =" waitForNewInvoicePageToLoad" />
129
130
<actionGroup ref =" AdminInvoiceClickSubmitActionGroup" stepKey =" clickSubmitInvoice" />
130
131
<see selector =" {{AdminOrderDetailsMessagesSection.successMessage}}" userInput =" The invoice has been created." stepKey =" seeSuccessMessage" />
131
132
<click selector =" {{AdminOrderDetailsMainActionsSection.ship}}" stepKey =" clickShip" />
Original file line number Diff line number Diff line change 70
70
</actionGroup >
71
71
72
72
<actionGroup ref =" AdminOrderGridClickFirstRowActionGroup" stepKey =" clickOrderRow" />
73
- <actionGroup ref =" AdminClickInvoiceButtonIntoOrderActionGroup" stepKey =" clickInvoiceButton" />
73
+ <click selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" clickInvoiceButton" />
74
+ <waitForPageLoad stepKey =" waitForNewInvoicePageLoad" />
74
75
<fillField selector =" {{AdminInvoiceItemsSection.qtyToInvoiceColumn}}" userInput =" 1" stepKey =" ChangeQtyToInvoice" />
75
76
<click selector =" {{AdminInvoiceItemsSection.updateQty}}" stepKey =" updateQuantity" />
76
77
<waitForPageLoad stepKey =" waitPageToBeLoaded" />
Original file line number Diff line number Diff line change 47
47
<argument name =" customer" value =" $$createCustomer$$" />
48
48
</actionGroup >
49
49
50
- <actionGroup ref =" AdminClickInvoiceButtonIntoOrderActionGroup" stepKey =" clickInvoiceAction" />
50
+ <click selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" clickInvoiceAction" />
51
+ <see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" New Invoice" stepKey =" seePageNameNewInvoicePage" />
51
52
<actionGroup ref =" AdminInvoiceClickSubmitActionGroup" stepKey =" clickSubmitInvoice" />
52
53
<click selector =" {{AdminOrderDetailsMainActionsSection.ship}}" stepKey =" clickShipAction" />
53
54
<seeInCurrentUrl url =" {{AdminShipmentNewPage.url}}" stepKey =" seeOrderShipmentUrl" />
Original file line number Diff line number Diff line change 102
102
103
103
<!-- Create invoice -->
104
104
<actionGroup ref =" AdminOrderGridClickFirstRowActionGroup" stepKey =" clickOrderRow" />
105
- <actionGroup ref =" AdminClickInvoiceButtonIntoOrderActionGroup" stepKey =" clickInvoiceButton" />
105
+ <click selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" clickInvoiceButton" />
106
+ <waitForPageLoad stepKey =" waitForNewInvoicePageToLoad" />
106
107
<see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" New Invoice" stepKey =" seeNewInvoiceInPageTitle" after =" clickInvoiceButton" />
107
108
108
109
<!-- Verify Invoice Totals including subTotal Shipping Discount and GrandTotal -->
You can’t perform that action at this time.
0 commit comments