def test_invalid_email_invalid_pw_invalid_cpw(self):
     pw = invalid_password()
     set_password_field(pw)
     set_password_confirmation_field(pw)
     set_email_field(invalid_email())
     set_sign_up_button()
     self.verify_invalid_email()
示例#2
0
 def test_invalid_email_invalid_pw_invalid_cpw(self):
     pw = invalid_password()
     set_password_field(pw)
     set_password_confirmation_field(pw)
     set_email_field(invalid_email())
     set_sign_up_button()
     self.verify_invalid_email()
 def test_invalid_email_forgot_password_send_password_button(self):
     set_forgot_your_password()
     url = get_current_url()
     set_email_field(invalid_email())
     actual = get_error_explanation(False)
     self.verify_sign_up_label()
     self.assertFalse(actual,
                      msg='FAILED: expected no error explanation, but got error explanation = "{0}" on url = {1}'.format(actual, get_current_url()))
     test_print('Successfully verified no error explanation'.format(actual), flash='!')
     self.assertEqual(url, get_current_url(),
                      msg='FAILED: expected url = {0}, got url = {1}'.format(url, get_current_url()))
     test_print('Successfully verified login was unsuccessful, user is still on the sign_up page', flash='!')
示例#4
0
 def test_invalid_email_forgot_password_send_password_button(self):
     set_forgot_your_password()
     url = get_current_url()
     set_email_field(invalid_email())
     actual = get_error_explanation(False)
     self.verify_sign_up_label()
     self.assertFalse(
         actual,
         msg=
         'FAILED: expected no error explanation, but got error explanation = "{0}" on url = {1}'
         .format(actual, get_current_url()))
     test_print('Successfully verified no error explanation'.format(actual),
                flash='!')
     self.assertEqual(
         url,
         get_current_url(),
         msg='FAILED: expected url = {0}, got url = {1}'.format(
             url, get_current_url()))
     test_print(
         'Successfully verified login was unsuccessful, user is still on the sign_up page',
         flash='!')
 def test_invalid_email_blank_pw(self):
     set_email_field(invalid_email())
     set_log_in_button()
     self.verify_invalid_sign_in()
 def test_invalid_email_invalid_pw(self):
     set_email_field(invalid_email())
     set_password_field(invalid_password())
     set_log_in_button()
     self.verify_invalid_sign_in()
示例#7
0
 def test_invalid_email_blank_pw_blank_cpw(self):
     set_email_field(invalid_email())
     set_sign_up_button()
     self.verify_invalid_email()
示例#8
0
 def test_invalid_email_blank_pw_valid_cpw(self):
     set_password_confirmation_field(valid_password())
     set_email_field(invalid_email())
     set_sign_up_button()
     self.verify_invalid_email()
 def test_invalid_email_blank_pw_blank_cpw(self):
     set_email_field(invalid_email())
     set_sign_up_button()
     self.verify_invalid_email()
 def test_invalid_email_blank_pw_valid_cpw(self):
     set_password_confirmation_field(valid_password())
     set_email_field(invalid_email())
     set_sign_up_button()
     self.verify_invalid_email()
示例#11
0
 def test_invalid_email_blank_pw(self):
     set_email_field(invalid_email())
     set_log_in_button()
     self.verify_invalid_sign_in()
示例#12
0
 def test_invalid_email_invalid_pw(self):
     set_email_field(invalid_email())
     set_password_field(invalid_password())
     set_log_in_button()
     self.verify_invalid_sign_in()