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
Cms
Test
Constraint
AssertAuthorizationLinkIsVisibleOnStoreFront.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Cms\Test\Constraint
;
8
9
use Magento\Cms\Test\Page\CmsIndex;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
15
class
AssertAuthorizationLinkIsVisibleOnStoreFront
extends
AbstractConstraint
16
{
23
public
function
processAssert
(CmsIndex $cmsIndex)
24
{
25
$cmsIndex->open();
26
\PHPUnit\Framework\Assert::assertTrue(
27
$cmsIndex->getLinksBlock()->isAuthorizationVisible(),
28
"Authorization link is not visible on the Store Front."
29
);
30
}
31
37
public
function
toString
()
38
{
39
return
"Authorization link is visible on the Store Front."
;
40
}
41
}
Magento\Cms\Test\Constraint\AssertAuthorizationLinkIsVisibleOnStoreFront\toString
toString()
Definition:
AssertAuthorizationLinkIsVisibleOnStoreFront.php:37
Magento\Cms\Test\Constraint
Definition:
AssertAuthorizationLinkIsVisibleOnStoreFront.php:7
Magento\Cms\Test\Constraint\AssertAuthorizationLinkIsVisibleOnStoreFront\processAssert
processAssert(CmsIndex $cmsIndex)
Definition:
AssertAuthorizationLinkIsVisibleOnStoreFront.php:23
Magento\Cms\Test\Constraint\AssertAuthorizationLinkIsVisibleOnStoreFront
Definition:
AssertAuthorizationLinkIsVisibleOnStoreFront.php:15