File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 57
57
<fillField selector =" {{CategoryDisplaySettingsSection.layeredNavigationPriceInput}}" userInput =" 5.5" stepKey =" fillThePrice" />
58
58
59
59
<!-- Search the products and select the category products-->
60
- <scrollTo selector =" {{AdminCategoryBasicFieldSection.productsInCategory}}" x =" 0" y =" -80" stepKey =" scrollToProductInCategory" />
61
- <click selector =" {{AdminCategoryBasicFieldSection.productsInCategory}}" stepKey =" clickOnProductInCategory" />
62
- <fillField selector =" {{AdminCategoryContentSection.productTableColumnName}}" userInput =" $$simpleProduct.name$$" stepKey =" selectProduct" />
63
- <click selector =" {{AdminCategoryContentSection.productSearch}}" stepKey =" clickSearchButton" />
64
- <click selector =" {{AdminCategoryContentSection.productTableRow}}" stepKey =" selectProductFromTableRow" />
60
+ <actionGroup ref =" AdminAddProductToCategoryActionGroup" stepKey =" addProductToCategory" >
61
+ <argument name =" product" value =" $$simpleProduct$$" />
62
+ </actionGroup >
65
63
<click selector =" {{AdminCategoryMainActionsSection.SaveButton}}" stepKey =" clickSaveButton" />
66
64
<waitForPageLoad stepKey =" waitForCategorySaved" />
67
65
<see selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" userInput =" You saved the category." stepKey =" assertSuccessMessage" />
You can’t perform that action at this time.
0 commit comments