|
120 | 120 | <argument name="productUrl" value="$createProduct.custom_attributes[url_key]$"/> |
121 | 121 | </actionGroup> |
122 | 122 |
|
123 | | - <!-- Add Simple product to the wishlist --> |
| 123 | + <!-- Add Simple product to the Wish List --> |
124 | 124 | <actionGroup ref="StorefrontCustomerAddSimpleProductQuantityAndAddToWishListActionGroup" stepKey="addSimpleProductToWishlist"> |
125 | 125 | <argument name="productVar" value="$createProduct$"/> |
126 | 126 | <argument name="quantity" value="100"/> |
127 | 127 | </actionGroup> |
128 | 128 |
|
| 129 | + <!-- Assert Simple product is present in Wish List --> |
| 130 | + <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertProductPresent"> |
| 131 | + <argument name="productName" value="$createProduct.name$"/> |
| 132 | + <argument name="productQuantity" value="100"/> |
| 133 | + </actionGroup> |
| 134 | + |
| 135 | + <!-- Edit Wish List Simple product --> |
| 136 | + <actionGroup ref="StorefrontCustomerUpdateWishlistItemActionGroup" stepKey="clickEditWishlistItem2"> |
| 137 | + <argument name="productName" value="$createProduct.name$"/> |
| 138 | + </actionGroup> |
| 139 | + |
| 140 | + <!-- Update Simple product in Wish List from product page --> |
| 141 | + <actionGroup ref="StorefrontCustomerUpdateProductInWishlistActionGroup" stepKey="updateProductWithOptionInWishlist2"> |
| 142 | + <argument name="productVar" value="$createProduct$"/> |
| 143 | + </actionGroup> |
| 144 | + |
| 145 | + <!-- Assert Simple product is present in Wish List with same quantity --> |
| 146 | + <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertProductPresent2"> |
| 147 | + <argument name="productName" value="$createProduct.name$"/> |
| 148 | + <argument name="productQuantity" value="100"/> |
| 149 | + </actionGroup> |
| 150 | + |
| 151 | + <!-- Remove Simple Product from Wish list --> |
| 152 | + <actionGroup ref="StorefrontCustomerRemoveProductFromWishlistUsingSidebarActionGroup" stepKey="removeProductFromWishlist"> |
| 153 | + <argument name="product" value="$$createProduct$$"/> |
| 154 | + </actionGroup> |
| 155 | + |
129 | 156 | <!-- Open Grouped Product page --> |
130 | 157 | <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openGroupedProductPage"> |
131 | 158 | <argument name="productUrl" value="$createGroupedProduct.custom_attributes[url_key]$"/> |
132 | 159 | </actionGroup> |
133 | 160 |
|
134 | | - <!-- Add Grouped product to the wishlist --> |
| 161 | + <!-- Add Grouped product to the Wish List --> |
135 | 162 | <actionGroup ref="StorefrontCustomerAddGroupedProductQuantityAndAddToWishListActionGroup" stepKey="addGroupedProductToWishlist"> |
136 | 163 | <argument name="productVar" value="$createGroupedProduct$"/> |
137 | 164 | <argument name="quantity" value="100"/> |
138 | 165 | </actionGroup> |
139 | 166 |
|
| 167 | + <!-- Go to Grouped PDP from Wishlist --> |
| 168 | + <actionGroup ref="StorefrontCustomerAccessGroupedProductFromWishlistActionGroup" stepKey="goToGroupedProductPage"> |
| 169 | + <argument name="productVar" value="$createGroupedProduct.name$"/> |
| 170 | + <argument name="quantity" value="100"/> |
| 171 | + </actionGroup> |
| 172 | + |
| 173 | + <!-- Add Grouped product to the Wish List again --> |
| 174 | + <actionGroup ref="StorefrontCustomerAddGroupedProductQuantityAndAddToWishListActionGroup" stepKey="readdGroupedProductToWishlist"> |
| 175 | + <argument name="productVar" value="$createGroupedProduct$"/> |
| 176 | + <argument name="quantity" value="100"/> |
| 177 | + </actionGroup> |
| 178 | + |
| 179 | + <!-- Remove Grouped Product from Wish list --> |
| 180 | + <actionGroup ref="StorefrontCustomerRemoveProductFromWishlistUsingSidebarActionGroup" stepKey="removeGroupedProductFromWishlist"> |
| 181 | + <argument name="product" value="$$createGroupedProduct$$"/> |
| 182 | + </actionGroup> |
| 183 | + |
| 184 | + <!-- Open Bundle Product page --> |
| 185 | + <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openBundleProductPage"> |
| 186 | + <argument name="productUrl" value="$createBundleProduct.custom_attributes[url_key]$"/> |
| 187 | + </actionGroup> |
| 188 | + |
| 189 | + <!--Click "Customize and Add to Cart" button--> |
| 190 | + <click selector="{{StorefrontBundledSection.addToCart}}" stepKey="clickBundleCustomize1"/> |
| 191 | + |
| 192 | + <!-- Add Bundle product to the Wish List --> |
| 193 | + <actionGroup ref="StorefrontCustomerAddBundleProductQuantityAndAddToWishListActionGroup" stepKey="addBundleProductToWishlist"> |
| 194 | + <argument name="productVar" value="$createBundleProduct$"/> |
| 195 | + <argument name="parentQuantity" value="100"/> |
| 196 | + <argument name="childQuantity" value="100" /> |
| 197 | + <argument name="optionName" value="$$createBundleOption1_1.value$$" /> |
| 198 | + </actionGroup> |
| 199 | + |
| 200 | + <!-- Go to Bundle PDP from Wishlist --> |
| 201 | + <actionGroup ref="StorefrontCustomerAccessProductFromWishlistActionGroup" stepKey="goToBundleProductPage"> |
| 202 | + <argument name="productVar" value="$createBundleProduct.name$"/> |
| 203 | + <argument name="quantity" value="100"/> |
| 204 | + </actionGroup> |
| 205 | + |
| 206 | + <!--Click "Customize and Add to Cart" button--> |
| 207 | + <click selector="{{StorefrontBundledSection.addToCart}}" stepKey="clickBundleCustomize2"/> |
| 208 | + |
| 209 | + <!-- Add Bundle product to the Wish List --> |
| 210 | + <actionGroup ref="StorefrontCustomerAddBundleProductQuantityAndAddToWishListActionGroup" stepKey="readdBundleProductToWishlist"> |
| 211 | + <argument name="productVar" value="$createBundleProduct$"/> |
| 212 | + <argument name="parentQuantity" value="100"/> |
| 213 | + <argument name="childQuantity" value="100" /> |
| 214 | + <argument name="optionName" value="$$createBundleOption1_1.value$$" /> |
| 215 | + </actionGroup> |
| 216 | + |
| 217 | + <!-- Remove Bundle Product from Wish list --> |
| 218 | + <actionGroup ref="StorefrontCustomerRemoveProductFromWishlistUsingSidebarActionGroup" stepKey="removeBundleProductFromWishlist"> |
| 219 | + <argument name="product" value="$$createBundleProduct$$"/> |
| 220 | + </actionGroup> |
| 221 | + |
140 | 222 | <!-- Open Configurable Product page --> |
141 | 223 | <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openConfigurableProductPage1"> |
142 | 224 | <argument name="productUrl" value="$createConfigurableProduct.custom_attributes[url_key]$"/> |
143 | 225 | </actionGroup> |
144 | 226 |
|
145 | | - <!-- Add Configurable product to the wishlist 1 --> |
| 227 | + <!-- Add Configurable product to the Wish List 1 --> |
146 | 228 | <actionGroup ref="StorefrontCustomerAddConfigurableProductQuantityAndAddToWishListActionGroup" stepKey="addConfigurableProductToWishlist1"> |
147 | 229 | <argument name="productVar" value="$createConfigurableProduct$"/> |
148 | 230 | <argument name="quantity" value="10"/> |
|
153 | 235 | <argument name="productUrl" value="$createConfigurableProduct.custom_attributes[url_key]$"/> |
154 | 236 | </actionGroup> |
155 | 237 |
|
156 | | - <!-- Add Configurable product to the wishlist 2 --> |
| 238 | + <!-- Add Configurable product to the Wish List 2 --> |
157 | 239 | <actionGroup ref="StorefrontCustomerAddConfigurableProductQuantityAndAddToWishListActionGroup" stepKey="addConfigurableProductToWishlist2"> |
158 | 240 | <argument name="productVar" value="$createConfigurableProduct$"/> |
159 | 241 | <argument name="quantity" value="100"/> |
160 | 242 | <argument name="option" value="$$getConfigAttributeOption1.value$$" /> |
161 | 243 | </actionGroup> |
162 | 244 |
|
163 | | - <!-- Assert Configurable product is present in wishlist --> |
| 245 | + <!-- Assert Configurable product is present in Wish List --> |
164 | 246 | <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertConfigurableProductPresent1"> |
165 | 247 | <argument name="productName" value="$createConfigurableProduct.name$"/> |
166 | 248 | <argument name="productQuantity" value="10"/> |
167 | 249 | </actionGroup> |
168 | 250 |
|
169 | | - <!-- Assert Configurable product is present in wishlist --> |
| 251 | + <!-- Assert Configurable product is present in Wish List --> |
170 | 252 | <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertConfigurableProductPresent2"> |
171 | 253 | <argument name="productName" value="$createConfigurableProduct.name$"/> |
172 | 254 | <argument name="productQuantity" value="100"/> |
|
178 | 260 | <argument name="quantity" value="10"/> |
179 | 261 | </actionGroup> |
180 | 262 |
|
181 | | - <!-- Add Configurable product to the wishlist 3 --> |
| 263 | + <!-- Add Configurable product to the Wish List 3 --> |
182 | 264 | <actionGroup ref="StorefrontCustomerAddConfigurableProductQuantityAndAddToWishListActionGroup" stepKey="addConfigurableProductToWishlist3"> |
183 | 265 | <argument name="productVar" value="$createConfigurableProduct$"/> |
184 | 266 | <argument name="quantity" value="10"/> |
185 | 267 | </actionGroup> |
186 | 268 |
|
187 | | - <!-- Assert Configurable product is present in wishlist 3 --> |
| 269 | + <!-- Assert Configurable product is present in Wish List 3 --> |
188 | 270 | <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertConfigurableProductPresent3"> |
189 | 271 | <argument name="productName" value="$createConfigurableProduct.name$"/> |
190 | 272 | <argument name="productQuantity" value="10"/> |
191 | 273 | </actionGroup> |
192 | 274 |
|
193 | | - <!-- Edit wishlist Configurable no options product --> |
| 275 | + <!-- Edit Wish List Configurable no options product --> |
194 | 276 | <actionGroup ref="StorefrontCustomerUpdateWishlistItemActionGroup" stepKey="clickEditWishlistItem1"> |
195 | 277 | <argument name="productName" value="$createConfigurableProduct.name$"/> |
196 | 278 | </actionGroup> |
197 | 279 |
|
198 | | - <!-- Update Configurable product in wishlist from product page --> |
| 280 | + <!-- Update Configurable product in Wish List from product page --> |
199 | 281 | <actionGroup ref="StorefrontCustomerUpdateProductInWishlistActionGroup" stepKey="updateProductWithOptionInWishlist1"> |
200 | 282 | <argument name="productVar" value="$createConfigurableProduct$"/> |
201 | 283 | </actionGroup> |
202 | 284 |
|
203 | | - <!-- Assert Configurable product is present in wishlist 4 --> |
| 285 | + <!-- Assert Configurable product is present in Wish List 4 --> |
204 | 286 | <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertConfigurableProductPresent4"> |
205 | 287 | <argument name="productName" value="$createConfigurableProduct.name$"/> |
206 | 288 | <argument name="productQuantity" value="10"/> |
207 | 289 | </actionGroup> |
208 | 290 |
|
209 | | - <!-- Assert Configurable product is present in wishlist 5 --> |
| 291 | + <!-- Assert Configurable product is present in Wish List 5 --> |
210 | 292 | <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertConfigurableProductPresent5"> |
211 | 293 | <argument name="productName" value="$createConfigurableProduct.name$"/> |
212 | 294 | <argument name="productQuantity" value="100"/> |
213 | 295 | </actionGroup> |
214 | 296 |
|
215 | | - <!-- Open Bundle Product page --> |
216 | | - <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openBundleProductPage"> |
217 | | - <argument name="productUrl" value="$createBundleProduct.custom_attributes[url_key]$"/> |
218 | | - </actionGroup> |
219 | | - |
220 | | - <!--Click "Customize and Add to Cart" button--> |
221 | | - <click selector="{{StorefrontBundledSection.addToCart}}" stepKey="clickBundleCustomize1"/> |
222 | | - |
223 | | - <!-- Add Bundle product to the wishlist --> |
224 | | - <actionGroup ref="StorefrontCustomerAddBundleProductQuantityAndAddToWishListActionGroup" stepKey="addBundleProductToWishlist"> |
225 | | - <argument name="productVar" value="$createBundleProduct$"/> |
226 | | - <argument name="parentQuantity" value="100"/> |
227 | | - <argument name="childQuantity" value="100" /> |
228 | | - <argument name="optionName" value="$$createBundleOption1_1.value$$" /> |
229 | | - </actionGroup> |
230 | | - |
231 | | - <!-- Assert Simple product is present in wishlist --> |
232 | | - <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertProductPresent"> |
233 | | - <argument name="productName" value="$createProduct.name$"/> |
234 | | - <argument name="productQuantity" value="100"/> |
235 | | - </actionGroup> |
236 | | - |
237 | | - <!-- Edit wishlist Simple product --> |
238 | | - <actionGroup ref="StorefrontCustomerUpdateWishlistItemActionGroup" stepKey="clickEditWishlistItem2"> |
239 | | - <argument name="productName" value="$createProduct.name$"/> |
240 | | - </actionGroup> |
241 | | - |
242 | | - <!-- Update Simple product in wishlist from product page --> |
243 | | - <actionGroup ref="StorefrontCustomerUpdateProductInWishlistActionGroup" stepKey="updateProductWithOptionInWishlist2"> |
244 | | - <argument name="productVar" value="$createProduct$"/> |
| 297 | + <!-- Remove Configurable Product from Wish list --> |
| 298 | + <actionGroup ref="StorefrontCustomerRemoveProductFromWishlistUsingSidebarActionGroup" stepKey="removeConfigurableProductFromWishlist"> |
| 299 | + <argument name="product" value="$$createConfigurableProduct$$"/> |
245 | 300 | </actionGroup> |
246 | | - |
247 | | - <actionGroup ref="AssertProductQuantityInWishlistActionGroup" stepKey="assertProductPresent2"> |
248 | | - <argument name="productName" value="$createProduct.name$"/> |
249 | | - <argument name="productQuantity" value="100"/> |
250 | | - </actionGroup> |
251 | | - |
252 | | - <!-- Go to Grouped PDP from Wishlist --> |
253 | | - <actionGroup ref="StorefrontCustomerAccessGroupedProductFromWishlistActionGroup" stepKey="goToGroupedProductPage"> |
254 | | - <argument name="productVar" value="$createGroupedProduct.name$"/> |
255 | | - <argument name="quantity" value="100"/> |
256 | | - </actionGroup> |
257 | | - |
258 | | - <!-- Add Grouped product to the wishlist again --> |
259 | | - <actionGroup ref="StorefrontCustomerAddGroupedProductQuantityAndAddToWishListActionGroup" stepKey="readdGroupedProductToWishlist"> |
260 | | - <argument name="productVar" value="$createGroupedProduct$"/> |
261 | | - <argument name="quantity" value="100"/> |
262 | | - </actionGroup> |
263 | | - |
264 | | - |
265 | | - <!-- Go to Bundle PDP from Wishlist --> |
266 | | - <actionGroup ref="StorefrontCustomerAccessProductFromWishlistActionGroup" stepKey="goToBundleProductPage"> |
267 | | - <argument name="productVar" value="$createBundleProduct.name$"/> |
268 | | - <argument name="quantity" value="100"/> |
269 | | - </actionGroup> |
270 | | - |
271 | | - <!--Click "Customize and Add to Cart" button--> |
272 | | - <click selector="{{StorefrontBundledSection.addToCart}}" stepKey="clickBundleCustomize2"/> |
273 | | - |
274 | | - <!-- Add Bundle product to the wishlist --> |
275 | | - <actionGroup ref="StorefrontCustomerAddBundleProductQuantityAndAddToWishListActionGroup" stepKey="readdBundleProductToWishlist"> |
276 | | - <argument name="productVar" value="$createBundleProduct$"/> |
277 | | - <argument name="parentQuantity" value="100"/> |
278 | | - <argument name="childQuantity" value="100" /> |
279 | | - <argument name="optionName" value="$$createBundleOption1_1.value$$" /> |
280 | | - </actionGroup> |
281 | | - |
282 | 301 | </test> |
283 | 302 | </tests> |
0 commit comments