10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex;
11 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductNew;
13 use Magento\Mtf\Constraint\AbstractConstraint;
28 public function processAssert(
29 CatalogProductIndex $catalogProductIndex,
30 CatalogProductNew $catalogProductNew,
31 CustomerGroup $customerGroup
33 $catalogProductIndex->open();
34 $catalogProductIndex->getGridPageActionBlock()->addProduct();
35 $catalogProductNew->getProductForm()->openSection(
'advanced-pricing');
38 $advancedPricingTab = $catalogProductNew->getProductForm()->getSection(
'advanced-pricing');
39 \PHPUnit\Framework\Assert::assertFalse(
40 $advancedPricingTab->getTierPriceForm()->isVisibleCustomerGroup($customerGroup),
41 "Customer group {$customerGroup->getCustomerGroupCode()} is still in tier price form on product page." 52 return 'Customer group not on product page.';