Ejemplo n.º 1
0
 /**
  * @Then my email should be :email
  * @Then my email should still be :email
  */
 public function myEmailShouldBe($email)
 {
     $this->dashboardPage->open();
     Assert::true($this->dashboardPage->hasCustomerEmail($email), sprintf('Cannot find customer email "%s".', $email));
 }
Ejemplo n.º 2
0
 /**
  * @Then I should not be able to resend the verification email
  */
 public function iShouldBeUnableToResendVerificationEmail()
 {
     $this->dashboardPage->open();
     Assert::false($this->dashboardPage->hasResendVerificationEmailButton(), 'You should not be able to resend the verification email.');
 }