File tree 8 files changed +60
-22
lines changed
ConfigurableProduct/Test/Mftf/Test
8 files changed +60
-22
lines changed Original file line number Diff line number Diff line change 173
173
</actionGroup >
174
174
<!-- Select shipping method -->
175
175
<comment userInput =" Select shipping method" stepKey =" selectShippingMethod" />
176
- <click selector = " {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}} " stepKey =" openShippingMethod" />
177
- <waitForPageLoad stepKey =" waitForShippingMethods" />
178
- <click selector = " {{AdminInvoicePaymentShippingSection.shippingMethod}} " stepKey =" chooseShippingMethod" />
179
- <waitForPageLoad stepKey =" waitForShippingMethodLoad" />
176
+ <actionGroup ref = " AdminClickGetShippingMethodsAndRatesActionGroup " stepKey =" openShippingMethod" />
177
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethods" />
178
+ <actionGroup ref = " AdminSelectFixedShippingMethodActionGroup " stepKey =" chooseShippingMethod" />
179
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethodLoad" />
180
180
<actionGroup ref =" AdminOrderClickSubmitOrderActionGroup" stepKey =" clickSubmitOrder" />
181
181
<actionGroup ref =" VerifyCreatedOrderInformationActionGroup" stepKey =" checkOrderSuccessfullyCreated" />
182
182
</test >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminClickGetShippingMethodsAndRatesActionGroup" >
12
+ <annotations >
13
+ <description >Click 'Get Shipping Methods And Rates' button on the admin create order page.</description >
14
+ </annotations >
15
+
16
+ <click selector =" {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}}" stepKey =" openShippingMethod" />
17
+ <waitForPageLoad stepKey =" waitForShippingMethods" />
18
+ </actionGroup >
19
+ </actionGroups >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminSelectFixedShippingMethodActionGroup" >
12
+ <annotations >
13
+ <description >Select Fixed Shipping Method on the admin create order page.</description >
14
+ </annotations >
15
+
16
+ <click selector =" {{AdminInvoicePaymentShippingSection.shippingMethod}}" stepKey =" chooseShippingMethod" />
17
+ <waitForPageLoad stepKey =" waitForShippingMethodLoad" />
18
+ </actionGroup >
19
+ </actionGroups >
Original file line number Diff line number Diff line change 65
65
<actionGroup ref =" SelectBankTransferPaymentMethodActionGroup" stepKey =" selectPaymentMethod" />
66
66
67
67
<!-- Select shipping method -->
68
- <click selector = " {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}} " stepKey =" openShippingMethod" />
69
- <waitForPageLoad stepKey =" waitForShippingMethods" />
70
- <click selector = " {{AdminInvoicePaymentShippingSection.shippingMethod}} " stepKey =" chooseShippingMethod" />
71
- <waitForPageLoad stepKey =" waitForShippingMethodLoad" />
68
+ <actionGroup ref = " AdminClickGetShippingMethodsAndRatesActionGroup " stepKey =" openShippingMethod" />
69
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethods" />
70
+ <actionGroup ref = " AdminSelectFixedShippingMethodActionGroup " stepKey =" chooseShippingMethod" />
71
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethodLoad" />
72
72
73
73
<!-- Submit order -->
74
74
<actionGroup ref =" AdminSubmitOrderActionGroup" stepKey =" submitOrder" />
Original file line number Diff line number Diff line change 62
62
</actionGroup >
63
63
64
64
<!-- Select shipping method -->
65
- <click selector = " {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}} " stepKey =" openShippingMethod" />
66
- <waitForPageLoad stepKey =" waitForShippingMethods" />
67
- <click selector = " {{AdminInvoicePaymentShippingSection.shippingMethod}} " stepKey =" chooseShippingMethod" />
68
- <waitForPageLoad stepKey =" waitForShippingMethodLoad" />
65
+ <actionGroup ref = " AdminClickGetShippingMethodsAndRatesActionGroup " stepKey =" openShippingMethod" />
66
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethods" />
67
+ <actionGroup ref = " AdminSelectFixedShippingMethodActionGroup " stepKey =" chooseShippingMethod" />
68
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethodLoad" />
69
69
70
70
<!-- Select cash on delivery payment method -->
71
71
<actionGroup ref =" SelectCashOnDeliveryPaymentMethodActionGroup" stepKey =" selectPaymentMethod" />
Original file line number Diff line number Diff line change 59
59
</actionGroup >
60
60
61
61
<!-- Select shipping method -->
62
- <click selector = " {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}} " stepKey =" openShippingMethod" />
63
- <waitForPageLoad stepKey =" waitForShippingMethods" />
64
- <click selector = " {{AdminInvoicePaymentShippingSection.shippingMethod}} " stepKey =" chooseShippingMethod" />
65
- <waitForPageLoad stepKey =" waitForShippingMethodLoad" />
62
+ <actionGroup ref = " AdminClickGetShippingMethodsAndRatesActionGroup " stepKey =" openShippingMethod" />
63
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethods" />
64
+ <actionGroup ref = " AdminSelectFixedShippingMethodActionGroup " stepKey =" chooseShippingMethod" />
65
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethodLoad" />
66
66
67
67
<!-- Submit order -->
68
68
<actionGroup ref =" AdminSubmitOrderActionGroup" stepKey =" submitOrder" />
Original file line number Diff line number Diff line change 182
182
183
183
<!-- Select Free Shipping -->
184
184
<waitForElementVisible selector =" {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}}" stepKey =" waitForShippingSection" />
185
- <click selector = " {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}} " stepKey =" openShippingMethod" />
186
- <waitForPageLoad stepKey =" waitForShippingMethods" />
185
+ <actionGroup ref = " AdminClickGetShippingMethodsAndRatesActionGroup " stepKey =" openShippingMethod" />
186
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethods" />
187
187
<click selector =" {{AdminOrderFormPaymentSection.freeShippingOption}}" stepKey =" chooseShippingMethod" />
188
188
<waitForPageLoad stepKey =" waitForPageToLoad" />
189
189
<actionGroup ref =" AdminOrderClickSubmitOrderActionGroup" stepKey =" submitOrder" />
Original file line number Diff line number Diff line change 84
84
</actionGroup >
85
85
86
86
<!-- Select shipping method -->
87
- <click selector = " {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}} " stepKey =" openShippingMethod" />
88
- <waitForPageLoad stepKey =" waitForShippingMethods" />
89
- <click selector = " {{AdminInvoicePaymentShippingSection.shippingMethod}} " stepKey =" chooseShippingMethod" />
90
- <waitForPageLoad stepKey =" waitForShippingMethodLoad" />
87
+ <actionGroup ref = " AdminClickGetShippingMethodsAndRatesActionGroup " stepKey =" openShippingMethod" />
88
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethods" />
89
+ <actionGroup ref = " AdminSelectFixedShippingMethodActionGroup " stepKey =" chooseShippingMethod" />
90
+ <comment userInput = " Adding the comment to replace action for preserving Backward Compatibility " stepKey =" waitForShippingMethodLoad" />
91
91
92
92
<!-- Submit order -->
93
93
<actionGroup ref =" AdminSubmitOrderActionGroup" stepKey =" submitOrder" />
You can’t perform that action at this time.
0 commit comments