hasLogoutButton() public method

public hasLogoutButton ( ) : boolean
return boolean
Esempio n. 1
0
 /**
  * @Then I should not be logged in
  */
 public function iShouldNotBeLoggedIn()
 {
     Assert::false($this->homePage->hasLogoutButton(), 'I should not be logged in.');
 }
 /**
  * @Then I should not be logged in as :fullName
  */
 public function iShouldNotBeLoggedInAs($fullName)
 {
     $this->homePage->open();
     Assert::false($this->homePage->hasLogoutButton(), 'I should not be logged in.');
     Assert::false(strpos($this->homePage->getFullName(), $fullName), sprintf('I should not be logged in as %s.', $fullName));
 }