File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Catalog/Test/Mftf/Test/AdminSimpleProductImagesTest Expand file tree Collapse file tree 1 file changed +4
-4
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 =" {{StorefrontCategoryProductSection.ProductImageBySrc('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" />
153
153
<waitForElementVisible selector =" {{AdminProductGridSection.productThumbnailBySrc('/large')}}" stepKey =" seeImgInGrid" />
154
154
155
155
<!-- Go to the category page and see the uploaded image -->
156
- <amOnPage url =" $$category.custom_attributes[url_key]$$.html" stepKey =" goToStorefrontCategoryPage " />
157
- <waitForElementVisible selector =" {{StorefrontCategoryProductSection.ProductImageBySrc('/large')}}" stepKey =" goToCategoryPage2 " />
156
+ <amOnPage url =" $$category.custom_attributes[url_key]$$.html" stepKey =" goToCategoryPage2 " />
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" />
161
- <waitForPageLoad stepKey =" waitForStorefrontProductPageToLoad " />
161
+ <waitForPageLoad stepKey =" waitForStorefront2 " />
162
162
<waitForElementVisible selector =" {{StorefrontProductMediaSection.imageFile('large')}}" stepKey =" seeLarge2" />
163
163
</test >
164
164
</tests >
You can’t perform that action at this time.
0 commit comments