public IElement assertHasMapPoint(IElement map, String label) {
// find a label with the given string
String id = getLabelIDForText(label, "NOT_MAP_TEXT", "contains(@class, 'point')");
// this should contain a 'map' <div>
IElement wrapper = getElementById(id);
assertNotNull(wrapper);
// through label.for
assertNotNull(wrapper.getAttribute("for"));
IElement point = getElementById(wrapper.getAttribute("for"));
assertNotNull(point);
// assert that the map point is visible
assertTrue("Map point " + point + "should be displayed", isDisplayed(point));