9 use Magento\Checkout\Test\Page\CheckoutCart;
10 use Magento\Customer\Test\Fixture\Address;
11 use Magento\Mtf\TestStep\TestStepInterface;
23 private $checkoutCart;
49 $this->checkoutCart = $checkoutCart;
51 $this->shipping = $shipping;
61 $this->checkoutCart->open();
62 $this->checkoutCart->getCartBlock()->waitCartContainerLoading();
63 $this->checkoutCart->getShippingBlock()->resetAddress();
64 $this->checkoutCart->getShippingBlock()->fillEstimateShippingAndTax($this->address);
65 if (!empty($this->shipping)) {
66 $this->checkoutCart->getShippingBlock()->selectShippingMethod($this->shipping);
68 $this->checkoutCart->getTotalsBlock()->waitForUpdatedTotals();
__construct(CheckoutCart $checkoutCart, Address $address, array $shipping=[])