9 use Magento\Mtf\TestCase\Injectable;
10 use Magento\Cms\Test\Page\CmsIndex;
12 use Magento\Customer\Test\Page\CustomerAccountEdit;
13 use Magento\Customer\Test\Page\CustomerAccountIndex;
14 use Magento\Customer\Test\Page\CustomerAccountLogin;
97 $initialCustomer->persist();
100 $this->objectManager->create(
101 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
102 [
'customer' => $initialCustomer]
105 $this->cmsIndex->getLinksBlock()->openLink(
'My Account');
106 $this->customerAccountIndex->getInfoBlock()->openChangePassword();
107 $this->customerAccountEdit->getAccountInfoForm()->fill(
$customer);
108 $this->customerAccountEdit->getAccountInfoForm()->submit();
test(Customer $initialCustomer, Customer $customer)
__inject(CmsIndex $cmsIndex, CustomerAccountLogin $customerAccountLogin, CustomerAccountIndex $customerAccountIndex, CustomerAccountEdit $customerAccountEdit)