Skip to content

Commit 5a6edc2

Browse files
Manoranjan.PrakashManoranjan.Prakash
authored andcommitted
updated as per second round of updates advised in review
1 parent a68c379 commit 5a6edc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 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="{{StorefrontCategoryProductSection.ProductImageBySrc('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"/>
@@ -153,12 +153,12 @@
153153
<waitForElementVisible selector="{{AdminProductGridSection.productThumbnailBySrc('/large')}}" stepKey="seeImgInGrid"/>
154154

155155
<!-- 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"/>
158158

159159
<!-- Go to the product page and see the uploaded image -->
160160
<amOnPage url="$$secondProduct.custom_attributes[url_key]$$.html" stepKey="goToStorefront2"/>
161-
<waitForPageLoad stepKey="waitForStorefrontProductPageToLoad"/>
161+
<waitForPageLoad stepKey="waitForStorefront2"/>
162162
<waitForElementVisible selector="{{StorefrontProductMediaSection.imageFile('large')}}" stepKey="seeLarge2"/>
163163
</test>
164164
</tests>

0 commit comments

Comments
 (0)