9 use Magento\Customer\Test\Page\Adminhtml\CustomerIndex;
10 use Magento\Customer\Test\Page\Adminhtml\CustomerIndexEdit;
11 use Magento\Mtf\TestStep\TestStepInterface;
26 private $customerIndexPage;
31 private $customerIndexEditPage;
40 CustomerIndex $customerIndexPage,
41 CustomerIndexEdit $customerIndexEditPage
44 $this->customerIndexPage = $customerIndexPage;
45 $this->customerIndexEditPage = $customerIndexEditPage;
53 $filter = [
'email' => $this->customer->getEmail()];
54 $this->customerIndexPage->open();
55 $this->customerIndexPage->getCustomerGridBlock()->searchAndOpen($filter);
56 $this->customerIndexEditPage->getPageActionsBlock()->delete();
57 $this->customerIndexEditPage->getModalBlock()->acceptAlert();
__construct(Customer $customer, CustomerIndex $customerIndexPage, CustomerIndexEdit $customerIndexEditPage)