use of com.wikia.webdriver.pageobjectsfactory.componentobject.ad.AutoplayVuap in project selenium-tests by Wikia.
the class TestAdsVuapOasisAutoplay method vuapAutoplayShouldProgressInTime.
@Test(groups = "AdsVuapAutoplayTimeProgressOasis", dataProviderClass = AdsDataProvider.class, dataProvider = "adsVuapAutoplayDesktop")
public void vuapAutoplayShouldProgressInTime(Page page, String slot, String videoIframeSelector) {
new AdsBaseObject(driver, urlBuilder.getUrlForPage(page), WindowSize.DESKTOP);
final AutoplayVuap vuap = new AutoplayVuap(driver, slot, videoIframeSelector);
VuapAssertions.verifyVideoTimeIsProgressing(vuap);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.ad.AutoplayVuap in project selenium-tests by Wikia.
the class TestAdsVuapResolvedState method vuapResolvedStateShouldProgressInTime.
@Test(groups = "AdsVuapResolvedStateTimeProgressOasis", dataProviderClass = AdsDataProvider.class, dataProvider = "adsVuapResolvedStateDesktop")
public void vuapResolvedStateShouldProgressInTime(Page page, String slot, String videoIframeSelector) {
AdsBaseObject ads = new AdsBaseObject(driver, urlBuilder.getUrlForPage(page), WindowSize.DESKTOP);
final AutoplayVuap vuap = new AutoplayVuap(driver, slot, videoIframeSelector);
ads.refreshPage();
VuapAssertions.verifyVideoTimeIsProgressing(vuap);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.ad.AutoplayVuap in project selenium-tests by Wikia.
the class TestAdsVuapResolvedState method vuapResolvedStateShouldMute.
@Test(groups = "AdsVuapResolvedStateMuteOasis", dataProviderClass = AdsDataProvider.class, dataProvider = "adsVuapResolvedStateDesktop")
public void vuapResolvedStateShouldMute(Page page, String slot, String videoIframeSelector) {
AdsBaseObject ads = new AdsBaseObject(driver, urlBuilder.getUrlForPage(page), WindowSize.DESKTOP);
final AutoplayVuap vuap = new AutoplayVuap(driver, slot, videoIframeSelector);
ads.refreshPage();
VuapAssertions.verifyVideoUnmuteAndMute(vuap);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.ad.AutoplayVuap in project selenium-tests by Wikia.
the class TestAdsVuapResolvedState method vuapDefaultStateShouldMute.
@Test(groups = "AdsVuapDefaultStateMuteOasis", dataProviderClass = AdsDataProvider.class, dataProvider = "adsVuapResolvedStateDesktop")
public void vuapDefaultStateShouldMute(Page page, String slot, String videoIframeSelector) {
new AdsBaseObject(driver, urlBuilder.getUrlForPage(page), WindowSize.DESKTOP);
final AutoplayVuap vuap = new AutoplayVuap(driver, slot, videoIframeSelector);
VuapAssertions.verifyVideoUnmuteAndMute(vuap);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.ad.AutoplayVuap in project selenium-tests by Wikia.
the class TestAdsVuapResolvedState method vuapDefaultStateShouldStartPlayingAdvertisementAutomatically.
@Test(groups = "AdsVuapDefaultStateAutoplayOasis", dataProviderClass = AdsDataProvider.class, dataProvider = "adsVuapResolvedStateDesktop")
public void vuapDefaultStateShouldStartPlayingAdvertisementAutomatically(Page page, String slot, String videoIframeSelector) {
new AdsBaseObject(driver, urlBuilder.getUrlForPage(page), WindowSize.DESKTOP);
final AutoplayVuap vuap = new AutoplayVuap(driver, slot, videoIframeSelector);
VuapAssertions.verifyVideoPlay(vuap);
}
Aggregations