Esempio n. 1
0
 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")
     print("Schools button is working")
     print("Markers are present on the map")
    def test_click_on_schools(self):
        self.tests.pop()
        self.logger.info("test_click_on_schools is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        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")

        self.logger.info("test_click_on_schools is completed...")
Esempio n. 3
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")