10 use Magento\Customer\Test\Page\Adminhtml\CustomerGroupIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
30 CustomerGroup $customerGroup,
31 CustomerGroupIndex $customerGroupIndex
33 $customerGroupIndex->open();
34 $filter = [
'code' => $customerGroup->getCustomerGroupCode()];
35 \PHPUnit\Framework\Assert::assertTrue(
36 $customerGroupIndex->getCustomerGroupGrid()->isRowVisible($filter),
37 'Group with type \'' . $customerGroup->getCustomerGroupCode() .
'\'is absent in customer groups grid.
' 46 public function toString() 48 return 'Customer group in grid.
';
processAssert(CustomerGroup $customerGroup, CustomerGroupIndex $customerGroupIndex)