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
User
Test
TestStep
LogoutUserOnBackendStep.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\User\Test\TestStep
;
8
9
use
Magento\Backend\Test\Page\AdminAuthLogin
;
10
use Magento\Backend\Test\Page\Adminhtml\Dashboard;
11
use Magento\Mtf\TestStep\TestStepInterface;
12
16
class
LogoutUserOnBackendStep
implements
TestStepInterface
17
{
23
protected
$adminAuth
;
24
30
protected
$dashboard
;
31
37
public
function
__construct
(
AdminAuthLogin
$adminAuth
, Dashboard
$dashboard
)
38
{
39
$this->adminAuth =
$adminAuth
;
40
$this->dashboard =
$dashboard
;
41
}
42
48
public
function
run
()
49
{
50
$this->adminAuth->open();
51
$this->dashboard->getSystemMessageDialog()->closePopup();
52
$this->dashboard->getAdminPanelHeader()->logOut();
53
}
54
}
Magento\User\Test\TestStep\LogoutUserOnBackendStep\$dashboard
$dashboard
Definition:
LogoutUserOnBackendStep.php:30
Magento\User\Test\TestStep\LogoutUserOnBackendStep\$adminAuth
$adminAuth
Definition:
LogoutUserOnBackendStep.php:23
Magento\User\Test\TestStep\LogoutUserOnBackendStep\run
run()
Definition:
LogoutUserOnBackendStep.php:48
Magento\User\Test\TestStep\LogoutUserOnBackendStep
Definition:
LogoutUserOnBackendStep.php:16
Magento\User\Test\TestStep\LogoutUserOnBackendStep\__construct
__construct(AdminAuthLogin $adminAuth, Dashboard $dashboard)
Definition:
LogoutUserOnBackendStep.php:37
Magento\User\Test\TestStep
Definition:
CreateUserStep.php:6
Magento\Backend\Test\Page\AdminAuthLogin
Definition:
AdminAuthLogin.php:15