use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class VisualEditorEditingTests method VisualEditorEditing_002_delete.
@Test(groups = { "VisualEditorEditing", "VisualEditorEditing_002" })
public void VisualEditorEditing_002_delete() {
new ArticleContent().push(startingWikiText);
String removeText = "Lorem ";
List<String> deletedWikiTexts;
deletedWikiTexts = new ArrayList<>();
deletedWikiTexts.add(removeText);
VisualEditorPageObject ve = new VisualEditorPageObject().open();
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
ve.removeText(removeText);
VisualEditorSaveChangesDialog saveDialog = ve.clickPublishButton();
VisualEditorReviewChangesDialog reviewDialog = saveDialog.clickReviewYourChanges();
reviewDialog.verifyDeletedDiffs(deletedWikiTexts);
saveDialog = reviewDialog.clickReturnToSaveFormButton();
ArticlePageObject article = saveDialog.savePage();
article.verifyVEPublishComplete();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class VEEnabledEditorEntryAnonTests method VEEnabledEditorEntryAnonTests_004_SectionEditEntry.
@Test(groups = { "VEEnabledEditorEntryAnonTests", "VEEnabledEditorEntryAnonTests_004", "sectionEditEntry" })
public void VEEnabledEditorEntryAnonTests_004_SectionEditEntry() {
ArticlePageObject article = new ArticlePageObject().open(URLsContent.TESTINGPAGE);
VisualEditorPageObject ve = article.openVEModeWithSectionEditButton(0);
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class VEEnabledEditorEntryAnonTests method VEEnabledEditorEntryAnonTests_002_MainEditEntry.
@Test(groups = { "VEEnabledEditorEntryAnonTests", "VEEnabledEditorEntryAnonTests_002", "articleEditEntry" })
public void VEEnabledEditorEntryAnonTests_002_MainEditEntry() {
ArticlePageObject article = new ArticlePageObject().open(base.getNameForArticle());
VisualEditorPageObject ve = article.openVEModeWithMainEditButton();
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class VEAndRTEDisabledEditorEntryAnonTests method VEAndRTEDisabledEditorEntryAnonTests_004_SectionEditEntry.
@Test(groups = { "VEAndRTEDisabledEditorEntryAnonTests", "VEAndRTEDisabledEditorEntryAnonTests_004", "sectionEditEntry" })
public void VEAndRTEDisabledEditorEntryAnonTests_004_SectionEditEntry() {
ArticlePageObject article = new ArticlePageObject().open(URLsContent.TESTINGPAGE);
VisualEditorPageObject ve = article.openVEModeWithSectionEditButton(0);
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class VEAndRTEDisabledEditorEntryAnonTests method VEAndRTEDisabledEditorEntryAnonTests_006_ListNamespace.
@Test(groups = { "VEAndRTEDisabledEditorEntryAnonTests", "VEAndRTEDisabledEditorEntryAnonTests_006", "listEntry" })
public void VEAndRTEDisabledEditorEntryAnonTests_006_ListNamespace() {
ArticlePageObject article = new ArticlePageObject().open(URLsContent.LIST_PAGE);
VisualEditorPageObject ve = article.openVEModeWithMainEditButton();
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
}
Aggregations