/** * @When I decide to change order shipping method */ public function iDecideToChangeMyShippingMethod() { $this->paymentPage->changeShippingMethod(); }
/** * @When /^I change shipping method to "([^"]*)"$/ */ public function iChangeShippingMethod($shippingMethodName) { $this->paymentPage->changeShippingMethod(); $this->shippingPage->selectShippingMethod($shippingMethodName); $this->shippingPage->nextStep(); }