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
AssertStoreGroupNoDeleteButton.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Store\Test\Constraint
;
8
9
use Magento\Backend\Test\Page\Adminhtml\NewGroupIndex;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
15
class
AssertStoreGroupNoDeleteButton
extends
AbstractConstraint
16
{
23
public
function
processAssert
(NewGroupIndex $newGroupIndex)
24
{
25
\PHPUnit\Framework\Assert::assertFalse(
26
$newGroupIndex->getFormPageActions()->checkDeleteButton(),
27
'\'
Delete\
' button on StoreGroup view edit page is present when it should not.'
28
);
29
}
30
36
public
function
toString
()
37
{
38
return
'\'
Delete\
' button on StoreGroup view edit page is absent.'
;
39
}
40
}
Magento\Store\Test\Constraint
Definition:
AssertStoreBackend.php:7
Magento\Store\Test\Constraint\AssertStoreGroupNoDeleteButton\toString
toString()
Definition:
AssertStoreGroupNoDeleteButton.php:36
Magento\Store\Test\Constraint\AssertStoreGroupNoDeleteButton\processAssert
processAssert(NewGroupIndex $newGroupIndex)
Definition:
AssertStoreGroupNoDeleteButton.php:23
Magento\Store\Test\Constraint\AssertStoreGroupNoDeleteButton
Definition:
AssertStoreGroupNoDeleteButton.php:15