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
TestCase
DeleteSystemCustomerGroupTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Test\TestCase
;
8
9
use
Magento\Customer\Test\Fixture\CustomerGroup
;
10
use Magento\Customer\Test\Page\Adminhtml\CustomerGroupIndex;
11
use Magento\Mtf\TestCase\Injectable;
12
23
class
DeleteSystemCustomerGroupTest
extends
Injectable
24
{
25
/* tags */
26
const
MVP
=
'yes'
;
27
/* end tags */
28
34
protected
$customerGroupIndex
;
35
42
public
function
__inject
(CustomerGroupIndex
$customerGroupIndex
)
43
{
44
$this->customerGroupIndex =
$customerGroupIndex
;
45
}
46
53
public
function
test
(CustomerGroup $customerGroup)
54
{
55
$filter = [
'code'
=> $customerGroup->getCustomerGroupCode()];
56
57
// Steps
58
$this->customerGroupIndex->open();
59
$this->customerGroupIndex->getCustomerGroupGrid()->searchAndOpen($filter);
60
}
61
}
Magento\Customer\Test\Fixture\CustomerGroup
Definition:
TaxClassIds.php:7
Magento\Customer\Test\TestCase\DeleteSystemCustomerGroupTest\test
test(CustomerGroup $customerGroup)
Definition:
DeleteSystemCustomerGroupTest.php:53
Magento\Customer\Test\TestCase\DeleteSystemCustomerGroupTest\__inject
__inject(CustomerGroupIndex $customerGroupIndex)
Definition:
DeleteSystemCustomerGroupTest.php:42
Magento\Customer\Test\TestCase\DeleteSystemCustomerGroupTest
Definition:
DeleteSystemCustomerGroupTest.php:23
Magento\Customer\Test\TestCase\DeleteSystemCustomerGroupTest\MVP
const MVP
Definition:
DeleteSystemCustomerGroupTest.php:26
Magento\Customer\Test\TestCase\DeleteSystemCustomerGroupTest\$customerGroupIndex
$customerGroupIndex
Definition:
DeleteSystemCustomerGroupTest.php:34
Magento\Customer\Test\TestCase
Definition:
AbstractApplyVatIdTest.php:7