def test_home_icon(self):
     home = Home(self.driver)
     home.click_on_blocks_click_on_home_icon()
     result = home.click_HomeButton()
     if "teacher-attendance" in result:
         print("Home Icon is Working")
     else:
         raise self.failureException('Home Icon is not working')
예제 #2
0
 def test_home_icon(self):
     home = Home(self.driver)
     home.click_on_blocks_click_on_home_icon()
     self.data.page_loading(self.driver)
     result = home.click_HomeButton()
     if "teacher-attendance" in self.driver.current_url:
         print("This is Teacher Attendance Report page")
     else:
         raise self.failureException('Home Icon is not working')