10 use Magento\Customer\Test\Page\CustomerAccountEdit;
11 use Magento\Mtf\Constraint\AbstractConstraint;
36 $validationMessages = $customerAccountEdit->getAccountInfoForm()->getValidationMessages(
$customer);
37 if (isset($validationMessages[
'password_confirmation'])) {
38 \PHPUnit\Framework\Assert::assertEquals(
39 self::CONFIRMATION_MESSAGE,
40 $validationMessages[
'password_confirmation'],
41 'Wrong password confirmation validation text message.' 44 \PHPUnit\Framework\TestCase::fail(
'Password confirmation validation message is absent.');
55 return 'Password confirmation validation text message is displayed.';
processAssert(Customer $customer, CustomerAccountEdit $customerAccountEdit)
const CONFIRMATION_MESSAGE