use of com.wikia.webdriver.common.core.annotations.DontRun in project selenium-tests by Wikia.
the class PinMapTests method PinMapTests_004_VerifyPopUpAfterClickPin.
@RelatedIssue(issueID = " ", comment = "This maps test should not fail")
@DontRun(env = { "dev", "sandbox", "preview" })
@Test(groups = { "PinMapTests_004", "PinMapTests", "InteractiveMaps" })
@Execute(asUser = User.USER)
public void PinMapTests_004_VerifyPopUpAfterClickPin() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
selectedMap.verifyMapOpened();
selectedMap.clickOnPin(0);
selectedMap.verifyPopUpVisible();
}
use of com.wikia.webdriver.common.core.annotations.DontRun 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.common.core.annotations.DontRun 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.common.core.annotations.DontRun 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.common.core.annotations.DontRun 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();
}
Aggregations