9 use Magento\Catalog\Test\Fixture\CatalogProductAttribute;
10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductAttributeIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
31 CatalogProductAttributeIndex $attributeIndex,
35 'attribute_code' =>
$attribute->getAttributeCode(),
38 $attributeIndex->open();
39 \PHPUnit\Framework\Assert::assertFalse(
40 $attributeIndex->getGrid()->isRowVisible($filter),
41 'Attribute \'' .
$attribute->getFrontendLabel() .
'\' is present in Attribute grid.
' 50 public function toString() 52 return 'Product Attribute is absent in Attribute grid.
'; processAssert(CatalogProductAttributeIndex $attributeIndex, CatalogProductAttribute $attribute)