10 use Magento\Customer\Test\Page\CustomerAccountIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
12 use Magento\Mtf\Fixture\FixtureFactory;
33 FixtureFactory $fixtureFactory,
34 CustomerAccountIndex $customerAccountIndex,
35 Customer $initialCustomer,
38 $customer = $fixtureFactory->createByCode(
41 'dataset' =>
'default',
43 'email' => $initialCustomer->getEmail(),
45 'password_confirmation' =>
$customer->getPassword(),
50 $this->objectManager->create(
51 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
55 \PHPUnit\Framework\Assert::assertTrue(
56 $customerAccountIndex->getAccountMenuBlock()->isVisible(),
57 'Customer Account Dashboard is not visible.' 68 return 'Customer password was changed.';
processAssert(FixtureFactory $fixtureFactory, CustomerAccountIndex $customerAccountIndex, Customer $initialCustomer, Customer $customer)