9 use Magento\Mtf\TestCase\Injectable;
11 use Magento\Customer\Test\Page\CustomerAccountEdit;
63 public function test(Customer $initialCustomer, Customer
$customer, $check)
66 $initialCustomer->persist();
69 $this->objectManager->create(
70 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
71 [
'customer' => $initialCustomer]
74 $this->customerAccountEdit->getAccountMenuBlock()->openMenuItem(
'Account Information');
76 $this->customerAccountEdit->getAccountInfoForm()->SetChangePassword(
true);
77 $this->customerAccountEdit->getAccountInfoForm()->fill(
$customer);
78 $this->customerAccountEdit->getAccountInfoForm()->submit();
89 $this->objectManager->create(\
Magento\Customer\Test\TestStep\LogoutCustomerOnFrontendStep::class)->run();
__inject(CustomerAccountEdit $customerAccountEdit)
test(Customer $initialCustomer, Customer $customer, $check)