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
Sales
Test
Constraint
AssertCartSectionIsEmptyOnBackendOrderPage.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Sales\Test\Constraint
;
8
9
use Magento\Mtf\Constraint\AbstractConstraint;
10
use Magento\Sales\Test\Page\Adminhtml\OrderCreateIndex;
11
15
class
AssertCartSectionIsEmptyOnBackendOrderPage
extends
AbstractConstraint
16
{
23
public
function
processAssert
(OrderCreateIndex $orderCreateIndex)
24
{
25
$orderCreateIndex->open();
26
$backendOrderSidebarBlock = $orderCreateIndex->getBackendOrderSidebarBlock()->noItemsInCartCheck();
27
\PHPUnit\Framework\Assert::assertTrue(
28
$backendOrderSidebarBlock,
29
"Customer's Shopping Cart section on Order Create backend page is not empty."
30
);
31
}
32
38
public
function
toString
()
39
{
40
return
"Customer's Shopping Cart section on Order Create backend page is empty."
;
41
}
42
}
Magento\Sales\Test\Constraint\AssertCartSectionIsEmptyOnBackendOrderPage
Definition:
AssertCartSectionIsEmptyOnBackendOrderPage.php:15
Magento\Sales\Test\Constraint\AssertCartSectionIsEmptyOnBackendOrderPage\processAssert
processAssert(OrderCreateIndex $orderCreateIndex)
Definition:
AssertCartSectionIsEmptyOnBackendOrderPage.php:23
Magento\Sales\Test\Constraint
Definition:
AbstractAssertItems.php:7
Magento\Sales\Test\Constraint\AssertCartSectionIsEmptyOnBackendOrderPage\toString
toString()
Definition:
AssertCartSectionIsEmptyOnBackendOrderPage.php:38