Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
Customer
Test
Constraint
AssertCustomerFailRegisterMessage.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Test\Constraint
;
8
9
use Magento\Customer\Test\Page\CustomerAccountCreate;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
15
class
AssertCustomerFailRegisterMessage
extends
AbstractConstraint
16
{
23
public
function
processAssert
(CustomerAccountCreate $registerPage)
24
{
25
$errorMessage = $registerPage->getMessagesBlock()->getErrorMessage();
26
\PHPUnit\Framework\Assert::assertNotEmpty(
27
$errorMessage,
28
'No error message is displayed.'
29
);
30
}
31
37
public
function
toString
()
38
{
39
return
'Assert that error message is displayed.'
;
40
}
41
}
Magento\Customer\Test\Constraint
Definition:
AssertAdditionalAddressCreatedFrontend.php:7
Magento\Customer\Test\Constraint\AssertCustomerFailRegisterMessage
Definition:
AssertCustomerFailRegisterMessage.php:15
Magento\Customer\Test\Constraint\AssertCustomerFailRegisterMessage\toString
toString()
Definition:
AssertCustomerFailRegisterMessage.php:37
Magento\Customer\Test\Constraint\AssertCustomerFailRegisterMessage\processAssert
processAssert(CustomerAccountCreate $registerPage)
Definition:
AssertCustomerFailRegisterMessage.php:23