10 use Magento\Catalog\Test\Page\Adminhtml\CatalogCategoryEdit;
11 use Magento\Catalog\Test\Page\Adminhtml\CatalogCategoryIndex;
12 use Magento\Mtf\TestCase\Injectable;
37 const TEST_TYPE =
'acceptance_test, extended_acceptance_test';
78 $this->catalogCategoryIndex->open();
79 $this->catalogCategoryIndex->getTreeCategories()->selectCategory(
$category,
false);
80 $this->catalogCategoryIndex->getTreeCategories()->$addCategory();
81 $this->catalogCategoryEdit->getEditForm()->fill(
$category);
82 $this->catalogCategoryEdit->getFormPageActions()->save();
__inject(CatalogCategoryIndex $catalogCategoryIndex, CatalogCategoryEdit $catalogCategoryEdit)
test(Category $category, $addCategory)