10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductSetEdit;
11 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductSetIndex;
12 use Magento\Mtf\Constraint\AbstractConstraint;
30 CatalogProductSetIndex $productSetIndex,
31 CatalogProductSetEdit $productSetEdit
33 $filter = [
'set_name' =>
$attributeSet->getAttributeSetName()];
34 $productSetIndex->open();
35 $productSetIndex->getGrid()->searchAndOpen($filter);
38 ->getDataFieldConfig(
'assigned_attributes')[
'source']
42 \PHPUnit\Framework\Assert::assertFalse(
43 $productSetEdit->getAttributeSetEditBlock()->checkProductAttribute(
$attributeCode),
44 "Attribute " .
$attributeCode .
" is present in Attribute set's Groups section." 55 return "Product Attribute is absent in Attribute set's Groups section.";
processAssert(CatalogAttributeSet $attributeSet, CatalogProductSetIndex $productSetIndex, CatalogProductSetEdit $productSetEdit)