use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.SpecialPromotePageObject in project selenium-tests by Wikia.
the class PromoteTests method PromoteTests_001_changePromoteElements.
@Test(groups = { "PromoteTests_001", "PromoteTests" })
public void PromoteTests_001_changePromoteElements() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userNameStaff, credentials.passwordStaff, wikiURL);
SpecialPromotePageObject promote = base.openSpecialPromotePage(wikiURL);
promote.typeIntoHeadline(PageContent.LOREM_IPSUM_SHORT);
promote.typeIntoDescription(PageContent.LOREM_IPSUM_LONG);
promote.uploadThumbnailImage(PageContent.FILEPNG);
promote.verifyUploadedImage(PageContent.FILEPNG);
promote.modifyThumnailImage(PageContent.FILE2PNG);
promote.verifyUploadedImage(PageContent.FILE2PNG);
}
Aggregations