9 use Magento\Customer\Test\Page\CustomerAccountCreate;
10 use Magento\Mtf\Constraint\AbstractConstraint;
28 $errorMessage = $registerPage->getRegisterForm()->getPasswordError();
29 \PHPUnit\Framework\Assert::assertContains(
30 self::PASSWORD_LENGTH_ERROR_MESSAGE,
32 'Incorrect password error message.' 43 return 'Password too short message is present on customer registration page.';
const PASSWORD_LENGTH_ERROR_MESSAGE
processAssert(CustomerAccountCreate $registerPage)