use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject 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.pageobject.special.interactivemaps.InteractiveMapPageObject 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();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject 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();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject in project selenium-tests by Wikia.
the class NonSpecificMapTests method NonSpecificMapTests_011_VerifyEscapedFragmentPageContent.
@Test(groups = { "NonSpecificMapTests_011", "NonSpecificMapTests", "InteractiveMaps" })
@DontRun(env = { "dev", "sandbox", "preview" })
public void NonSpecificMapTests_011_VerifyEscapedFragmentPageContent() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.openEscapedFragmentMap(wikiURL, InteractiveMapsContent.ESCAPED_FRAGMENT_MAP_ID);
selectedMap.verifyPoiCategoryTitle();
selectedMap.verifyPoiPointTitle();
selectedMap.verifyPoiPointDescription();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject in project selenium-tests by Wikia.
the class NonSpecificMapTests method NonSpecificMapTests_008_VerifyMapIsDisplayedForAnons.
@Test(groups = { "NonSpecificMapTests_008", "NonSpecificMapTests", "InteractiveMaps" })
@DontRun(env = { "dev", "sandbox", "preview" })
public void NonSpecificMapTests_008_VerifyMapIsDisplayedForAnons() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
selectedMap.verifyMapOpened();
}
Aggregations