|
21 | 21 | <before>
|
22 | 22 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
23 | 23 | <!-- Set default flat rate shipping method settings -->
|
24 |
| - <comment userInput="Set default flat rate shipping method settings" stepKey="SetDefaultFlatRateShippingMethodSetting"/> |
| 24 | + <comment userInput="Set default flat rate shipping method settings" stepKey="setDefaultFlatRateShippingMethodComment"/> |
25 | 25 | <createData entity="FlatRateShippingMethodDefault" stepKey="setDefaultFlatRateShippingMethod"/>
|
26 | 26 | <!-- Create simple customer -->
|
27 |
| - <comment userInput="Create simple customer" stepKey="CreateSimpleCustomer"/> |
| 27 | + <comment userInput="Create simple customer" stepKey="createSimpleCustomerComment"/> |
28 | 28 | <createData entity="Simple_US_Customer_CA" stepKey="simpleCustomer"/>
|
29 | 29 | <!-- Create the category -->
|
30 |
| - <comment userInput="Create the category" stepKey="CreateTheCategory"/> |
| 30 | + <comment userInput="Create the category" stepKey="createCategoryComment"/> |
31 | 31 | <createData entity="ApiCategory" stepKey="createCategory"/>
|
32 | 32 | <!-- Create Virtual Product -->
|
33 |
| - <comment userInput="Create Virtual Product" stepKey="CreateVirtualProduct"/> |
| 33 | + <comment userInput="Create Virtual Product" stepKey="createVirtualProductComment"/> |
34 | 34 | <createData entity="VirtualProductPrice10Qty1" stepKey="virtualProduct">
|
35 | 35 | <requiredEntity createDataKey="createCategory"/>
|
36 | 36 | </createData>
|
37 | 37 | <!-- Create Simple Product -->
|
38 |
| - <comment userInput="Create Simple Product" stepKey="CreateSimpleProduct"/> |
| 38 | + <comment userInput="Create Simple Product" stepKey="createSimpleProductComment"/> |
39 | 39 | <createData entity="SimpleProductPrice10Qty1" stepKey="simpleProduct">
|
40 | 40 | <requiredEntity createDataKey="createCategory"/>
|
41 | 41 | </createData>
|
42 | 42 | <!-- Create Bundle product -->
|
43 |
| - <comment userInput="Create Bundle Product" stepKey="CreateBundleProduct"/> |
| 43 | + <comment userInput="Create Bundle Product" stepKey="createBundleProductComment"/> |
44 | 44 | <createData entity="SimpleProduct2Price10Qty1" stepKey="simpleProduct1"/>
|
45 | 45 | <createData entity="BundleProductPriceViewRange" stepKey="createBundleProduct">
|
46 | 46 | <requiredEntity createDataKey="createCategory"/>
|
|
55 | 55 | <requiredEntity createDataKey="simpleProduct1"/>
|
56 | 56 | </createData>
|
57 | 57 | <!-- Create configurable product and add it to the category -->
|
58 |
| - <comment userInput="Create configurable product and add it to the category" stepKey="CreateConfigProduct"/> |
| 58 | + <comment userInput="Create configurable product and add it to the category" stepKey="createConfigProductComment"/> |
59 | 59 | <createData entity="ConfigurableProductPrice10Qty1" stepKey="createConfigProduct">
|
60 | 60 | <requiredEntity createDataKey="createCategory"/>
|
61 | 61 | </createData>
|
62 | 62 | <!-- Create an attribute with two options to be used in the first child product -->
|
63 |
| - <comment userInput="Create an attribute with two options to be used in the first child product" stepKey="CreateOptionsOfTheFirstChildProduct"/> |
| 63 | + <comment userInput="Create an attribute with two options to be used in the first child product" stepKey="createOptionsOfTheFirstChildProductComment"/> |
64 | 64 | <createData entity="productAttributeWithTwoOptions" stepKey="createConfigProductAttribute"/>
|
65 | 65 | <createData entity="productAttributeOption1" stepKey="createConfigProductAttributeOption1">
|
66 | 66 | <requiredEntity createDataKey="createConfigProductAttribute"/>
|
67 | 67 | </createData>
|
68 | 68 | <!-- Add the attribute we just created to default attribute set -->
|
69 |
| - <comment userInput="Add the attribute we just created to default attribute set" stepKey="AddAttributeToDefaultAttrSet"/> |
| 69 | + <comment userInput="Add the attribute we just created to default attribute set" stepKey="addAttributeToDefaultAttrSetComment"/> |
70 | 70 | <createData entity="AddToDefaultSet" stepKey="createConfigAddToAttributeSet">
|
71 | 71 | <requiredEntity createDataKey="createConfigProductAttribute"/>
|
72 | 72 | </createData>
|
73 | 73 | <!-- Get the option of the attribute we created -->
|
74 |
| - <comment userInput="Get the option of the attribute we created" stepKey="GetAttributeOption"/> |
| 74 | + <comment userInput="Get the option of the attribute we created" stepKey="getAttributeOptionComment"/> |
75 | 75 | <getData entity="ProductAttributeOptionGetter" index="1" stepKey="getConfigAttributeOption1">
|
76 | 76 | <requiredEntity createDataKey="createConfigProductAttribute"/>
|
77 | 77 | </getData>
|
78 | 78 | <!-- Create a simple product and give it the attribute with option -->
|
79 |
| - <comment userInput="Create a simple product and give it the attribute with option" stepKey="CreateSimpleProductWithOptions"/> |
| 79 | + <comment userInput="Create a simple product and give it the attribute with option" stepKey="createSimpleProductWithOptionsComment"/> |
80 | 80 | <createData entity="SimpleProduct3Price10Qty1" stepKey="createConfigChildProduct1">
|
81 | 81 | <requiredEntity createDataKey="createConfigProductAttribute"/>
|
82 | 82 | <requiredEntity createDataKey="getConfigAttributeOption1"/>
|
83 | 83 | </createData>
|
84 | 84 | <!-- Create the configurable product -->
|
85 |
| - <comment userInput="Create the configurable product" stepKey="CreateTheConfigurableProduct"/> |
| 85 | + <comment userInput="Create the configurable product" stepKey="createConfigurableProductComment"/> |
86 | 86 | <createData entity="ConfigurableProductTwoOptions" stepKey="createConfigProductOption">
|
87 | 87 | <requiredEntity createDataKey="createConfigProduct"/>
|
88 | 88 | <requiredEntity createDataKey="createConfigProductAttribute"/>
|
89 | 89 | <requiredEntity createDataKey="getConfigAttributeOption1"/>
|
90 | 90 | </createData>
|
91 | 91 | <!-- Add simple product to the configurable product -->
|
92 |
| - <comment userInput="Add simple product to the configurable product" stepKey="AddSimpleProductToConfigurable"/> |
| 92 | + <comment userInput="Add simple product to the configurable product" stepKey="addSimpleProductToConfigurableComment"/> |
93 | 93 | <createData entity="ConfigurableProductAddChild" stepKey="createConfigProductAddChild1">
|
94 | 94 | <requiredEntity createDataKey="createConfigProduct"/>
|
95 | 95 | <requiredEntity createDataKey="createConfigChildProduct1"/>
|
|
110 | 110 | <actionGroup ref="logout" stepKey="logout"/>
|
111 | 111 | </after>
|
112 | 112 | <!-- Create new customer order -->
|
113 |
| - <comment userInput="Create new customer order" stepKey="CreateNewCustomerOrder"/> |
| 113 | + <comment userInput="Create new customer order" stepKey="createNewCustomerOrderComment"/> |
114 | 114 | <actionGroup ref="navigateToNewOrderPageExistingCustomer" stepKey="navigateToNewOrderWithExistingCustomer">
|
115 | 115 | <argument name="customer" value="$$simpleCustomer$$"/>
|
116 | 116 | </actionGroup>
|
117 | 117 | <!-- Add bundle product to order and check product price in grid -->
|
118 |
| - <comment userInput="Add bundle product to order and check product price in grid" stepKey="AddBundleProductToOrder"/> |
| 118 | + <comment userInput="Add bundle product to order and check product price in grid" stepKey="addBundleProductToOrderComment"/> |
119 | 119 | <actionGroup ref="addBundleProductToOrder" stepKey="addBundleProductToOrder">
|
120 | 120 | <argument name="product" value="$$createBundleProduct$$"/>
|
121 | 121 | <argument name="quantity" value="1"/>
|
122 | 122 | </actionGroup>
|
123 | 123 | <!-- Add configurable product to order -->
|
124 |
| - <comment userInput="Add configurable product to order" stepKey="AddConfigurableProductToOrder"/> |
| 124 | + <comment userInput="Add configurable product to order" stepKey="addConfigurableProductToOrderComment"/> |
125 | 125 | <actionGroup ref="newAddConfigurableProductToOrder" stepKey="addConfigurableProductToOrder">
|
126 | 126 | <argument name="product" value="$$createConfigProduct$$"/>
|
127 | 127 | <argument name="attribute" value="$$createConfigProductAttribute$$"/>
|
128 | 128 | <argument name="option" value="$$getConfigAttributeOption1$$"/>
|
129 | 129 | </actionGroup>
|
130 | 130 | <!-- Add Simple product to order -->
|
131 |
| - <comment userInput="Add Simple product to order" stepKey="AddSimpleProductToOrder"/> |
| 131 | + <comment userInput="Add Simple product to order" stepKey="addSimpleProductToOrderComment"/> |
132 | 132 | <actionGroup ref="addSimpleProductToOrder" stepKey="addSimpleProductToTheOrder">
|
133 | 133 | <argument name="product" value="$$simpleProduct$$"/>
|
134 | 134 | </actionGroup>
|
135 | 135 | <!-- Add Virtual product to order -->
|
136 |
| - <comment userInput="Add Virtual product to order" stepKey="AddVirtualProductToOrder"/> |
| 136 | + <comment userInput="Add Virtual product to order" stepKey="addVirtualProductToOrderComment"/> |
137 | 137 | <actionGroup ref="addSimpleProductToOrder" stepKey="addVirtualProductToTheOrder">
|
138 | 138 | <argument name="product" value="$$virtualProduct$$"/>
|
139 | 139 | </actionGroup>
|
140 | 140 | <!-- Select FlatRate shipping method -->
|
141 |
| - <comment userInput="Select FlatRate shipping method" stepKey="SelectFlatRateShippingMethod"/> |
| 141 | + <comment userInput="Select FlatRate shipping method" stepKey="selectFlatRateShippingMethodComment"/> |
142 | 142 | <actionGroup ref="AdminSelectFlatRateShippingMethodActionGroup" stepKey="selectFlatRateShippingMethod"/>
|
143 | 143 | <!-- Submit order -->
|
144 |
| - <comment userInput="Submit order" stepKey="SubmitOrder"/> |
| 144 | + <comment userInput="Submit order" stepKey="submitOrderComment"/> |
145 | 145 | <click selector="{{AdminOrderFormActionSection.SubmitOrder}}" stepKey="submitOrder"/>
|
146 | 146 | <!-- Verify order information -->
|
147 |
| - <comment userInput="Verify order information" stepKey="VerifyOrderInformation"/> |
| 147 | + <comment userInput="Verify order information" stepKey="verifyOrderInformationComment"/> |
148 | 148 | <actionGroup ref="verifyCreatedOrderInformation" stepKey="verifyCreatedOrderInformation"/>
|
149 | 149 | <grabTextFrom selector="|Order # (\d+)|" stepKey="orderId"/>
|
150 | 150 | <!-- Cancel the Order -->
|
151 |
| - <comment userInput="Cancel the Order" stepKey="CancelTheOrder"/> |
| 151 | + <comment userInput="Cancel the Order" stepKey="cancelTheOrder"/> |
152 | 152 | <actionGroup ref="cancelPendingOrder" stepKey="cancelPendingOrder"/>
|
153 | 153 | <!-- Assert Simple Product Quantity in backend after order Canceled -->
|
154 |
| - <comment userInput="Assert Simple Product Quantity in backend after order Canceled" stepKey="AssertSimpleProductQuantityAfterOrderCanceled"/> |
| 154 | + <comment userInput="Assert Simple Product Quantity in backend after order Canceled" stepKey="assertSimpleProductQuantityAfterOrderCanceledComment"/> |
155 | 155 | <actionGroup ref="filterAndSelectProduct" stepKey="filterAndSelectTheProduct">
|
156 | 156 | <argument name="productSku" value="$$simpleProduct.sku$$"/>
|
157 | 157 | </actionGroup>
|
|
160 | 160 | <seeInField selector="{{AdminProductFormSection.productQuantity}}" userInput="1" stepKey="seeProductQuantity"/>
|
161 | 161 | <seeInField selector="{{AdminProductFormSection.productStockStatus}}" userInput="In Stock" stepKey="seeProductStockStatus"/>
|
162 | 162 | <!-- Assert Simple Product Stock Status in frontend after order canceled -->
|
163 |
| - <comment userInput="Assert Simple Product Stock Status in frontend after order Canceled" stepKey="AssertSimpleProductStockStatus"/> |
164 |
| - <actionGroup ref="storefrontCheckProductStockStatus" stepKey="checkProductQtyOfSimpleProduct"> |
| 163 | + <comment userInput="Assert Simple Product Stock Status in frontend after order Canceled" stepKey="assertSimpleProductStockStatusComment"/> |
| 164 | + <actionGroup ref="StorefrontCheckProductStockStatus" stepKey="checkProductQtyOfSimpleProduct"> |
165 | 165 | <argument name="productUrlKey" value="$$simpleProduct.custom_attributes[url_key]$$"/>
|
166 | 166 | <argument name="productName" value="$$simpleProduct.name$$"/>
|
167 | 167 | </actionGroup>
|
168 | 168 | <!-- Assert Virtual Product Quantity in backend after order canceled -->
|
169 |
| - <comment userInput="Assert Virtual Product Quantity in backend after order canceled" stepKey="AssertVirtualProductQuantityAfterOrderCanceled"/> |
| 169 | + <comment userInput="Assert Virtual Product Quantity in backend after order canceled" stepKey="assertVirtualProductQuantityAfterOrderCanceledComment"/> |
170 | 170 | <actionGroup ref="filterAndSelectProduct" stepKey="filterAndSelectTheVirtualProduct">
|
171 | 171 | <argument name="productSku" value="$$virtualProduct.sku$$"/>
|
172 | 172 | </actionGroup>
|
|
175 | 175 | <seeInField selector="{{AdminProductFormSection.productQuantity}}" userInput="1" stepKey="seeVirtualProductQuantity"/>
|
176 | 176 | <seeInField selector="{{AdminProductFormSection.productStockStatus}}" userInput="In Stock" stepKey="seeVirtualProductStockStatus"/>
|
177 | 177 | <!-- Assert Virtual Product Stock Status in frontend after order canceled -->
|
178 |
| - <comment userInput="Assert Virtual Product Stock Status in frontend after order Canceled" stepKey="AssertVirtualProductStockStatus"/> |
179 |
| - <actionGroup ref="storefrontCheckProductStockStatus" stepKey="checkProductQtyOfVirtualProduct"> |
| 178 | + <comment userInput="Assert Virtual Product Stock Status in frontend after order Canceled" stepKey="assertVirtualProductStockStatusComment"/> |
| 179 | + <actionGroup ref="StorefrontCheckProductStockStatus" stepKey="checkProductQtyOfVirtualProduct"> |
180 | 180 | <argument name="productUrlKey" value="$$virtualProduct.custom_attributes[url_key]$$"/>
|
181 | 181 | <argument name="productName" value="$$virtualProduct.name$$"/>
|
182 | 182 | </actionGroup>
|
183 | 183 | <!-- Assert Bundle Product Quantity in backend after order canceled -->
|
184 |
| - <comment userInput="Assert Bundle Product Quantity in backend after order canceled" stepKey="AssertBundleProductQuantityAfterOrderCanceled"/> |
| 184 | + <comment userInput="Assert Bundle Product Quantity in backend after order canceled" stepKey="assertBundleProductQuantityAfterOrderCanceledComment"/> |
185 | 185 | <actionGroup ref="filterAndSelectProduct" stepKey="filterAndSelectTheBundleProduct">
|
186 | 186 | <argument name="productSku" value="$$simpleProduct1.sku$$"/>
|
187 | 187 | </actionGroup>
|
|
190 | 190 | <seeInField selector="{{AdminProductFormSection.productQuantity}}" userInput="1" stepKey="seeBundleProductQuantity"/>
|
191 | 191 | <seeInField selector="{{AdminProductFormSection.productStockStatus}}" userInput="In Stock" stepKey="seeBundleProductStockStatus"/>
|
192 | 192 | <!-- Assert Bundle Product Stock Status in frontend after order canceled -->
|
193 |
| - <comment userInput="Assert Bundle Product Stock Status in frontend after order Canceled" stepKey="AssertBundleProductStockStatus"/> |
194 |
| - <actionGroup ref="storefrontCheckProductStockStatus" stepKey="checkProductQtyOfBundleProduct"> |
| 193 | + <comment userInput="Assert Bundle Product Stock Status in frontend after order Canceled" stepKey="assertBundleProductStockStatusComment"/> |
| 194 | + <actionGroup ref="StorefrontCheckProductStockStatus" stepKey="checkProductQtyOfBundleProduct"> |
195 | 195 | <argument name="productUrlKey" value="$$createBundleProduct.custom_attributes[url_key]$$"/>
|
196 | 196 | <argument name="productName" value="$$createBundleProduct.name$$"/>
|
197 | 197 | </actionGroup>
|
198 | 198 | <!-- Assert Configurable Product Quantity in backend after order canceled -->
|
199 |
| - <comment userInput="Assert Configurable Product quantity in backend after order canceled" stepKey="AssertConfigurableProductQuantityAfterOrderCanceled"/> |
| 199 | + <comment userInput="Assert Configurable Product quantity in backend after order canceled" stepKey="assertConfigurableProductQuantityAfterOrderCanceledComment"/> |
200 | 200 | <actionGroup ref="filterAndSelectProduct" stepKey="filterAndSelectTheConfigProduct">
|
201 | 201 | <argument name="productSku" value="$$createConfigChildProduct1.sku$$"/>
|
202 | 202 | </actionGroup>
|
|
205 | 205 | <seeInField selector="{{AdminProductFormSection.productQuantity}}" userInput="1" stepKey="seeConfigProductQuantity"/>
|
206 | 206 | <seeInField selector="{{AdminProductFormSection.productStockStatus}}" userInput="In Stock" stepKey="seeConfigProductStockStatus"/>
|
207 | 207 | <!-- Assert Configurable Product Stock Status in frontend after order canceled -->
|
208 |
| - <comment userInput="Assert Configurable Product Stock Status in frontend after order Canceled" stepKey="AssertConfigurableProductStockStatus"/> |
209 |
| - <actionGroup ref="storefrontCheckProductStockStatus" stepKey="checkProductQtyOfConfigProductInFrontend"> |
| 208 | + <comment userInput="Assert Configurable Product Stock Status in frontend after order Canceled" stepKey="assertConfigurableProductStockStatusComment"/> |
| 209 | + <actionGroup ref="StorefrontCheckProductStockStatus" stepKey="checkProductQtyOfConfigProductInFrontend"> |
210 | 210 | <argument name="productUrlKey" value="$$createConfigProduct.custom_attributes[url_key]$$"/>
|
211 | 211 | <argument name="productName" value="$$createConfigProduct.name$$"/>
|
212 | 212 | </actionGroup>
|
213 | 213 | <!-- Open Order Index Page -->
|
214 |
| - <comment userInput="Open Order Index Page" stepKey="OpenOrderIndexPage"/> |
| 214 | + <comment userInput="Open Order Index Page" stepKey="openOrderIndexPageComemnt"/> |
215 | 215 | <amOnPage url="{{AdminOrdersPage.url}}" stepKey="goToOrders"/>
|
216 | 216 | <waitForPageLoad stepKey="waitForPageLoad5"/>
|
217 | 217 | <!-- Filter order using orderId -->
|
218 |
| - <comment userInput="Filter order using orderId" stepKey="FilterOrderUsingOrderId"/> |
| 218 | + <comment userInput="Filter order using orderId" stepKey="filterOrderUsingOrderIdComment"/> |
219 | 219 | <actionGroup ref="filterOrderGridById" stepKey="filterOrderGridById">
|
220 | 220 | <argument name="orderId" value="$orderId"/>
|
221 | 221 | </actionGroup>
|
222 | 222 | <see selector="{{AdminOrdersGridSection.firstRow}}" userInput="$orderId" stepKey="seeOrderIdInGrid"/>
|
223 | 223 | <see selector="{{AdminOrdersGridSection.firstRow}}" userInput="Canceled" stepKey="seeStatusInGrid"/>
|
224 | 224 | <!-- Log in to Storefront as Customer -->
|
225 |
| - <comment userInput="Log in to Storefront as Customer" stepKey="LogInAsCustomer"/> |
| 225 | + <comment userInput="Log in to Storefront as Customer" stepKey="logInAsCustomerComment"/> |
226 | 226 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="signUp">
|
227 | 227 | <argument name="Customer" value="$$simpleCustomer$$"/>
|
228 | 228 | </actionGroup>
|
229 | 229 | <!-- Assert Order status in frontend order grid -->
|
230 |
| - <comment userInput="Assert Order status in frontend order grid " stepKey="AssertOrderStatusInFrontend"/> |
| 230 | + <comment userInput="Assert Order status in frontend order grid " stepKey="assertOrderStatusInFrontendComment"/> |
231 | 231 | <click selector="{{StorefrontCustomerSidebarSection.sidebarCurrentTab('My Orders')}}" stepKey="clickOnMyOrders"/>
|
232 | 232 | <waitForPageLoad stepKey="waitForOrderDetailsToLoad"/>
|
233 | 233 | <seeElement selector="{{StorefrontCustomerOrderViewSection.orderStatusInGrid('$orderId', 'Canceled')}}" stepKey="seeOrderStatusInGrid"/>
|
|
0 commit comments