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
Backend
Test
TestCase
GlobalSearchEntityTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Backend\Test\TestCase
;
8
9
use
Magento\Backend\Test\Fixture\GlobalSearch
;
10
use Magento\Backend\Test\Page\Adminhtml\Dashboard;
11
use Magento\Mtf\TestCase\Injectable;
12
28
class
GlobalSearchEntityTest
extends
Injectable
29
{
30
/* tags */
31
const
MVP
=
'no'
;
32
/* end tags */
33
39
protected
$dashboard
;
40
47
public
function
__inject
(Dashboard
$dashboard
)
48
{
49
$this->dashboard =
$dashboard
;
50
}
51
58
public
function
test
(GlobalSearch $search)
59
{
60
// Steps:
61
$this->dashboard->open();
62
$this->dashboard->getAdminPanelHeader()->search($search->getQuery());
63
}
64
}
Magento\Backend\Test\TestCase\GlobalSearchEntityTest\test
test(GlobalSearch $search)
Definition:
GlobalSearchEntityTest.php:58
Magento\Backend\Test\Fixture\GlobalSearch
Definition:
Query.php:7
Magento\Backend\Test\TestCase\GlobalSearchEntityTest\__inject
__inject(Dashboard $dashboard)
Definition:
GlobalSearchEntityTest.php:47
Magento\Backend\Test\TestCase\GlobalSearchEntityTest
Definition:
GlobalSearchEntityTest.php:28
Magento\Backend\Test\TestCase\GlobalSearchEntityTest\MVP
const MVP
Definition:
GlobalSearchEntityTest.php:31
Magento\Backend\Test\TestCase
Definition:
ConfigPageVisibilityTest.php:6
Magento\Backend\Test\TestCase\GlobalSearchEntityTest\$dashboard
$dashboard
Definition:
GlobalSearchEntityTest.php:39