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
SelectStoreStep.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Sales\Test\TestStep
;
8
9
use Magento\Sales\Test\Page\Adminhtml\OrderCreateIndex;
10
use
Magento\Store\Test\Fixture\Store
;
11
use Magento\Mtf\TestStep\TestStepInterface;
12
17
class
SelectStoreStep
implements
TestStepInterface
18
{
24
protected
$store
;
25
31
protected
$orderCreateIndex
;
32
40
public
function
__construct
(Store
$store
, OrderCreateIndex
$orderCreateIndex
)
41
{
42
$this->store =
$store
;
43
$this->orderCreateIndex =
$orderCreateIndex
;
44
}
45
51
public
function
run
()
52
{
53
if
($this->orderCreateIndex->getStoreBlock()->isVisible()) {
54
$this->orderCreateIndex->getStoreBlock()->selectStoreView($this->store);
55
}
56
}
57
}
Magento\Sales\Test\TestStep
Definition:
AcceptPaymentStep.php:6
Magento\Sales\Test\TestStep\SelectStoreStep\$store
$store
Definition:
SelectStoreStep.php:24
Magento\Sales\Test\TestStep\SelectStoreStep\run
run()
Definition:
SelectStoreStep.php:51
Magento\Sales\Test\TestStep\SelectStoreStep\$orderCreateIndex
$orderCreateIndex
Definition:
SelectStoreStep.php:31
Magento\Sales\Test\TestStep\SelectStoreStep\__construct
__construct(Store $store, OrderCreateIndex $orderCreateIndex)
Definition:
SelectStoreStep.php:40
Magento\Store\Test\Fixture\Store
Definition:
GroupId.php:7
Magento\Sales\Test\TestStep\SelectStoreStep
Definition:
SelectStoreStep.php:17