示例#1
0
 def test_click_on_blocks(self):
     block = Blocks(self.driver)
     result = block.check_markers_on_block_map()
     self.assertNotEqual(0,
                         len(result) - 1,
                         msg="Dots are not present on map")
     print("Blocks button is working")
     print("Markers are present on the map")
    def test_click_on_blocks_cluster_schools(self):
        block = Blocks(self.driver)
        result = block.check_last_30_days()
        self.assertEqual(0,result,msg='Footer mismatch found')
        self.data.page_loading(self.driver)

        res = block.check_last_7_days()
        self.assertEqual(0, result, msg='Footer mismatch found')
        self.data.page_loading(self.driver)
 def test_last7days_districts(self):
     block = Blocks(self.driver)
     result = block.check_last_7_days_districts()
     self.assertEqual(0, result, msg='Some footer value mismatch found ')
     self.assertEqual(0, result, msg='Files are not downloaded')
示例#4
0
 def test_click_on_blocks(self):
     block = Blocks(self.driver)
     result = block.check_markers_on_block_map()
     self.assertNotEqual(0,
                         len(result) - 1,
                         msg="Dots are not present on map")