use of com.wikia.webdriver.pageobjectsfactory.componentobject.videosmodule.VideosModuleComponentObject in project selenium-tests by Wikia.
the class VideosModuleTests method VideosModuleTest_004.
/**
* Checks if the Videos Module is not showing any duplicate videos
*/
@Test(groups = { "VideosModule", "VideosModuleTest_004", "Media" })
public void VideosModuleTest_004() {
new ArticleContent().push(PageContent.ARTICLE_TEXT);
new ArticlePageObject().open();
new VideosModuleComponentObject(driver).verifyNoDuplicates();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.videosmodule.VideosModuleComponentObject in project selenium-tests by Wikia.
the class VideosModuleTests method visitorCanSeeVideosModuleOnArticleAndFilePages.
@Test(groups = { "VideosModule", "VideosModuleTest_001", "Media" })
public void visitorCanSeeVideosModuleOnArticleAndFilePages() {
new ArticleContent().push(PageContent.ARTICLE_TEXT);
VideosModuleComponentObject videosModule = new VideosModuleComponentObject(driver);
new ArticlePageObject().open();
videosModule.verifyVideosModuleShowing();
new FilePage().open(VideoContent.YOUTUBE_VIDEO_URL2_FILENAME);
videosModule.verifyVideosModuleShowing();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.videosmodule.VideosModuleComponentObject 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();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.videosmodule.VideosModuleComponentObject in project selenium-tests by Wikia.
the class VideosModuleTests method VideosModuleTest_003.
/**
* Checks if the Videos Module is showing the correct number of videos. Currently that amount is
* between 3 and 5.
*/
@Test(groups = { "VideosModule", "VideosModuleTest_003", "Media" })
public void VideosModuleTest_003() {
new ArticleContent().push(PageContent.ARTICLE_TEXT);
new ArticlePageObject().open();
new VideosModuleComponentObject(driver).verifyDisplayCount();
}
Aggregations