Ejemplo n.º 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")

        cluster = Clusters(self.driver)
        result = cluster.check_markers_on_clusters_map()
        self.assertNotEqual(0,
                            len(result) - 1,
                            msg="Dots are not present on map")
        print("Clusters button is working")
        print("Markers are present on the map")

        school = Schools(self.driver)
        result = school.check_markers_on_clusters_map()
        self.assertNotEqual(0,
                            int(len(result) - 1),
                            msg="Dots are not present on map")
        print("Schools button is working")
        print("Markers are present on the map")
 def test_click_on_schools(self):
     school = Schools(self.driver)
     result = school.check_markers_on_clusters_map()
     self.assertNotEqual(0, int(len(result) - 1), msg="Dots are not present on map")