Пример #1
0
 def test_logout(self):
     logout = Logout(self.driver)
     result = logout.click_on_logout()
     self.assertEqual("Log in to cQube", result, msg="login page is not exist!..")
     self.data.login_cqube(self.driver)
     self.data.navigate_to_semester_report()
     print("Logout Functionality is working")
Пример #2
0
 def test_logout(self):
     logout = Logout(self.driver)
     result = logout.click_on_logout()
     self.assertEqual("cQube", result, msg="login page is not exist!..")
     self.data.login_cqube(self.driver)
     self.data.navigate_to_semester_report()
     self.data.page_loading(self.driver)
Пример #3
0
    def test_logout(self):
        self.tests.pop()
        self.logger.info("test_logout is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        logout = Logout(self.driver)
        result = logout.click_on_logout()
        self.assertEqual("cQube", result, msg="login page is not exist!..")
        self.data.login_cqube(self.driver)
        self.data.navigate_to_semester_report()

        self.logger.info("test_logout is completed...")