/** * @When I register with email :email and password :password */ public function iRegisterWithEmailAndPassword($email, $password) { $this->registerPage->open(); $this->registerPage->specifyEmail($email); $this->registerPage->specifyPassword($password); $this->registerPage->verifyPassword($password); $this->registerPage->specifyFirstName('Carrot'); $this->registerPage->specifyLastName('Ironfoundersson'); $this->registerPage->register(); }
/** * @Given I do not confirm the password */ public function iDoNotConfirmPassword() { $this->registerPage->verifyPassword(null); }