use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapsPageObject in project selenium-tests by Wikia.
the class NonSpecificMapTests method NonSpecificMapTests_004_VerifyMapZoomOptions.
@DontRun(env = { "dev", "sandbox", "preview" })
@Test(groups = { "NonSpecificMapTests_004", "NonSpecificMapTests", "InteractiveMaps" })
public void NonSpecificMapTests_004_VerifyMapZoomOptions() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
selectedMap.verifyMapOpened();
selectedMap.clickZoomOutButton();
selectedMap.clickZoomInButton();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapsPageObject in project selenium-tests by Wikia.
the class NonSpecificMapTests method NonSpecificMapTests_006_VerifyLearnMoreLink.
@Test(enabled = false, groups = { "NonSpecificMapTests_006", "NonSpecificMapTests", "InteractiveMaps" })
@Execute(asUser = User.USER)
public void NonSpecificMapTests_006_VerifyLearnMoreLink() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
CreateAMapComponentObject createMapModal = specialMap.clickCreateAMap();
createMapModal.verifyLearnMoreLinkRedirect(InteractiveMapsContent.LEARN_MORE_LINK);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapsPageObject in project selenium-tests by Wikia.
the class NonSpecificMapTests method NonSpecificMapTests_007_VerifyCreateCustomMapErrors.
@Test(enabled = false, groups = { "NonSpecificMapTests_007", "NonSpecificMapTests", "InteractiveMaps" })
@Execute(asUser = User.USER)
public void NonSpecificMapTests_007_VerifyCreateCustomMapErrors() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
CreateAMapComponentObject createMap = specialMap.clickCreateAMap();
CreateACustomMapComponentObject customMap = createMap.clickCustomMap();
TemplateComponentObject templateMap = customMap.selectTemplate(InteractiveMapsContent.SELECTED_TEMPLATE_INDEX);
templateMap.clickNext();
templateMap.verifyErrorExists();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapsPageObject in project selenium-tests by Wikia.
the class NonSpecificMapTests method NonSpecificMapTests_010_VerifyFragmentContentTagVisibility.
@Test(groups = { "NonSpecificMapTests_010", "NonSpecificMapTests", "InteractiveMaps" })
@DontRun(env = { "dev", "sandbox", "preview" })
public void NonSpecificMapTests_010_VerifyFragmentContentTagVisibility() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.openEscapedFragmentMap(wikiURL, InteractiveMapsContent.ESCAPED_FRAGMENT_MAP_ID);
selectedMap.verifyEscapedFragmentMetaTag();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapsPageObject 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();
}
Aggregations