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
TestStep
CreateNewOrderStep.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Sales\Test\TestStep
;
8
9
use Magento\Sales\Test\Page\Adminhtml\OrderIndex;
10
use Magento\Mtf\TestStep\TestStepInterface;
11
16
class
CreateNewOrderStep
implements
TestStepInterface
17
{
23
protected
$orderIndex
;
24
29
public
function
__construct
(OrderIndex
$orderIndex
)
30
{
31
$this->orderIndex =
$orderIndex
;
32
}
33
39
public
function
run
()
40
{
41
$this->orderIndex->getGridPageActions()->addNew();
42
}
43
}
Magento\Sales\Test\TestStep
Definition:
AcceptPaymentStep.php:6
Magento\Sales\Test\TestStep\CreateNewOrderStep\run
run()
Definition:
CreateNewOrderStep.php:39
Magento\Sales\Test\TestStep\CreateNewOrderStep\__construct
__construct(OrderIndex $orderIndex)
Definition:
CreateNewOrderStep.php:29
Magento\Sales\Test\TestStep\CreateNewOrderStep
Definition:
CreateNewOrderStep.php:16
Magento\Sales\Test\TestStep\CreateNewOrderStep\$orderIndex
$orderIndex
Definition:
CreateNewOrderStep.php:23