10 use Magento\Customer\Test\Page\Adminhtml\CustomerGroupIndex;
11 use Magento\Customer\Test\Page\Adminhtml\CustomerGroupNew;
12 use Magento\Mtf\TestCase\Injectable;
75 CustomerGroup $customerGroupOriginal,
76 CustomerGroup $customerGroup
79 $customerGroupOriginal->persist();
80 $filter = [
'code' => $customerGroupOriginal->getCustomerGroupCode()];
83 $this->customerGroupIndex->open();
84 $this->customerGroupIndex->getCustomerGroupGrid()->searchAndOpen($filter);
85 $this->customerGroupNew->getPageMainForm()->fill($customerGroup);
86 $this->customerGroupNew->getPageMainActions()->save();
__inject(CustomerGroupIndex $customerGroupIndex, CustomerGroupNew $customerGroupNew)
test(CustomerGroup $customerGroupOriginal, CustomerGroup $customerGroup)