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
AssertProductGridIsRendered.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Catalog\Test\Constraint
;
8
12
class
AssertProductGridIsRendered
extends
\Magento\Mtf\Constraint\AbstractConstraint
13
{
20
public
function
processAssert
(
21
\
Magento
\Catalog\Test\Page\Adminhtml\CatalogProductIndex $catalogProductIndex
22
) {
23
$productId
= $catalogProductIndex->open()->getProductGrid()->getFirstItemId();
24
\PHPUnit\Framework\Assert::assertNotNull(
25
$productId
,
26
'Product grid is not rendered correctly.'
27
);
28
}
29
35
public
function
toString
()
36
{
37
return
'Product grid is rendered correctly.'
;
38
}
39
}
$productId
$productId
Definition:
website_attribute_sync.php:26
Magento\Catalog\Test\Constraint
Definition:
AssertAbsenceDeleteAttributeButton.php:7
Magento\Catalog\Test\Constraint\AssertProductGridIsRendered
Definition:
AssertProductGridIsRendered.php:12
Magento
Magento\Catalog\Test\Constraint\AssertProductGridIsRendered\processAssert
processAssert(\Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex $catalogProductIndex)
Definition:
AssertProductGridIsRendered.php:20
Magento\Catalog\Test\Constraint\AssertProductGridIsRendered\toString
toString()
Definition:
AssertProductGridIsRendered.php:35