use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.PalantirComponentObject in project selenium-tests by Wikia.
the class PalantirTests method PalantirTest_001_PalantirSetPlayerCorrectPosition.
@Test(groups = { "PalantirTests_001", "PalantirTests", "InteractiveMaps" })
public void PalantirTest_001_PalantirSetPlayerCorrectPosition() {
InteractiveMapsPageObject specialMap = new InteractiveMapsPageObject();
InteractiveMapPageObject selectedMap = specialMap.openMap(wikiURL, PalantirContent.PALANTIR_MAP);
selectedMap.verifyMapOpened();
PalantirComponentObject poi = new PalantirComponentObject();
PalantirContent handle = poi.setAndVerifyPlayerPosition(-40, -10, 3, true);
poi.verifyCorrectPlayerPos(handle);
poi.verifyPoiAppearOnMap();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.PalantirComponentObject in project selenium-tests by Wikia.
the class PalantirTests method PalantirTest_006_PalantirSetDecimalZoom.
@Test(groups = { "PalantirTest_006", "PalantirTests", "InteractiveMaps" })
public void PalantirTest_006_PalantirSetDecimalZoom() {
InteractiveMapsPageObject specialMap = new InteractiveMapsPageObject();
InteractiveMapPageObject selectedMap = specialMap.openMap(wikiURL, PalantirContent.PALANTIR_MAP);
selectedMap.verifyMapOpened();
PalantirComponentObject poi = new PalantirComponentObject();
PalantirContent handle = poi.setAndVerifyPlayerPosition(-40, -10, 3.4, true);
poi.verifyDecimalZoomLevel(handle);
poi.verifyPoiNotAppearOnMap();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.PalantirComponentObject in project selenium-tests by Wikia.
the class PalantirTests method PalantirTest_005_PalantirUpdateMapPosition.
@Test(groups = { "PalantirTest_005", "PalantirTests", "InteractiveMaps" })
public void PalantirTest_005_PalantirUpdateMapPosition() {
InteractiveMapsPageObject specialMap = new InteractiveMapsPageObject();
InteractiveMapPageObject selectedMap = specialMap.openMap(wikiURL, PalantirContent.PALANTIR_MAP);
selectedMap.verifyMapOpened();
PalantirComponentObject poi = new PalantirComponentObject();
PalantirContent handle = poi.setAndVerifyPlayerPosition(-40, -10, 3, true);
poi.verifyCorrectPlayerPos(handle);
handle = poi.updateMapPosition(-90, -10, 3);
poi.verifyMapPositionUpdated(handle);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.PalantirComponentObject in project selenium-tests by Wikia.
the class PalantirTests method PalantirTest_003_PalantirSetAndRemovePlayerPosition.
@Test(groups = { "PalantirTest_003", "PalantirTests", "InteractiveMaps" })
public void PalantirTest_003_PalantirSetAndRemovePlayerPosition() {
InteractiveMapsPageObject specialMap = new InteractiveMapsPageObject();
InteractiveMapPageObject selectedMap = specialMap.openMap(wikiURL, PalantirContent.PALANTIR_MAP);
selectedMap.verifyMapOpened();
PalantirComponentObject poi = new PalantirComponentObject();
PalantirContent handle = poi.setAndVerifyPlayerPosition(-40, -10, 3, true);
poi.verifyCorrectPlayerPos(handle);
poi.verifyPoiAppearOnMap();
handle = poi.deletePlayerPosition();
poi.verifyPlayerPosDeleted(handle);
poi.verifyPoiNotAppearOnMap();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.PalantirComponentObject in project selenium-tests by Wikia.
the class PalantirTests method PalantirTest_004_PalantirSetHugeZoomVerifyError.
@Test(groups = { "PalantirTest_004", "PalantirTests", "InteractiveMaps" })
public void PalantirTest_004_PalantirSetHugeZoomVerifyError() {
InteractiveMapsPageObject specialMap = new InteractiveMapsPageObject();
InteractiveMapPageObject selectedMap = specialMap.openMap(wikiURL, PalantirContent.PALANTIR_MAP);
selectedMap.verifyMapOpened();
PalantirComponentObject poi = new PalantirComponentObject();
PalantirContent handle = poi.setAndVerifyPlayerPosition(-40, -10, 3000, true);
poi.verifyWrongZoomLevel(handle);
poi.verifyPoiNotAppearOnMap();
}
Aggregations