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)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
Backend
Test
Constraint
AssertGlobalSearchNoRecordsFound.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Backend\Test\Constraint
;
8
9
use Magento\Backend\Test\Page\Adminhtml\Dashboard;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
16
class
AssertGlobalSearchNoRecordsFound
extends
AbstractConstraint
17
{
21
const
EXPECTED_RESULT
=
'No records found.'
;
22
29
public
function
processAssert
(Dashboard $dashboard)
30
{
31
$isVisibleInResult = $dashboard->getAdminPanelHeader()->isSearchResultVisible(self::EXPECTED_RESULT);
32
\PHPUnit\Framework\Assert::assertTrue(
33
$isVisibleInResult,
34
'Expected text '
. self::EXPECTED_RESULT .
' is absent in search results'
35
);
36
}
37
43
public
function
toString
()
44
{
45
return
'"No records found." is present in search results'
;
46
}
47
}
Magento\Backend\Test\Constraint\AssertGlobalSearchNoRecordsFound\EXPECTED_RESULT
const EXPECTED_RESULT
Definition:
AssertGlobalSearchNoRecordsFound.php:21
Magento\Backend\Test\Constraint\AssertGlobalSearchNoRecordsFound\processAssert
processAssert(Dashboard $dashboard)
Definition:
AssertGlobalSearchNoRecordsFound.php:29
Magento\Backend\Test\Constraint\AssertGlobalSearchNoRecordsFound
Definition:
AssertGlobalSearchNoRecordsFound.php:16
Magento\Backend\Test\Constraint\AssertGlobalSearchNoRecordsFound\toString
toString()
Definition:
AssertGlobalSearchNoRecordsFound.php:43
Magento\Backend\Test\Constraint
Definition:
AssertAdminLoginPageIsAvailable.php:7