use of com.wikia.webdriver.pageobjectsfactory.pageobject.wikipage.WikiHistoryPageObject in project selenium-tests by Wikia.
the class VisualEditorEditingTests method VisualEditorEditing_007_minorEdit.
@Test(groups = { "VisualEditorEditing", "VisualEditorEditing_007" })
public void VisualEditorEditing_007_minorEdit() {
base.loginAs(credentials.userName7, credentials.password7, wikiURL);
String articleName2 = PageContent.ARTICLE_NAME_PREFIX + base.getTimeStamp();
VisualEditorPageObject ve = base.openVEOnArticle(wikiURL, articleName2);
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
ve.typeTextArea("b");
VisualEditorSaveChangesDialog saveDialog = ve.clickPublishButton();
saveDialog.clickMinorEdit();
ArticlePageObject article = saveDialog.savePage();
article.verifyVEPublishComplete();
WikiHistoryPageObject historyPage = article.openArticleHistoryPage();
historyPage.verifyRevisionMarkedAsMinor();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.wikipage.WikiHistoryPageObject in project selenium-tests by Wikia.
the class VisualEditorEditingTests method VisualEditorEditing_006_editSummary.
@Test(groups = { "VisualEditorEditing", "VisualEditorEditing_006" })
public void VisualEditorEditing_006_editSummary() {
String summaryText = "This is an example summary text being used by test: VisualEditorEditing_006_editSummary";
String articleName2 = PageContent.ARTICLE_NAME_PREFIX + base.getTimeStamp();
VisualEditorPageObject ve = base.openVEOnArticle(wikiURL, articleName2);
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
ve.typeTextArea("a");
VisualEditorSaveChangesDialog saveDialog = ve.clickPublishButton();
saveDialog.typeEditSummary(summaryText);
ArticlePageObject article = saveDialog.savePage();
article.verifyVEPublishComplete();
WikiHistoryPageObject historyPage = article.openArticleHistoryPage();
historyPage.verifyLatestEditSummary(summaryText);
}
Aggregations