Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
OpenSalesOrdersStep.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Sales\Test\Page\Adminhtml\OrderIndex;
10 use Magento\Mtf\TestStep\TestStepInterface;
11 
16 class OpenSalesOrdersStep 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->open();
42  }
43 }