def test_forgot_password_sign_up_link(self): set_forgot_your_password() set_sign_up_link() expected_signup_url ='https://avant-qa-screening.herokuapp.com/users/sign_up' actual_url = get_current_url() self.assertEqual(expected_signup_url, actual_url, msg='FAILED: expected login url = {0}, got url = {1}'.format(expected_signup_url, actual_url)) test_print('Successfully verified the "Sign up" link', flash='!') go_back()
def test_forgot_password_sign_up_link(self): set_forgot_your_password() set_sign_up_link() expected_signup_url = 'https://avant-qa-screening.herokuapp.com/users/sign_up' actual_url = get_current_url() self.assertEqual( expected_signup_url, actual_url, msg='FAILED: expected login url = {0}, got url = {1}'.format( expected_signup_url, actual_url)) test_print('Successfully verified the "Sign up" link', flash='!') go_back()
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 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()