def test_email_veri(self): user = Username(self.driver) user.eneter_Username(Testdata.username) pass1 = user.cont_click() p_txt = pass1.email_verify() print(p_txt) assert p_txt == Testdata.username
def test_enterpass(self): user = Username(self.driver) user.eneter_Username(Testdata.username) pass1 = user.cont_click() pass1.password_enter(Testdata.password) pass1.click_sub()
def test_warnverify(self): user = Username(self.driver) user.eneter_Username(Testdata.username) pass1 = user.cont_click() warn_txt = pass1.warn_verify() print(warn_txt)
def test_negative(self): user = Username(self.driver) user.cont_click() time.sleep(2) warn_text = user.warning_present() print(warn_text) print(Testdata.warning_msg) assert warn_text == Testdata.warning_msg
def test_submit(self): user = Username(self.driver) user.eneter_Username(Testdata.username) pass_obj = user.cont_click() return pass_obj
def test_buttondisp(self): user = Username(self.driver) print(user.button_displayed()) assert user.button_displayed()
def test_needhelpdisp(self): user = Username(self.driver) user_link = user.need_help_disp() print(user_link) assert user_link == Testdata.need_help
def test_verifytitle(self): user = Username(self.driver) title = user.get_title_name() print(title) assert title == Testdata.title
def test_forgot_pass(self): user = Username(self.driver) user.eneter_Username(Testdata.username) pass1 = user.cont_click() f_txt = pass1.forgot_passtext() print(f_txt)