def test_click_home_in_districtwise(self):
     b = district_home(self.driver)
     res = b.test_district()
     if "school-infra-map" in self.driver.current_url:
         print("school infra map based report present")
     else:
         print("home icon is not working ")
Esempio n. 2
0
 def test_click_home_in_districtwise(self):
     self.tests.pop()
     self.logger.info("test_click_home_in_districtwise" + " " + "Total :" +
                      " " + str(self.total_tests) + " " + "Remaining :" +
                      " " + str(len(self.tests) - 1))
     b = district_home(self.driver)
     res = b.test_district()
     if "school-infra-map" in self.driver.current_url:
         print("school infra map based report present")
     else:
         print("home icon is not working ")
     self.logger.info("test_click_home_in_districtwise is completed...")