use of com.wikia.webdriver.pageobjectsfactory.pageobject.visualeditor.VisualEditorPageObject in project selenium-tests by Wikia.
the class VEEnabledEditorEntryAnonTests method VEEnabledEditorEntryAnonTests_006_ListNamespace.
@Test(groups = { "VEEnabledEditorEntryAnonTests", "VEEnabledEditorEntryAnonTests_006", "listEntry" })
public void VEEnabledEditorEntryAnonTests_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.visualeditor.VisualEditorPageObject in project selenium-tests by Wikia.
the class RTEDisabledEditorEntryAnonTests method RTEDisabledEditorEntryAnonTests_005_URLEntry.
@Test(groups = { "RTEDisabledEditorEntryAnonTests", "RTEDisabledEditorEntryAnonTests_005", "veactionURLEntry" })
public void RTEDisabledEditorEntryAnonTests_005_URLEntry() {
VisualEditorPageObject ve = base.openNewArticleEditModeVisual(wikiURL);
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.visualeditor.VisualEditorPageObject in project selenium-tests by Wikia.
the class RTEDisabledEditorEntryAnonTests method RTEDisabledEditorEntryAnonTests_003_RedlinkEntry.
@Test(groups = { "RTEDisabledEditorEntryAnonTests", "RTEDisabledEditorEntryAnonTests_003", "redlinkEntry" })
public void RTEDisabledEditorEntryAnonTests_003_RedlinkEntry() {
ArticlePageObject article = new ArticlePageObject().open(URLsContent.TESTINGPAGE);
VisualEditorPageObject ve = article.openVEModeWithRedLinks(0);
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.visualeditor.VisualEditorPageObject in project selenium-tests by Wikia.
the class RTEDisabledEditorEntryAnonTests method RTEDisabledEditorEntryAnonTests_004_SectionEditEntry.
@Test(groups = { "RTEDisabledEditorEntryAnonTests", "RTEDisabledEditorEntryAnonTests_004", "sectionEditEntry" })
public void RTEDisabledEditorEntryAnonTests_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.visualeditor.VisualEditorPageObject in project selenium-tests by Wikia.
the class ArticlePageObject method verifySectionEditEditor.
public void verifySectionEditEditor(Editor expectedEditor) {
switch(expectedEditor) {
case VE:
VisualEditorPageObject ve = openVEModeWithSectionEditButton(0);
ve.verifyVEToolBarPresent();
ve.verifyEditorSurfacePresent();
break;
case CK:
VisualEditModePageObject ck = openCKModeWithSectionEditButton(0);
Assertion.assertTrue(ck.isContentLoaded(), "Content is not loaded");
ck.clickPublishButton();
break;
case SRC:
SourceEditModePageObject src = openSrcModeWithSectionEditButton(0);
src.verifySourceOnlyMode();
src.clickPublishButton();
break;
}
}
Aggregations