Ejemplo n.º 1
0
 /**
  * @Then I should be logged in
  */
 public function iShouldBeLoggedIn()
 {
     $this->shouldBeLoggedIn = true;
     $verification = new WebAssert($this->getSession());
     $verification->elementNotExists('css', '.ez-loginform');
     $jsCode = "return (document.querySelector('.ez-loginform') === null);";
 }