Skip to content

Commit 18a1bd1

Browse files
Sahil.kumarSahil.kumar
authored andcommitted
Added original file
1 parent a016b2a commit 18a1bd1

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminAddAllProductsToCategoryActionGroup.xml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11-
<actionGroup name="AddProductImageActionGroup">
11+
<actionGroup name="AdminAddAllProductsToCategoryActionGroup">
1212
<annotations>
13-
<description>Adds the provided Product Image on the Admin Products creation/edit page.</description>
13+
<description>Admin Add All Catalog Multiple Product to Category</description>
1414
</annotations>
15-
<arguments>
16-
<argument name="image" defaultValue="ProductImage"/>
17-
</arguments>
1815

19-
<waitForElementVisible selector="{{AdminProductImagesSection.productImagesToggle}}" stepKey="waitForImagesSection"/>
20-
<conditionalClick selector="{{AdminProductImagesSection.productImagesToggle}}" dependentSelector="{{AdminProductImagesSection.imageUploadButton}}" visible="false" stepKey="openProductImagesSection"/>
21-
<waitForPageLoad stepKey="waitForPageRefresh"/>
22-
<waitForElementVisible selector="{{AdminProductImagesSection.imageUploadButton}}" stepKey="seeImageSectionIsReady"/>
23-
<attachFile selector="{{AdminProductImagesSection.imageFileUpload}}" userInput="{{image.file}}" stepKey="uploadFile"/>
24-
<waitForPageLoad stepKey="waitForImageUpload"/>
25-
<waitForElementNotVisible selector="{{AdminProductImagesSection.uploadProgressBar}}" stepKey="waitForUpload"/>
26-
<waitForElementVisible selector="{{AdminProductImagesSection.imageFile(image.fileName)}}" stepKey="waitForThumbnail"/>
16+
<scrollTo selector="{{AdminCategoryBasicFieldSection.productsInCategory}}" x="0" y="-80" stepKey="scrollToProductInCategory"/>
17+
<click selector="{{AdminCategoryBasicFieldSection.productsInCategory}}" stepKey="clickOnProductInCategory"/>
18+
<click selector="{{AdminCategoryProductsSection.addProducts}}" stepKey="clickOnAddProducts"/>
19+
<click selector="{{AdminCategoryProductsSection.filtersButton}}" stepKey="clickOnFiltersButton"/>
20+
<click selector="{{AdminCategoryProductsSection.filtersButton}}" stepKey="clickOnFiltersButtonAgain"/>
21+
<click selector="{{AdminCategoryProductsSection.saveAndClose}}" stepKey="clickSaveAndCloseButton"/>
22+
<click selector="{{AdminCategoryProductsSection.addProducts}}" stepKey="clickOnAddProductsAgain"/>
23+
<click selector="{{AdminCategoryProductsSection.downArrow}}" stepKey="clickOnDownArrow"/>
24+
<click selector="{{AdminCategoryProductsSection.selectAllOnThisPage}}" stepKey="selectAllProducts"/>
25+
<click selector="{{AdminCategoryProductsSection.saveAndClose}}" stepKey="clickSaveAndCloseButtonAgain"/>
26+
<waitForPageLoad time="20" stepKey="waitForPageLoad1"/>
27+
2728
</actionGroup>
2829
</actionGroups>

0 commit comments

Comments
 (0)