|
8 | 8 |
|
9 | 9 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
|
11 |
| - <actionGroup name="AddProductImageActionGroup"> |
| 11 | + <actionGroup name="AdminAddAllProductsToCategoryActionGroup"> |
12 | 12 | <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> |
14 | 14 | </annotations>
|
15 |
| - <arguments> |
16 |
| - <argument name="image" defaultValue="ProductImage"/> |
17 |
| - </arguments> |
18 | 15 |
|
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 | + |
27 | 28 | </actionGroup>
|
28 | 29 | </actionGroups>
|
0 commit comments