Skip to content

Commit 024ba05

Browse files
Merge branch 'stability_control' into ACQE-5325
2 parents 7afa87f + b871d43 commit 024ba05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminSimpleProductImagesTest/AdminSimpleProductImagesTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119

120120
<!-- Go to the category page and see a placeholder image for the second product -->
121121
<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"/>
123123

124124
<!-- Go to the second product edit page -->
125125
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="goToProductIndex2"/>
@@ -150,11 +150,11 @@
150150
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="filterProductGridBySku3">
151151
<argument name="product" value="$$secondProduct$$"/>
152152
</actionGroup>
153-
<seeElement selector="img.admin__control-thumbnail[src*='/large']" stepKey="seeImgInGrid"/>
153+
<waitForElementVisible selector="{{AdminProductGridSection.productThumbnailBySrc('/large')}}" stepKey="seeImgInGrid"/>
154154

155155
<!-- Go to the category page and see the uploaded image -->
156156
<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"/>
158158

159159
<!-- Go to the product page and see the uploaded image -->
160160
<amOnPage url="$$secondProduct.custom_attributes[url_key]$$.html" stepKey="goToStorefront2"/>

0 commit comments

Comments
 (0)