9 use Magento\Customer\Test\Page\CustomerAccountEdit;
10 use Magento\Mtf\Constraint\AbstractConstraint;
24 CustomerAccountEdit $customerAccountEdit
26 $infoForm = $customerAccountEdit->getAccountInfoForm();
28 \PHPUnit\Framework\Assert::assertFalse(
29 $infoForm->isEmailVisible(),
30 'Email text field should not be visible.' 33 \PHPUnit\Framework\Assert::assertFalse(
34 $infoForm->isCurrentPasswordVisible(),
35 'Current Password text field should not be visible.' 38 \PHPUnit\Framework\Assert::assertFalse(
39 $infoForm->isPasswordVisible(),
40 'New Password text field should not be visible.' 43 \PHPUnit\Framework\Assert::assertFalse(
44 $infoForm->isConfirmPasswordVisible(),
45 'Password Confirmation text field should not be visible.' 56 return 'Default customer account information tab is correct.';