use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject in project selenium-tests by Wikia.
the class FilterBoxMapTests method FilterBoxMapTests_002_VerifyClickOnUncheckedCategory.
@Test(groups = { "FilterBoxMapTests_002", "FilterBoxMapTests", "InteractiveMaps" })
@DontRun(env = { "dev", "sandbox", "preview" })
@Execute(asUser = User.USER)
@RelatedIssue(issueID = "SUS-140", comment = "test is unstable, check locally or test manually")
public void FilterBoxMapTests_002_VerifyClickOnUncheckedCategory() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
selectedMap.verifyMapOpened();
selectedMap.clickOnSingleEnabledCategory();
selectedMap.verifyAllPinTypesIsUncheck();
selectedMap.clickOnSingleDisabledCategory();
selectedMap.verifyAllPinTypesIsCheck();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject in project selenium-tests by Wikia.
the class FilterBoxMapTests method FilterBoxMapTests_001_VerifyUncheckedSingleCategory.
@Test(groups = { "FilterBoxMapTests_001", "FilterBoxMapTests", "InteractiveMaps" })
@DontRun(env = { "dev", "sandbox", "preview" })
@Execute(asUser = User.USER)
@RelatedIssue(issueID = "SUS-140", comment = "test is unstable, check locally or test manually")
public void FilterBoxMapTests_001_VerifyUncheckedSingleCategory() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
selectedMap.verifyMapOpened();
selectedMap.clickOnSingleEnabledCategory();
selectedMap.verifyAllPinTypesIsUncheck();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject in project selenium-tests by Wikia.
the class BlockedUserMapTests method BlockedUserMapTests_001_VerifyBlockedUserCannotEditPinTypes.
@Test(groups = { "BlockedUserMapTests_001", "BlockedUserMapTests", "InteractiveMaps" })
@DontRun(env = { "dev", "sandbox", "preview" })
public void BlockedUserMapTests_001_VerifyBlockedUserCannotEditPinTypes() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userNameBlockedAccount, credentials.passwordBlockedAccount, wikiURL);
InteractiveMapsPageObject specialMaps = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMaps.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
CreatePinTypesComponentObject editPinTypes = selectedMap.clickEditPinTypesButton();
editPinTypes.typeManyPinTypeTitle(InteractiveMapsContent.PIN_TYPE_NAME, 3);
editPinTypes.clickSave();
editPinTypes.verifyErrorExists();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject 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.InteractiveMapPageObject 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();
}
Aggregations