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