9 use Magento\Mtf\TestCase\Injectable;
11 use Magento\Customer\Test\Page\CustomerAccountEdit;
65 $initialCustomer->persist();
68 $this->objectManager->create(
69 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
70 [
'customer' => $initialCustomer]
73 $this->customerAccountEdit->getAccountMenuBlock()->openMenuItem(
'Account Information');
74 $this->customerAccountEdit->getAccountInfoForm()->SetChangeEmail(
true);
75 $this->customerAccountEdit->getAccountInfoForm()->fill(
$customer);
76 $this->customerAccountEdit->getAccountInfoForm()->submit();
86 $this->objectManager->create(\
Magento\Customer\Test\TestStep\LogoutCustomerOnFrontendStep::class)->run();
test(Customer $initialCustomer, Customer $customer)
__inject(CustomerAccountEdit $customerAccountEdit)