Skip to content

Commit c36f3b7

Browse files
committed
MC-172: [Visual Merchandiser] Admin should be able to mass assign products to category by SKU
- added mftf test (cherry picked from commit 34ed8a4)
1 parent c19e2d8 commit c36f3b7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/ActionGroup/AdminCategoryActionGroup.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@
3737
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="New Category" stepKey="seeCategoryPageTitle"/>
3838
</actionGroup>
3939

40+
<!-- Go to admin category page by id -->
41+
<actionGroup name="goToAdminCategoryPageById">
42+
<arguments>
43+
<argument name="id" type="string"/>
44+
</arguments>
45+
<amOnPage url="{{AdminCategoryEditPage.url(id)}}" stepKey="amOnAdminCategoryPage"/>
46+
<waitForPageLoad stepKey="waitForPageLoad"/>
47+
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="{{id}}" stepKey="seeCategoryPageTitle"/>
48+
</actionGroup>
49+
4050
<!-- Fill category fields -->
4151
<actionGroup name="fillCategoryForm">
4252
<arguments>
@@ -202,7 +212,6 @@
202212
<see selector="{{AdminCategoryBasicFieldSection.FieldError('uid')}}" userInput="This is a required field." stepKey="seeErrorMessage"/>
203213
</actionGroup>
204214

205-
206215
<actionGroup name="switchCategoryStoreView">
207216
<arguments>
208217
<argument name="Store"/>

0 commit comments

Comments
 (0)