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
TestStep
OpenCustomerOnBackendStep.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Test\TestStep
;
8
9
use
Magento\Customer\Test\Fixture\Customer
;
10
use Magento\Customer\Test\Page\Adminhtml\CustomerIndex;
11
use Magento\Mtf\TestStep\TestStepInterface;
12
17
class
OpenCustomerOnBackendStep
implements
TestStepInterface
18
{
24
protected
$customer
;
25
31
protected
$customerIndex
;
32
38
public
function
__construct
(Customer
$customer
, CustomerIndex
$customerIndex
)
39
{
40
$this->customer =
$customer
;
41
$this->customerIndex =
$customerIndex
;
42
}
43
49
public
function
run
()
50
{
51
$this->customerIndex->open();
52
$this->customerIndex->getCustomerGridBlock()->searchAndOpen([
'email'
=> $this->customer->getEmail()]);
53
}
54
}
Magento\Customer\Test\TestStep\OpenCustomerOnBackendStep\run
run()
Definition:
OpenCustomerOnBackendStep.php:49
Magento\Customer\Test\TestStep\OpenCustomerOnBackendStep\__construct
__construct(Customer $customer, CustomerIndex $customerIndex)
Definition:
OpenCustomerOnBackendStep.php:38
Magento\Customer\Test\TestStep\OpenCustomerOnBackendStep\$customer
$customer
Definition:
OpenCustomerOnBackendStep.php:24
Magento\Customer\Test\TestStep\OpenCustomerOnBackendStep\$customerIndex
$customerIndex
Definition:
OpenCustomerOnBackendStep.php:31
Magento\Customer\Test\TestStep
Definition:
CreateCustomerStep.php:7
Magento\Customer\Test\Fixture\Customer
Definition:
Address.php:7
Magento\Customer\Test\TestStep\OpenCustomerOnBackendStep
Definition:
OpenCustomerOnBackendStep.php:17