9 use Magento\Catalog\Test\Fixture\CatalogProductAttribute;
10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductAttributeIndex;
11 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductAttributeNew;
13 use Magento\Mtf\TestCase\Injectable;
79 ->getAttributes()[
'attribute_key_0'];
81 $this->attributeIndex->open();
82 $this->attributeIndex->getGrid()->searchAndOpen([
'attribute_code' =>
$attribute->getAttributeCode()]);
83 $this->attributeNew->getPageActions()->delete();
84 $this->attributeNew->getModalBlock()->acceptAlert();
__inject(CatalogProductAttributeIndex $attributeIndex, CatalogProductAttributeNew $attributeNew)