11 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex;
12 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductNew;
13 use Magento\Mtf\TestCase\Injectable;
34 const TEST_TYPE =
'acceptance_test, extended_acceptance_test';
81 CatalogProductIndex $productGrid,
82 CatalogProductNew $newProductPage,
86 $this->configData = $configData;
87 $this->flushCache = $flushCache;
90 $this->objectManager->create(
91 \
Magento\Config\Test\TestStep\SetupConfigurationStep::class,
92 [
'configData' => $this->configData,
'flushCache' => $this->flushCache]
98 $productGrid->getGridPageActionBlock()->addProduct(
'simple');
100 $newProductPage->getFormPageActions()->save();
113 $this->objectManager->create(
114 \
Magento\Config\Test\TestStep\SetupConfigurationStep::class,
115 [
'configData' => $this->configData,
'rollback' =>
true,
'flushCache' => $this->flushCache]
__prepare(Category $category)
testCreate(CatalogProductSimple $product, Category $category, CatalogProductIndex $productGrid, CatalogProductNew $newProductPage, $flushCache=false, $configData=null)