File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed
Shipping/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 38
38
</arguments >
39
39
<see selector =" {{AdminInvoiceItemsSection.skuColumn}}" userInput =" {{product.sku}}" stepKey =" seeProductSkuInGrid" />
40
40
</actionGroup >
41
+
42
+ <actionGroup name =" goToInvoiceIntoOrder" >
43
+ <click selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" clickInvoiceAction" />
44
+ <seeInCurrentUrl url =" {{AdminInvoiceNewPage.url}}" stepKey =" seeOrderInvoiceUrl" />
45
+ <see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" New Invoice" stepKey =" seePageNameNewInvoicePage" />
46
+ </actionGroup >
47
+
48
+ <actionGroup name =" submitInvoiceIntoOrder" >
49
+ <click selector =" {{AdminInvoiceMainActionsSection.submitInvoice}}" stepKey =" clickSubmitInvoice" />
50
+ <seeInCurrentUrl url =" {{AdminOrderDetailsPage.url}}" stepKey =" seeViewOrderPageInvoice" />
51
+ <see selector =" {{AdminOrderDetailsMessagesSection.successMessage}}" userInput =" The invoice has been created." stepKey =" seeInvoiceCreateSuccess" />
52
+ </actionGroup >
41
53
</actionGroups >
Original file line number Diff line number Diff line change 13
13
<element name =" email" type =" input" selector =" #email" />
14
14
<element name =" requiredGroup" type =" text" selector =" .admin__field.required[data-ui-id='billing-address-fieldset-element-form-field-group-id']" />
15
15
<element name =" requiredEmail" type =" text" selector =" .admin__field.required[data-ui-id='billing-address-fieldset-element-form-field-email']" />
16
+ <element name =" defaultGeneral" type =" text" selector =" //*[contains(text(),'General')]" time =" 15" />
16
17
</section >
17
18
</sections >
Original file line number Diff line number Diff line change 35
35
</arguments >
36
36
<see selector =" {{AdminShipmentItemsSection.skuColumn}}" userInput =" {{product.sku}}" stepKey =" seeProductSkuInGrid" />
37
37
</actionGroup >
38
+
39
+ <actionGroup name =" goToShipmentIntoOrder" >
40
+ <click selector =" {{AdminOrderDetailsMainActionsSection.ship}}" stepKey =" clickShipAction" />
41
+ <seeInCurrentUrl url =" {{AdminShipmentNewPage.url}}" stepKey =" seeOrderShipmentUrl" />
42
+ <see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" New Shipment" stepKey =" seePageNameNewInvoicePage" />
43
+ </actionGroup >
44
+
45
+ <actionGroup name =" submitShipmentIntoOrder" >
46
+ <click selector =" {{AdminShipmentMainActionsSection.submitShipment}}" stepKey =" clickSubmitShipment" />
47
+ <seeInCurrentUrl url =" {{AdminOrderDetailsPage.url}}" stepKey =" seeViewOrderPageShipping" />
48
+ <see selector =" {{AdminOrderDetailsMessagesSection.successMessage}}" userInput =" The shipment has been created." stepKey =" seeShipmentCreateSuccess" />
49
+ </actionGroup >
38
50
</actionGroups >
You can’t perform that action at this time.
0 commit comments