def test_valid_email_valid_pw_valid_cpw(self): create_valid_account() self.assertNotEqual( self.chk_url, get_current_url(), msg='FAILED: url = {0} - did not change after login'.format( get_current_url())) test_print('Successfully verified sign up', flash='!') stop() # cleanup step
def test_existing_user(self): email, pw = create_valid_account() stop() # cleanup step go_to(self.chk_url) set_email_field(email) set_password_field(pw) set_password_confirmation_field(pw) set_sign_up_button() expected = "1 error prohibited this user from being saved:\nEmail has already been taken" self.verify_error_explanation(expected) stop() # cleanup step
def test_existing_user(self): email, pw = create_valid_account() stop() # cleanup step go_to(self.chk_url) set_email_field(email) set_password_field(pw) set_password_confirmation_field(pw) set_sign_up_button() expected = "1 error prohibited this user from being saved:\nEmail has already been taken" self.verify_error_explanation(expected) stop() # cleanup step
def setUpClass(self): self.chk_url = 'https://avant-qa-screening.herokuapp.com/users/sign_in' go_to(self.chk_url) set_sign_up_link() self.valid_email, self.valid_pw = create_valid_account() stop()
def test_valid_email_valid_pw_valid_cpw(self): create_valid_account() self.assertNotEqual(self.chk_url, get_current_url(), msg='FAILED: url = {0} - did not change after login'.format(get_current_url())) test_print('Successfully verified sign up', flash='!') stop() # cleanup step
def setUpClass(self): go_to('https://avant-qa-screening.herokuapp.com/users/sign_in') set_sign_up_link() self.valid_email, self.valid_pw = create_valid_account() self.h1 = get_h1() set_edit_profile_link()
def setUpClass(self): go_to('https://avant-qa-screening.herokuapp.com/users/sign_in') set_sign_up_link() self.valid_email, self.valid_pw = create_valid_account() self.h1 = get_h1()
def setUpClass(self): self.chk_url = 'https://avant-qa-screening.herokuapp.com/users/sign_in' go_to(self.chk_url) set_sign_up_link() self.valid_email, self.valid_pw = create_valid_account() stop()