/** * @param string $username * @param string $password */ private function logInAgain($username, $password) { $this->dashboardPage->logOut(); $this->loginPage->open(); $this->loginPage->specifyUsername($username); $this->loginPage->specifyPassword($password); $this->loginPage->logIn(); }
/** * @When I log out */ public function iLogOut() { $this->dashboardPage->open(); $this->dashboardPage->logOut(); }
/** * @When I log out from my admin account */ public function iLogOutFromMyAdminAccount() { $this->dashboardPage->open(); $this->dashboardPage->logOut(); }