Exemple #1
0
 def test_cluster_home(self):
     b = check_home(self.driver)
     self.data.page_loading(self.driver)
     res = b.test_home()
     if "school-infrastructure" in self.driver.current_url:
         print("School infra report page")
     else:
         print("school infra page not loaded")
     self.data.page_loading(self.driver)
 def test_cluster_home(self):
     print("going to cluster level and clicking on home icon")
     b = check_home(self.driver)
     self.data.page_loading(self.driver)
     res = b.test_home()
     if "school-infrastructure" in self.driver.current_url:
         print("School infra report page")
     else:
         print("school infra page not loaded")
     time.sleep(2)
Exemple #3
0
 def test_cluster_home(self):
     self.tests.pop()
     self.logger.info("test_cluster_home" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     b = check_home(self.driver)
     self.data.page_loading(self.driver)
     res = b.test_home()
     if "school-infrastructure" in self.driver.current_url:
         print("School infra report page")
     else:
         print("school infra page not loaded")
     self.data.page_loading(self.driver)
     self.logger.info("test_cluster_home is completed...")