Sylius\Behat\Page\Shop\Checkout\SelectPaymentPageInterface::changeShippingMethodByStepLabel PHP Метод

changeShippingMethodByStepLabel() публичный Метод

    public function changeShippingMethodByStepLabel();

Usage Example

Пример #1
0
 /**
  * @When I go to the shipping step
  */
 public function iGoToTheShippingStep()
 {
     if ($this->selectPaymentPage->isOpen()) {
         $this->selectPaymentPage->changeShippingMethodByStepLabel();
         return;
     }
     if ($this->completePage->isOpen()) {
         $this->completePage->changeShippingMethod();
         return;
     }
     throw new UnexpectedPageException('It is impossible to go to shipping step from current page.');
 }