10 use Magento\Customer\Test\Page\CustomerAccountIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
12 use Magento\Mtf\Fixture\FixtureFactory;
29 FixtureFactory $fixtureFactory,
30 CustomerAccountIndex $customerAccountIndex,
31 Customer $initialCustomer,
34 $customer = $fixtureFactory->createByCode(
39 'password' => $initialCustomer->getPassword()
44 $this->objectManager->create(
45 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
49 \PHPUnit\Framework\Assert::assertTrue(
50 $customerAccountIndex->getAccountMenuBlock()->isVisible(),
51 'Customer Account Dashboard is not visible.' 62 return 'Customer email was changed.';
processAssert(FixtureFactory $fixtureFactory, CustomerAccountIndex $customerAccountIndex, Customer $initialCustomer, Customer $customer)