use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class PinMapTests method PinMapTests_006_VerifyChangePinData.
@DontRun(env = { "dev", "sandbox", "preview" })
@Test(enabled = false, groups = { "PinMapTests_006", "PinMapTests", "InteractiveMaps", "PinMapTests_004" })
@Execute(asUser = User.USER)
public void PinMapTests_006_VerifyChangePinData() {
WikiBasePageObject base = new WikiBasePageObject();
InteractiveMapsPageObject specialMap = base.openSpecialInteractiveMaps(wikiURL);
InteractiveMapPageObject selectedMap = specialMap.clickMapWithIndex(InteractiveMapsContent.SELECTED_MAP_INDEX);
selectedMap.verifyMapOpened();
selectedMap.clickOnFilterBoxTitle();
AddPinComponentObject pinModal = selectedMap.placePinInMap();
String pinTitle = base.getTimeStamp();
String pinDescription = base.getTimeStamp() + base.getTimeStamp();
pinModal.typePinName(pinTitle);
pinModal.selectPinType();
pinModal.typePinDescription(pinDescription);
selectedMap = pinModal.clickSaveButton();
pinModal = selectedMap.clickOnEditPin();
pinModal.clearPinName();
pinModal.typePinName(base.getTimeStamp() + base.getTimeStamp());
pinModal.clearPinDescription();
pinModal.typePinDescription(base.getTimeStamp());
selectedMap = pinModal.clickSaveButton();
selectedMap.verifyPinDataWasChanged(pinTitle, pinDescription);
selectedMap.refreshPage();
selectedMap.clickOnPin(0);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class VEEnabledEditorEntryAnonTests method setup_VEPreferred.
@BeforeMethod(alwaysRun = true)
public void setup_VEPreferred() {
wikiURL = urlBuilder.getUrlForWiki(URLsContent.VE_ENABLED_WIKI);
base = new WikiBasePageObject();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class VEAndRTEDisabledEditorEntryAnonTests method setup_VEPreferred.
@BeforeMethod(alwaysRun = true)
public void setup_VEPreferred() {
wikiURL = urlBuilder.getUrlForWiki(URLsContent.VE_AND_RTE_DISABLED_WIKI);
base = new WikiBasePageObject();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class RTEDisabledEditorEntryAnonTests method setup_VEPreferred.
@BeforeMethod(alwaysRun = true)
public void setup_VEPreferred() {
wikiURL = urlBuilder.getUrlForWiki(URLsContent.RTE_DISABLED_WIKI);
base = new WikiBasePageObject();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class VisualEditorMultiplePublishTests method setup.
@BeforeMethod(alwaysRun = true)
public void setup() {
base = new WikiBasePageObject();
base.loginAs(credentials.userNameVEPreferred, credentials.passwordVEPreferred, wikiURL);
}
Aggregations