Пример #1
0
 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
Пример #2
0
    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()
Пример #3
0
    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)
Пример #4
0
 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
Пример #5
0
    def test_submit(self):
        user = Username(self.driver)
        user.eneter_Username(Testdata.username)

        pass_obj = user.cont_click()
        return pass_obj
Пример #6
0
    def test_buttondisp(self):
        user = Username(self.driver)

        print(user.button_displayed())

        assert user.button_displayed()
Пример #7
0
    def test_needhelpdisp(self):
        user = Username(self.driver)

        user_link = user.need_help_disp()
        print(user_link)
        assert user_link == Testdata.need_help
Пример #8
0
    def test_verifytitle(self):
        user = Username(self.driver)

        title = user.get_title_name()
        print(title)
        assert title == Testdata.title
Пример #9
0
 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)