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
AssertCustomerMassDeleteNotInGrid.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Test\Constraint
;
8
9
use
Magento\Customer\Test\Fixture\Customer
;
10
use Magento\Customer\Test\Page\Adminhtml\CustomerIndex;
11
use Magento\Mtf\Constraint\AbstractConstraint;
12
17
class
AssertCustomerMassDeleteNotInGrid
extends
AbstractConstraint
18
{
28
public
function
processAssert
(
29
CustomerIndex $customerIndexPage,
30
AssertCustomerNotInGrid
$assertCustomerNotInGrid,
31
$customersQtyToDelete,
32
$customers
33
) {
34
for
(
$i
= 0;
$i
< $customersQtyToDelete;
$i
++) {
35
$assertCustomerNotInGrid->
processAssert
(
$customers
[
$i
], $customerIndexPage);
36
}
37
}
38
44
public
function
toString
()
45
{
46
return
'Deleted customers are absent in Customer grid.'
;
47
}
48
}
Magento\Customer\Test\Constraint\AssertCustomerNotInGrid
Definition:
AssertCustomerNotInGrid.php:17
Magento\Customer\Test\Constraint
Definition:
AssertAdditionalAddressCreatedFrontend.php:7
Magento\Customer\Test\Constraint\AssertCustomerMassDeleteNotInGrid\toString
toString()
Definition:
AssertCustomerMassDeleteNotInGrid.php:44
Magento\Customer\Test\Constraint\AssertCustomerNotInGrid\processAssert
processAssert(Customer $customer, CustomerIndex $customerIndexPage)
Definition:
AssertCustomerNotInGrid.php:26
$customers
$customers
Definition:
customer_with_addresses.php:6
Magento\Customer\Test\Constraint\AssertCustomerMassDeleteNotInGrid\processAssert
processAssert(CustomerIndex $customerIndexPage, AssertCustomerNotInGrid $assertCustomerNotInGrid, $customersQtyToDelete, $customers)
Definition:
AssertCustomerMassDeleteNotInGrid.php:28
Magento\Customer\Test\Constraint\AssertCustomerMassDeleteNotInGrid
Definition:
AssertCustomerMassDeleteNotInGrid.php:17
Magento\Customer\Test\Fixture\Customer
Definition:
Address.php:7
$i
$i
Definition:
gallery.phtml:31