def test_valid_email_forgot_password_send_password_button(self):
     set_forgot_your_password()
     set_email_field(self.valid_email)
     set_forgot_your_password_send_password_button()
     actual = get_h1()
     error_dialog = "We're sorry, but something went wrong."
     if actual == error_dialog:
         raise ValueError('ERROR: clicking the "Send me reset password instructions" button opens up an error page!')
Example #2
0
 def test_valid_email_forgot_password_send_password_button(self):
     set_forgot_your_password()
     set_email_field(self.valid_email)
     set_forgot_your_password_send_password_button()
     actual = get_h1()
     error_dialog = "We're sorry, but something went wrong."
     if actual == error_dialog:
         raise ValueError(
             'ERROR: clicking the "Send me reset password instructions" button opens up an error page!'
         )
 def setUpClass(self):
     self.chk_url = "https://avant-qa-screening.herokuapp.com/"
     go_to(self.chk_url)
     self.h1 = get_h1()
Example #4
0
 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()