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
Catalog
Test
Constraint
AssertProductCompareItemsLinkIsAbsent.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Catalog\Test\Constraint
;
8
9
use Magento\Cms\Test\Page\CmsIndex;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
15
class
AssertProductCompareItemsLinkIsAbsent
extends
AbstractConstraint
16
{
17
/* tags */
18
const
SEVERITY
=
'low'
;
19
/* end tags */
20
27
public
function
processAssert
(CmsIndex $cmsIndex)
28
{
29
\PHPUnit\Framework\Assert::assertFalse(
30
$cmsIndex->getLinksBlock()->isLinkVisible(
"Compare Products"
),
31
'The link "Compare Products..." is visible at the top of page.'
32
);
33
}
34
40
public
function
toString
()
41
{
42
return
'The link is NOT visible at the top of page.'
;
43
}
44
}
Magento\Catalog\Test\Constraint\AssertProductCompareItemsLinkIsAbsent\SEVERITY
const SEVERITY
Definition:
AssertProductCompareItemsLinkIsAbsent.php:18
Magento\Catalog\Test\Constraint\AssertProductCompareItemsLinkIsAbsent
Definition:
AssertProductCompareItemsLinkIsAbsent.php:15
Magento\Catalog\Test\Constraint
Definition:
AssertAbsenceDeleteAttributeButton.php:7
Magento\Catalog\Test\Constraint\AssertProductCompareItemsLinkIsAbsent\toString
toString()
Definition:
AssertProductCompareItemsLinkIsAbsent.php:40
Magento\Catalog\Test\Constraint\AssertProductCompareItemsLinkIsAbsent\processAssert
processAssert(CmsIndex $cmsIndex)
Definition:
AssertProductCompareItemsLinkIsAbsent.php:27