/** * Create customer group. * * @param CustomerGroup $customerGroup * @return void */ public function test(CustomerGroup $customerGroup) { // Steps $this->customerGroupIndex->open(); $this->customerGroupIndex->getGridPageActions()->addNew(); $this->customerGroupNew->getCustomerGroupForm()->fill($customerGroup); $this->customerGroupNew->getPageActionsBlock()->save(); }