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
Store
Test
Constraint
AssertStoreBackend.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Store\Test\Constraint
;
8
9
use Magento\Backend\Test\Page\Adminhtml\SystemConfig;
10
use
Magento\Store\Test\Fixture\Store
;
11
use Magento\Mtf\Constraint\AbstractConstraint;
12
17
class
AssertStoreBackend
extends
AbstractConstraint
18
{
26
public
function
processAssert
(Store
$store
,
SystemConfig
$systemConfig)
27
{
28
$systemConfig->open();
29
$isStoreVisible = $systemConfig->getPageActions()->isStoreVisible(
$store
);
30
\PHPUnit\Framework\Assert::assertTrue($isStoreVisible,
"Store view is not visible in dropdown on config page"
);
31
}
32
38
public
function
toString
()
39
{
40
return
'Store View is available in backend configuration (Stores > Configuration > "Scope" dropdown)'
;
41
}
42
}
Magento\Store\Test\Constraint
Definition:
AssertStoreBackend.php:7
Magento\Store\Test\Constraint\AssertStoreBackend
Definition:
AssertStoreBackend.php:17
Magento\Store\Test\Fixture\Store
Definition:
GroupId.php:7
Magento\Store\Test\Constraint\AssertStoreBackend\toString
toString()
Definition:
AssertStoreBackend.php:38
$store
$store
Definition:
payment_configuration_rollback.php:33
Magento\Config\Model\Config
Magento\Store\Test\Constraint\AssertStoreBackend\processAssert
processAssert(Store $store, SystemConfig $systemConfig)
Definition:
AssertStoreBackend.php:26