use of com.wikia.webdriver.pageobjectsfactory.pageobject.visualeditor.VisualEditorPageObject in project selenium-tests by Wikia.
the class VEAndRTEDisabledEditorEntryAnonTests method VEAndRTEDisabledEditorEntryAnonTests_003_RedlinkEntry.
@Test(groups = { "VEAndRTEDisabledEditorEntryAnonTests", "VEAndRTEDisabledEditorEntryAnonTests_003", "redlinkEntry" })
public void VEAndRTEDisabledEditorEntryAnonTests_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_007_CategoryNamespace.
@Test(groups = { "RTEDisabledEditorEntryAnonTests", "RTEDisabledEditorEntryAnonTests_007", "categoryEntry" })
public void RTEDisabledEditorEntryAnonTests_007_CategoryNamespace() {
ArticlePageObject article = new ArticlePageObject().open(URLsContent.CATEGORY_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_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.visualeditor.VisualEditorPageObject in project selenium-tests by Wikia.
the class VEAndRTEDisabledEditorEntryAnonTests method VEAndRTEDisabledEditorEntryAnonTests_005_URLEntry.
@Test(groups = { "VEAndRTEDisabledEditorEntryAnonTests", "VEAndRTEDisabledEditorEntryAnonTests_005", "veactionURLEntry" })
public void VEAndRTEDisabledEditorEntryAnonTests_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 VEVideoTests method addPremiumVideo.
@Test(groups = { "VEVideo", "VEAddExternalVideo" })
@Execute(asUser = User.USER)
public void addPremiumVideo() {
VisualEditorPageObject ve = new VisualEditorPageObject().openVEOnArticle(wikiURL, PageContent.ARTICLE_NAME_PREFIX + DateTime.now().getMillis());
VisualEditorPageObject veNew = ve.addVideoToContent(VideoContent.PREMIUM_VIDEO_URL);
veNew.verifyVideos(1);
veNew.verifyVEToolBarPresent();
veNew.publish();
}
Aggregations