|
196 | 196 | <waitForPageLoad stepKey="waitForProductPageToLoad"/>
|
197 | 197 | <see selector="{{StorefrontProductInfoMainSection.productName}}" userInput="{{product}}" stepKey="seeProductName"/>
|
198 | 198 | </actionGroup>
|
| 199 | + <actionGroup name="clickProductImageInContinuousProductsCarouselOnStorefront"> |
| 200 | + <arguments> |
| 201 | + <argument name="product" type="string"/> |
| 202 | + <argument name="productItemIndex" defaultValue="1" type="string"/> |
| 203 | + <argument name="productGroupIndex" defaultValue="1" type="string"/> |
| 204 | + </arguments> |
| 205 | + <waitForElementVisible selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="waitForProductImage"/> |
| 206 | + <click selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="clickProductImage"/> |
| 207 | + <waitForPageLoad stepKey="waitForProductPageToLoad"/> |
| 208 | + <see selector="{{StorefrontProductInfoMainSection.productName}}" userInput="{{product}}" stepKey="seeProductName"/> |
| 209 | + </actionGroup> |
199 | 210 | <actionGroup name="clickProductNameInProductsOnStorefront">
|
200 | 211 | <arguments>
|
201 | 212 | <argument name="product" type="string"/>
|
|
205 | 216 | <waitForPageLoad stepKey="waitForProductPageToLoad"/>
|
206 | 217 | <see selector="{{StorefrontProductInfoMainSection.productName}}" userInput="{{product}}" stepKey="seeProductName"/>
|
207 | 218 | </actionGroup>
|
| 219 | + <actionGroup name="clickProductNameInContinuousProductsCarouselOnStorefront"> |
| 220 | + <arguments> |
| 221 | + <argument name="product" type="string"/> |
| 222 | + <argument name="productItemIndex" defaultValue="1" type="string"/> |
| 223 | + <argument name="productGroupIndex" defaultValue="1" type="string"/> |
| 224 | + </arguments> |
| 225 | + <waitForElementVisible selector="{{ProductsOnStorefront.productNameInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex, product)}}" stepKey="waitForProductName"/> |
| 226 | + <click selector="{{ProductsOnStorefront.productNameInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex, product)}}" stepKey="clickProductName"/> |
| 227 | + <waitForPageLoad stepKey="waitForProductPageToLoad"/> |
| 228 | + <see selector="{{StorefrontProductInfoMainSection.productName}}" userInput="{{product}}" stepKey="seeProductName"/> |
| 229 | + </actionGroup> |
208 | 230 | <actionGroup name="clickProductAddToCartInProductsOnStorefront">
|
209 | 231 | <arguments>
|
210 | 232 | <argument name="product" type="string"/>
|
211 | 233 | </arguments>
|
| 234 | + <waitForElementVisible selector="{{ProductsOnStorefront.productImageByProductName(product)}}" stepKey="waitForProductImage"/> |
212 | 235 | <moveMouseOver selector="{{ProductsOnStorefront.productImageByProductName(product)}}" stepKey="moveMouseOverProduct"/>
|
213 | 236 | <click selector="{{ProductsOnStorefront.productAddToCartByProductName(product)}}" stepKey="clickProductAddToCart"/>
|
214 | 237 | <waitForPageLoad stepKey="waitForProductPageToLoad"/>
|
215 | 238 | <see userInput="You added {{product}} to your shopping cart." stepKey="seeAddToCartSuccessMessage"/>
|
216 | 239 | </actionGroup>
|
| 240 | + <actionGroup name="clickProductAddToCartInContinuousProductsCarouselOnStorefront"> |
| 241 | + <arguments> |
| 242 | + <argument name="product" type="string"/> |
| 243 | + <argument name="productItemIndex" defaultValue="1" type="string"/> |
| 244 | + <argument name="productGroupIndex" defaultValue="1" type="string"/> |
| 245 | + </arguments> |
| 246 | + <waitForElementVisible selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="waitForProductImage"/> |
| 247 | + <moveMouseOver selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="moveMouseOverProduct"/> |
| 248 | + <click selector="{{ProductsOnStorefront.productAddToCartInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="clickProductAddToCart"/> |
| 249 | + <waitForPageLoad stepKey="waitForProductPageToLoad"/> |
| 250 | + <see userInput="You added {{product}} to your shopping cart." stepKey="seeAddToCartSuccessMessage"/> |
| 251 | + </actionGroup> |
217 | 252 | <actionGroup name="clickProductAddToCompareInProductsOnStorefront">
|
218 | 253 | <arguments>
|
219 | 254 | <argument name="product" type="string"/>
|
220 | 255 | </arguments>
|
| 256 | + <waitForElementVisible selector="{{ProductsOnStorefront.productImageByProductName(product)}}" stepKey="waitForProductImage"/> |
221 | 257 | <moveMouseOver selector="{{ProductsOnStorefront.productImageByProductName(product)}}" stepKey="moveMouseOverProduct"/>
|
222 | 258 | <click selector="{{ProductsOnStorefront.productAddToCompareByProductName(product)}}" stepKey="clickProductAddToCompare"/>
|
223 | 259 | <waitForPageLoad stepKey="waitForProductPageToLoad"/>
|
224 | 260 | <see userInput="You added product {{product}} to the comparison list." stepKey="seeComparisonListSuccessMessage"/>
|
225 | 261 | </actionGroup>
|
| 262 | + <actionGroup name="clickProductAddToCompareInContinuousProductsCarouselOnStorefront"> |
| 263 | + <arguments> |
| 264 | + <argument name="product" type="string"/> |
| 265 | + <argument name="productItemIndex" defaultValue="1" type="string"/> |
| 266 | + <argument name="productGroupIndex" defaultValue="1" type="string"/> |
| 267 | + </arguments> |
| 268 | + <waitForElementVisible selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="waitForProductImage"/> |
| 269 | + <moveMouseOver selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="moveMouseOverProduct"/> |
| 270 | + <click selector="{{ProductsOnStorefront.productAddToCompareInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="clickProductAddToCompare"/> |
| 271 | + <waitForPageLoad stepKey="waitForProductPageToLoad"/> |
| 272 | + <see userInput="You added product {{product}} to the comparison list." stepKey="seeComparisonListSuccessMessage"/> |
| 273 | + </actionGroup> |
226 | 274 | <actionGroup name="clickProductAddToWishListInProductsOnStorefront">
|
227 | 275 | <arguments>
|
228 | 276 | <argument name="product" type="string"/>
|
229 | 277 | </arguments>
|
| 278 | + <waitForElementVisible selector="{{ProductsOnStorefront.productImageByProductName(product)}}" stepKey="waitForProductImage"/> |
230 | 279 | <moveMouseOver selector="{{ProductsOnStorefront.productImageByProductName(product)}}" stepKey="moveMouseOverProduct"/>
|
231 | 280 | <click selector="{{ProductsOnStorefront.productAddToWishListByProductName(product)}}" stepKey="clickProductAddToWishList"/>
|
232 | 281 | <waitForPageLoad stepKey="waitForProductPageToLoad"/>
|
233 | 282 | <see userInput="You must login or register to add items to your wishlist." stepKey="seeWishListSuccessMessage"/>
|
234 | 283 | </actionGroup>
|
| 284 | + <actionGroup name="clickProductAddToWishListInContinuousProductsCarouselOnStorefront"> |
| 285 | + <arguments> |
| 286 | + <argument name="product" type="string"/> |
| 287 | + <argument name="productItemIndex" defaultValue="1" type="string"/> |
| 288 | + <argument name="productGroupIndex" defaultValue="1" type="string"/> |
| 289 | + </arguments> |
| 290 | + <waitForElementVisible selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="waitForProductImage"/> |
| 291 | + <moveMouseOver selector="{{ProductsOnStorefront.productImageInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="moveMouseOverProduct"/> |
| 292 | + <click selector="{{ProductsOnStorefront.productAddToWishListInCarouselBySlickSlideIndex(productGroupIndex, productItemIndex)}}" stepKey="clickProductAddToWishList"/> |
| 293 | + <waitForPageLoad stepKey="waitForProductPageToLoad"/> |
| 294 | + <see userInput="You must login or register to add items to your wishlist." stepKey="seeWishListSuccessMessage"/> |
| 295 | + </actionGroup> |
235 | 296 | <actionGroup name="clickProductCarouselNavigationDot">
|
236 | 297 | <arguments>
|
237 | 298 | <argument name="page" defaultValue="ProductsCarouselOnStage"/>
|
|
0 commit comments