Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
OpenDashboardStep.php
Go to the documentation of this file.
1 <?php
7 
8 use Magento\Backend\Test\Page\Adminhtml\Dashboard;
9 use Magento\Mtf\TestStep\TestStepInterface;
10 
14 class OpenDashboardStep implements TestStepInterface
15 {
21  private $dashboard;
22 
26  public function __construct(Dashboard $dashboard)
27  {
28  $this->dashboard = $dashboard;
29  }
30 
36  public function run()
37  {
38  $this->dashboard->open();
39  }
40 }