|
244 | 244 | <!-- Save the product with all 3 images -->
|
245 | 245 | <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProduct"/>
|
246 | 246 |
|
| 247 | + <!-- Go to the product page and see the Base image --> |
| 248 | + <amOnPage url="$$product.name$$.html" stepKey="goToProductPage"/> |
| 249 | + <waitForPageLoad stepKey="wait4"/> |
| 250 | + <seeElement selector="{{StorefrontProductMediaSection.imageFile('/adobe-base')}}" stepKey="seeBase"/> |
| 251 | + |
| 252 | + <!-- Go to the category page and see the Small image --> |
| 253 | + <amOnPage url="$$category.name$$.html" stepKey="goToCategoryPage"/> |
| 254 | + <waitForPageLoad stepKey="wait3"/> |
| 255 | + <seeElement selector="{{StorefrontCategoryProductSection.ProductImageBySrc('/adobe-small')}}" stepKey="seeThumb"/> |
| 256 | + |
247 | 257 | <!-- Go to the admin grid and see the Thumbnail image -->
|
248 | 258 | <amOnPage url="{{AdminProductIndexPage.url}}" stepKey="goToProductIndex2"/>
|
249 | 259 | <waitForPageLoad stepKey="wait2"/>
|
|
253 | 263 | </actionGroup>
|
254 | 264 | <seeElement selector="{{AdminProductGridSection.productThumbnailBySrc('/adobe-thumb')}}" stepKey="seeBaseInGrid"/>
|
255 | 265 |
|
256 |
| - <!-- Go to the category page and see the Small image --> |
257 |
| - <amOnPage url="$$category.name$$.html" stepKey="goToCategoryPage"/> |
258 |
| - <waitForPageLoad stepKey="wait3"/> |
259 |
| - <seeElement selector="{{StorefrontCategoryProductSection.ProductImageBySrc('/adobe-small')}}" stepKey="seeThumb"/> |
260 |
| - |
261 |
| - <!-- Go to the product page and see the Base image --> |
262 |
| - <amOnPage url="$$product.name$$.html" stepKey="goToProductPage"/> |
263 |
| - <waitForPageLoad stepKey="wait4"/> |
264 |
| - <seeElement selector="{{StorefrontProductMediaSection.imageFile('/adobe-base')}}" stepKey="seeBase"/> |
265 |
| - |
266 | 266 | <!-- Go to the product edit page again -->
|
267 | 267 | <amOnPage url="{{AdminProductIndexPage.url}}" stepKey="goToProductIndex3"/>
|
268 | 268 | <waitForPageLoad stepKey="wait5"/>
|
|
0 commit comments