10 use Magento\Customer\Test\Page\Adminhtml\CustomerIndex;
11 use Magento\Mtf\Fixture\FixtureFactory;
12 use Magento\Mtf\TestCase\Injectable;
75 public function test(CustomerGroup $customerGroup, FixtureFactory $fixtureFactory, array
$customers)
78 if (!$customerGroup->hasData(
'customer_group_id')) {
79 $customerGroup->persist();
86 $customerEmails[] = [
'email' =>
$customer->getEmail()];
90 $this->customerIndex->open();
91 $this->customerIndex->getCustomerGridBlock()->massaction(
93 [$this->customersGridActions => $customerGroup->getCustomerGroupCode()],
test(CustomerGroup $customerGroup, FixtureFactory $fixtureFactory, array $customers)
__inject(CustomerIndex $customerIndex)