Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ProceedToCheckoutStep.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Checkout\Test\Page\CheckoutCart;
10 use Magento\Mtf\TestStep\TestStepInterface;
11 
16 class ProceedToCheckoutStep implements TestStepInterface
17 {
23  protected $checkoutCart;
24 
30  {
31  $this->checkoutCart = $checkoutCart;
32  }
33 
39  public function run()
40  {
41  $this->checkoutCart->open();
42  $this->checkoutCart->getProceedToCheckoutBlock()->proceedToCheckout();
43  }
44 }