File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Test/Mftf/Test/AdminSimpleProductImagesTest Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 119
119
120
120
<!-- Go to the category page and see a placeholder image for the second product -->
121
121
<amOnPage url =" $$category.custom_attributes[url_key]$$.html" stepKey =" goToCategoryPage" />
122
- <seeElement selector =" .products-grid img[src*= 'placeholder/small_image.jpg'] " stepKey =" seePlaceholder" />
122
+ <waitForElementVisible selector =" {{StorefrontCategoryProductSection.ProductImageBySrc( 'placeholder/small_image.jpg')}} " stepKey =" seePlaceholder" />
123
123
124
124
<!-- Go to the second product edit page -->
125
125
<actionGroup ref =" AdminOpenProductIndexPageActionGroup" stepKey =" goToProductIndex2" />
150
150
<actionGroup ref =" FilterProductGridBySkuActionGroup" stepKey =" filterProductGridBySku3" >
151
151
<argument name =" product" value =" $$secondProduct$$" />
152
152
</actionGroup >
153
- <seeElement selector =" img.admin__control-thumbnail[src*= '/large'] " stepKey =" seeImgInGrid" />
153
+ <waitForElementVisible selector =" {{AdminProductGridSection.productThumbnailBySrc( '/large')}} " stepKey =" seeImgInGrid" />
154
154
155
155
<!-- Go to the category page and see the uploaded image -->
156
156
<amOnPage url =" $$category.custom_attributes[url_key]$$.html" stepKey =" goToCategoryPage2" />
157
- <seeElement selector =" .products-grid img[src*= '/large'] " stepKey =" seeUploadedImg" />
157
+ <waitForElementVisible selector =" {{StorefrontCategoryProductSection.ProductImageBySrc( '/large')}} " stepKey =" seeUploadedImg" />
158
158
159
159
<!-- Go to the product page and see the uploaded image -->
160
160
<amOnPage url =" $$secondProduct.custom_attributes[url_key]$$.html" stepKey =" goToStorefront2" />
You can’t perform that action at this time.
0 commit comments