/** * @When /^I proceed as guest "([^"]*)" with "([^"]*)" as shipping country$/ */ public function iProceedLoggingAsGuestWithAsShippingCountry($email, $shippingCountry) { $this->checkoutSecurityStep->open(); $this->checkoutSecurityStep->proceedAsGuest($email); $this->iProceedSelectingShippingCountry($shippingCountry); }
/** * @Given /^I proceed logging as "([^"]*)" with "([^"]*)" password$/ */ public function iProceedLoggingAs($login, $password) { $this->checkoutSecurityStep->open(); $this->checkoutSecurityStep->logInAsExistingUser($login, $password); $this->checkoutAddressingStep->continueCheckout(); }