Skip to content

Commit 7298f4d

Browse files
Merge branch 'ACQE-7643' into ACQE-Version1-functional-mainline-deployment
2 parents 9b76cb5 + 1ff0aa9 commit 7298f4d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminApplyTierPriceToProductTest/StoreFrontDeleteProductImagesAssignedDifferentRolesTest.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,23 @@
6969
</actionGroup>
7070
<!--Save Product After Assigning Roles and Images-->
7171
<actionGroup ref="SaveProductFormActionGroup" stepKey="save"/>
72+
<!--Clean cache-->
73+
<actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCache">
74+
<argument name="tags" value=""/>
75+
</actionGroup>
7276
<!-- Go to the admin grid and see the Thumbnail image -->
7377
<actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchProductOnProductGridPage">
7478
<argument name="product" value="$$simpleProductOne$$"/>
7579
</actionGroup>
7680
<seeElement selector="{{AdminProductGridSection.productThumbnailBySrc('/adobe-thumb')}}" stepKey="seeThumBImageInGrid"/>
77-
<!-- Go to the product page on StoreFront and see the Base image -->
78-
<amOnPage url="{{StorefrontProductPage.url($simpleProductOne.custom_attributes[url_key]$)}}" stepKey="goToProductPage"/>
79-
<waitForPageLoad stepKey="waitForPageLoad"/>
80-
<seeElement selector="{{StorefrontProductMediaSection.imageFile(TestImageAdobe.filename)}}" stepKey="seeBaseImageOnProductPage"/>
8181
<!-- Go to the category page and see the Small image -->
8282
<amOnPage url="{{StorefrontCategoryPage.url($testCategory.custom_attributes[url_key]$)}}" stepKey="goToCategoryPage"/>
8383
<waitForPageLoad stepKey="waitForPageLoadingToFinish"/>
8484
<seeElement selector="{{StorefrontCategoryProductSection.ProductImageBySrc('/adobe-small')}}" stepKey="seeSmallImageOnCategoryPage"/>
85+
<!-- Go to the product page on StoreFront and see the Base image -->
86+
<amOnPage url="{{StorefrontProductPage.url($simpleProductOne.custom_attributes[url_key]$)}}" stepKey="goToProductPage"/>
87+
<waitForPageLoad stepKey="waitForPageLoad"/>
88+
<seeElement selector="{{StorefrontProductMediaSection.imageFile(TestImageAdobe.filename)}}" stepKey="seeBaseImageOnProductPage"/>
8589
</before>
8690
<after>
8791
<deleteData createDataKey="testCategory" stepKey="deleteCategory"/>

0 commit comments

Comments
 (0)