use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.PalantirComponentObject in project selenium-tests by Wikia.
the class PalantirTests method PalantirTest_002_SetPlayerPositionOutOfMap.
@Test(groups = { "PalantirTest_002", "PalantirTests", "InteractiveMaps" })
public void PalantirTest_002_SetPlayerPositionOutOfMap() {
InteractiveMapsPageObject specialMap = new InteractiveMapsPageObject();
InteractiveMapPageObject selectedMap = specialMap.openMap(wikiURL, PalantirContent.PALANTIR_MAP);
selectedMap.verifyMapOpened();
PalantirComponentObject poi = new PalantirComponentObject();
PalantirContent handle = poi.setAndVerifyPlayerPosition(9300, 15000, 3, true);
poi.verifyWrongPlayerPos(handle);
poi.verifyPoiNotAppearOnMap();
}
Aggregations