use of com.wikia.webdriver.pageobjectsfactory.componentobject.media.VideoComponentObject in project selenium-tests by Wikia.
the class PlayingVideoTests method PlayingVideoTests_005_anyclip.
@Test(enabled = false, groups = { "Media", "ProviderTests", "PlayingVideoTests", "PlayingVideoTests_005" })
@RelatedIssue(issueID = "QAART-750", comment = "Test disabled as Selenium doesn't allow to access" + "elements with <object> tag. Check after Selenium update.")
@Execute(onWikia = "sktest123", disableFlash = "false")
@InBrowser(browser = Browser.FIREFOX, browserSize = BROWSER_SIZE)
public void PlayingVideoTests_005_anyclip() {
int itemNumber = 0;
String providerName = "anyclip";
String queryString = "provider=" + providerName;
SpecialVideosPageObject specialVideos = new SpecialVideosPageObject(driver).openSpecialVideoPage(wikiURL, queryString);
LightboxComponentObject lightbox = specialVideos.openLightboxForGridVideo(itemNumber);
lightbox.verifyLightboxPopup();
lightbox.verifyLightboxVideo();
lightbox.verifyVideoAutoplay(providerName);
VideoComponentObject video = lightbox.getVideoPlayer();
video.verifyVideoEmbedWidth();
video.verifyFlashVideoObjectVisible();
video.verifyVideoAnyclipEmbed();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.media.VideoComponentObject in project selenium-tests by Wikia.
the class LightboxComponentObject method verifyVideoAutoplay.
public void verifyVideoAutoplay(String providerName) {
VideoComponentObject video = new VideoComponentObject(driver, videoContainer);
video.verifyVideoAutoplay(providerName, true);
}
Aggregations