9 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex;
10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductNew;
11 use Magento\Mtf\ObjectManager;
12 use Magento\Mtf\TestCase\Injectable;
84 CatalogProductSimple $productVideo,
90 $this->objectManager->create(
91 \
Magento\Config\Test\TestStep\SetupConfigurationStep::class,
92 [
'configData' => $this->configData]
97 $this->productGrid->open();
99 $this->productGrid->getGridPageActionBlock()->addProduct(
'simple');
104 $this->newProductPage->getProductForm()->fill($productVideo);
110 $this->newProductPage->getProductForm()->fill(
$product);
113 $this->newProductPage->getFormPageActions()->save();
125 if ($this->configData) {
126 $this->objectManager->create(
127 \
Magento\Config\Test\TestStep\SetupConfigurationStep::class,
128 [
'configData' => $this->configData,
'rollback' =>
true]
test(CatalogProductSimple $product, CatalogProductSimple $productVideo, $configData=null)
__inject(CatalogProductIndex $productGrid, CatalogProductNew $newProductPage)