use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class RTEDisabledEditorEntryAnonTests method RTEDisabledEditorEntryAnonTests_002_MainEditEntry.
@Test(groups = { "RTEDisabledEditorEntryAnonTests", "RTEDisabledEditorEntryAnonTests_002", "articleEditEntry" })
public void RTEDisabledEditorEntryAnonTests_002_MainEditEntry() {
ArticlePageObject article = new ArticlePageObject().open(URLsContent.TESTINGPAGE);
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 VEDisabledEditorEntryAnonTests method VEDisabledEditorEntryAnonTestsTests_001_CreatePageEntry.
@Test(groups = { "VEDisabledEditorEntryAnonTests", "VEDisabledEditorEntryAnonTestsTests_001", "createPageEntry" })
public void VEDisabledEditorEntryAnonTestsTests_001_CreatePageEntry() {
String articleName = base.getNameForArticle();
ArticlePageObject article = new ArticlePageObject().open(articleName);
VisualEditModePageObject ck = article.createArticleInCKUsingDropdown(articleName);
Assertion.assertTrue(ck.isContentLoaded(), "Content is not loaded");
ck.clickPublishButton();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class VEDisabledEditorEntryAnonTests method VEDisabledEditorEntryAnonTestsTests_002_MainEditEntry.
@Test(groups = { "VEDisabledEditorEntryAnonTests", "VEDisabledEditorEntryAnonTestsTests_002", "articleEditEntry" })
public void VEDisabledEditorEntryAnonTestsTests_002_MainEditEntry() {
ArticlePageObject article = new ArticlePageObject().open(base.getNameForArticle());
VisualEditModePageObject ck = article.openCKModeWithMainEditButton();
Assertion.assertTrue(ck.isContentLoaded(), "Content is not loaded");
ck.clickPublishButton();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.article.ArticlePageObject in project selenium-tests by Wikia.
the class VEDisabledEditorEntryAnonTests method VEDisabledEditorEntryAnonTestsTests_006_ListNamespace.
@Test(groups = { "VEDisabledEditorEntryAnonTests", "VEDisabledEditorEntryAnonTestsTests_006", "listEntry" })
public void VEDisabledEditorEntryAnonTestsTests_006_ListNamespace() {
ArticlePageObject article = new ArticlePageObject().open(URLsContent.LIST_PAGE);
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 VisualEditorEntryTests method VisualEditorEntryTest_005_redLink.
@Test(groups = { "VisualEditorEntry", "VisualEditorEntryTest_005", "redLinkEntry" }, dataProviderClass = VisualEditorDataProvider.class, dataProvider = "redLinkEntryPoints")
public void VisualEditorEntryTest_005_redLink(boolean isRTEext, boolean isVEext, EditorPref editorPref, Editor expectedEditor) {
wikiURL = urlBuilder.getUrlForWiki(VisualEditorDataProvider.getTestWiki(isRTEext, isVEext));
ArticlePageObject article = new ArticlePageObject();
article.loginAs(credentials.getUserBaseOnEditorPref(editorPref), credentials.getPassBaseOnEditorPref(editorPref), wikiURL);
article.open(URLsContent.TESTINGPAGE);
article.verifyRedLinkEditor(expectedEditor);
}
Aggregations