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
Customer
Test
Constraint
AssertNoDeleteForSystemCustomerGroup.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Test\Constraint
;
8
9
use
Magento\Customer\Test\Fixture\CustomerGroup
;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
use Magento\Customer\Test\Page\Adminhtml\CustomerGroupEdit;
12
16
class
AssertNoDeleteForSystemCustomerGroup
extends
AbstractConstraint
17
{
24
public
function
processAssert
(CustomerGroupEdit $customerGroupEdit)
25
{
26
\PHPUnit\Framework\Assert::assertFalse(
27
$customerGroupEdit->getPageMainActions()->checkDeleteButton(),
28
"Delete button is visible."
29
);
30
}
31
37
public
function
toString
()
38
{
39
return
'Customer group is not possible to delete.'
;
40
}
41
}
Magento\Customer\Test\Fixture\CustomerGroup
Definition:
TaxClassIds.php:7
Magento\Customer\Test\Constraint
Definition:
AssertAdditionalAddressCreatedFrontend.php:7
Magento\Customer\Test\Constraint\AssertNoDeleteForSystemCustomerGroup\toString
toString()
Definition:
AssertNoDeleteForSystemCustomerGroup.php:37
Magento\Customer\Test\Constraint\AssertNoDeleteForSystemCustomerGroup\processAssert
processAssert(CustomerGroupEdit $customerGroupEdit)
Definition:
AssertNoDeleteForSystemCustomerGroup.php:24
Magento\Customer\Test\Constraint\AssertNoDeleteForSystemCustomerGroup
Definition:
AssertNoDeleteForSystemCustomerGroup.php:16