Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DeleteSystemProductAttributeTest.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Catalog\Test\Fixture\CatalogProductAttribute;
10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductAttributeIndex;
11 use Magento\Mtf\TestCase\Injectable;
12 
26 class DeleteSystemProductAttributeTest extends Injectable
27 {
28  /* tags */
29  const MVP = 'yes';
30  /* end tags */
31 
40  CatalogProductAttribute $productAttribute,
41  CatalogProductAttributeIndex $attributeIndex
42  ) {
43  $filter = $productAttribute->getData();
44 
45  // Steps
46  $attributeIndex->open();
47  $attributeIndex->getGrid()->searchAndOpen($filter);
48  }
49 }
testDeleteSystemProductAttribute(CatalogProductAttribute $productAttribute, CatalogProductAttributeIndex $attributeIndex)