use of com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.EmbedMapComponentObject in project selenium-tests by Wikia.
the class BlockedUserMapTests method BlockedUserMapTests_005_VerifyUserCannotEditPinTypesOnEmbeddedMap.
@Test(groups = { "BlockedUserMapTests_005", "BlockedUserMapTests", "InteractiveMaps" })
public void BlockedUserMapTests_005_VerifyUserCannotEditPinTypesOnEmbeddedMap() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userNameBlockedAccount, credentials.passwordBlockedAccount, wikiURL);
ArticlePageObject article = new ArticlePageObject();
article.open(InteractiveMapsContent.EMBED_MAP_ARTICLE_NAME);
EmbedMapComponentObject embedMapDialog = article.clickViewEmbedMap();
CreatePinTypesComponentObject pinTypesDialog = embedMapDialog.clickEditPinTypesButton();
pinTypesDialog.verifyPinTypesDialog();
pinTypesDialog.typeManyPinTypeTitle(InteractiveMapsContent.PIN_TYPE_NAME, 4);
pinTypesDialog.clickSave();
pinTypesDialog.verifyErrorExists();
}
Aggregations