9 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex;
10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductNew;
13 use Magento\Mtf\TestCase\Injectable;
14 use Magento\Mtf\TestStep\TestStepFactory;
44 const TEST_TYPE =
'acceptance_test, extended_acceptance_test';
105 $this->testStepFactory->create(
106 SetupConfigurationStep::class,
107 [
'configData' => $this->configData,
'flushCache' =>
true]
111 $this->productIndex->open();
112 $this->productIndex->getGridPageActionBlock()->addProduct(
'configurable');
113 $this->productNew->getProductForm()->fill(
$product);
114 $this->productNew->getFormPageActions()->save(
$product);
122 $this->testStepFactory->create(
123 SetupConfigurationStep::class,
124 [
'configData' => $this->configData,
'flushCache' =>
true]
__inject(CatalogProductIndex $productIndex, CatalogProductNew $productNew, TestStepFactory $testStepFactory)
test(ConfigurableProduct $product, $configData=null)