* @throws Exception
*/
public void testMapPoints() throws Exception {
beginAtSitemapThenPage("Home");
IElement map = assertHasMap("Target Map");
if (!doCheckPoints()) return;
// TODO how to check that the map points refer to the correct locations, are visible etc?
{
IElement point = assertHasMapPoint(map, "point 1");
// and this point is not present anywhere else on the page
assertEquals(point, assertHasMapPoint("point 1"));
}
{
IElement point = assertHasMapPoint(map, "point 2");
assertEquals(point, assertHasMapPoint("point 2"));
}
{
IElement point = assertHasMapPoint(map, "point 3");
assertEquals(point, assertHasMapPoint("point 3"));
}
{
IElement point = assertHasMapPoint(map, "point 4");
assertEquals(point, assertHasMapPoint("point 4"));
}
{
IElement point = assertHasMapPoint(map, "point 5");
assertEquals(point, assertHasMapPoint("point 5"));
}
}