Example #1
0
 public function signupWithWrongEmail(FunctionalTester $I)
 {
     $I->submitForm($this->formId, ['SignupForm[username]' => 'tester', 'SignupForm[email]' => 'ttttt', 'SignupForm[password]' => 'tester_password']);
     $I->dontSee('Username cannot be blank.', '.help-block');
     $I->dontSee('Password cannot be blank.', '.help-block');
     $I->see('Email is not a valid email address.', '.help-block');
 }