use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.SpecialWikiActivityPageObject in project selenium-tests by Wikia.
the class WikiActivityTests method WikiActivityTests_001_newEditionIsRecordedOnActivityModule.
/**
* https://wikia-inc.atlassian.net/browse/DAR-1617
*/
@Test(groups = "WikiActivity_001")
@Execute(asUser = User.USER)
public void WikiActivityTests_001_newEditionIsRecordedOnActivityModule() {
String articleContent = PageContent.ARTICLE_TEXT + DateTime.now().getMillis();
ArticlePageObject article = new ArticlePageObject().open("NewEditionIsRecordedOnActivityModule");
String articleName = article.getArticleName();
VisualEditModePageObject visualEditMode = article.navigateToArticleEditPage();
visualEditMode.addContent(articleContent);
visualEditMode.submitArticle();
article.verifyContent(articleContent);
new SpecialWikiActivityPageObject(driver).open().verifyRecentEdition(articleName, credentials.userName);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.SpecialWikiActivityPageObject in project selenium-tests by Wikia.
the class VideosModuleTests method VideosModuleTest_002.
/**
* Checks if the Videos Module does not show up where it shouldn't. This checks the main page and
* Special:WikiActivity, however the Videos Module shouldn't show up anywhere besides Article or
* File pages. This is just a smoke test to make sure nothing is seriously wrong.
*/
@Test(groups = { "VideosModule", "VideosModuleTest_002", "Media" })
public void VideosModuleTest_002() {
VideosModuleComponentObject videosModule = new VideosModuleComponentObject(driver);
new MainPage(driver).open();
videosModule.verifyVideosModuleNotShowing();
new SpecialWikiActivityPageObject(driver).open();
videosModule.verifyVideosModuleNotShowing();
}
Aggregations