Skip to content

Commit 519df1a

Browse files
[AC-4613] Move and Update Category on Store View level when Category Flat Indexer is in Update on Save mode
added image seertion
1 parent 38e4d3d commit 519df1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,15 @@
175175
<actionGroup ref="AdminChangeCategoryNameOnStoreViewLevelActionGroup" stepKey="changeCategory1NameForEnStoreView">
176176
<argument name="categoryName" value="Категория А"/>
177177
</actionGroup>
178-
<!--Add category A description-->
178+
<!--Update category A description-->
179179
<actionGroup ref="AdminUpdateCategoryDescriptionAtStoreViewLevelActionGroup" stepKey="addCategoryDescriptionC1">
180180
<argument name="description" value="Другое описание категории А"/>
181181
</actionGroup>
182+
<!--Update category A image -->
182183
<actionGroup ref="AdminChangeCategoryImageOnStoreviewActionGroup" stepKey="addPlaceholderSmallImage">
183184
<argument name="image" value="ImageUpload_1"/>
184185
</actionGroup>
185-
<!--Add category A url key-->
186+
<!--Update category A url key-->
186187
<actionGroup ref="ChangeSeoUrlKeyForSubCategoryActionGroup" stepKey="changeSeoUrlKeyENStoreView">
187188
<argument name="value" value="kategoriya-A"/>
188189
</actionGroup>
@@ -207,6 +208,7 @@
207208
<waitForText selector="{{StorefrontCategoryMainSection.CategoryTitle}}" userInput="Категория А" stepKey="seeTitleOnCategoryAPage"/>
208209
<waitForText userInput="Другое описание категории А" selector="{{StorefrontCategoryMainSection.CatalogDescriptionWithoutPTag}}" stepKey="assertCatalogDescriptionA2"/>
209210
<waitForElement selector="{{StorefrontCategoryHeadSection.pageTitle('Категория А')}}" stepKey="assertCatalogMetaTitleA2"/>
211+
<waitForElementVisible selector="{{StorefrontCategoryMainSection.imageSource(ImageUpload_1.fileName)}}" stepKey="assertCatalogImageA2"/>
210212
<!-- Verify Updated URLKey is present-->
211213
<actionGroup ref="StorefrontAssertProperUrlIsShownActionGroup" stepKey="seeUpdatedUrlkey">
212214
<argument name="urlPath" value="kategoriya-a.html"/>

0 commit comments

Comments
 (0)