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
Ui
Test
Constraint
AssertGridSorting.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Ui\Test\Constraint
;
8
9
use Magento\Mtf\Constraint\AbstractConstraint;
10
15
class
AssertGridSorting
extends
AbstractConstraint
16
{
22
public
function
processAssert
(array $sortingResults)
23
{
24
foreach
($sortingResults as $columnName => $sortingResult) {
25
\PHPUnit\Framework\Assert::assertNotEquals(
26
$sortingResult[
'firstIdAfterFirstSoring'
],
27
$sortingResult[
'firstIdAfterSecondSoring'
],
28
sprintf(
'Sorting for "%s" column have not changed the first item of grid!'
, $columnName)
29
);
30
}
31
}
32
38
public
function
toString
()
39
{
40
return
'Sorting have not changed the first item of grid!'
;
41
}
42
}
Magento\Ui\Test\Constraint\AssertGridSorting\toString
toString()
Definition:
AssertGridSorting.php:38
Magento\Ui\Test\Constraint\AssertGridSorting\processAssert
processAssert(array $sortingResults)
Definition:
AssertGridSorting.php:22
Magento\Ui\Test\Constraint
Definition:
AssertGridFiltering.php:7
Magento\Ui\Test\Constraint\AssertGridSorting
Definition:
AssertGridSorting.php:15