use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.AddPinComponentObject in project selenium-tests by Wikia.
the class PinMapTests method PinMapTests_001_VerifyPinModalContent.
@Test(enabled = false, groups = { "PinMapTests_001", "PinMapTests", "InteractiveMaps" })
@Execute(asUser = User.USER)
public void PinMapTests_001_VerifyPinModalContent() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
selectedMap.verifyMapOpened();
AddPinComponentObject pinDialog = selectedMap.placePinInMap();
pinDialog.verifyPinTitleFieldIsDisplayed();
pinDialog.verifyAssociatedArticleFieldIsDisplayed();
pinDialog.verifyAssociatedArticleImagePlaceholderIsDisplayed();
pinDialog.verifyPinCategorySelectorIsDisplayed();
pinDialog.verifyDescriptionFieldIsDisplayed();
selectedMap = pinDialog.clickCancelButton();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.AddPinComponentObject in project selenium-tests by Wikia.
the class EmbedMapTests method EmbedMapTests_005_VerifyEmbedMapContributeModals.
@Test(enabled = false, groups = { "EmbedMapTests_005", "EmbedMapTests", "InteractiveMaps" })
@Execute(asUser = User.USER)
public void EmbedMapTests_005_VerifyEmbedMapContributeModals() {
WikiBasePageObject base = new WikiBasePageObject();
ArticlePageObject article = new ArticlePageObject();
article.open(InteractiveMapsContent.EMBED_MAP_ARTICLE_NAME);
EmbedMapComponentObject embedMapDialog = article.clickViewEmbedMap();
AddPinComponentObject addPinModal = embedMapDialog.placePinInMap();
addPinModal.verifyPinTitleFieldIsDisplayed();
addPinModal.verifyDescriptionFieldIsDisplayed();
addPinModal.clickCancelButton();
CreatePinTypesComponentObject pinTypesDialog = embedMapDialog.clickEditPinTypesButton();
pinTypesDialog.verifyPinTypesDialog();
}
Aggregations