コード例 #1
0
ファイル: LoginContext.php プロジェクト: ReissClothing/Sylius
 /**
  * @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();
 }
コード例 #2
0
 /**
  * @When I log out
  */
 public function iLogOut()
 {
     $this->dashboardPage->open();
     $this->dashboardPage->logOut();
 }
コード例 #3
0
 /**
  * @When I log out from my admin account
  */
 public function iLogOutFromMyAdminAccount()
 {
     $this->dashboardPage->open();
     $this->dashboardPage->logOut();
 }