use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsOoyalaObject in project selenium-tests by Wikia.
the class TestAdsPremiumPrerollMercury method adsPremiumPrerollMercuryNoAds.
@Test(dataProviderClass = AdsDataProvider.class, groups = { "AdsPremiumPrerollMercury" }, dataProvider = "adsPremiumPreroll")
public void adsPremiumPrerollMercuryNoAds(String wikiName, String article) {
String testedPage = urlBuilder.getUrlForPath(wikiName, article + "&noads=1");
AdsOoyalaObject wikiPage = new AdsOoyalaObject(driver, testedPage);
wikiPage.verifyPlayerOnPage();
wikiPage.playArticleVideo();
wikiPage.verifyArticleVideo();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsOoyalaObject in project selenium-tests by Wikia.
the class TestAdsPremiumPrerollOasis method adsPremiumPrerollOasisNoAds.
@Test(dataProviderClass = AdsDataProvider.class, groups = { "AdsPremiumPrerollOasis" }, dataProvider = "adsPremiumPreroll")
public void adsPremiumPrerollOasisNoAds(String wikiName, String article) {
String testedPage = urlBuilder.getUrlForPath(wikiName, article + "&noads=1");
AdsOoyalaObject wikiPage = new AdsOoyalaObject(driver, testedPage);
wikiPage.verifyPlayerOnPage();
wikiPage.playArticleVideo();
wikiPage.verifyArticleVideo();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsOoyalaObject in project selenium-tests by Wikia.
the class TestAdsOoyalaOasis method adsOoyalaPrerollOasis.
@Test(dataProviderClass = AdsDataProvider.class, groups = { "AdsOoyalaPrerollOasis" }, dataProvider = "ooyalaAds")
public void adsOoyalaPrerollOasis(String wikiName, String article) {
String testedPage = urlBuilder.getUrlForPath(wikiName, article);
AdsOoyalaObject wikiPage = new AdsOoyalaObject(driver, testedPage);
wikiPage.verifyLightboxAd();
wikiPage.verifyLightboxVideo();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsOoyalaObject in project selenium-tests by Wikia.
the class TestAdsOoyalaMercury method adsOoyalaPrerollMercury.
@Test(dataProviderClass = AdsDataProvider.class, groups = { "AdsOoyalaPrerollMercury" }, dataProvider = "ooyalaAds")
public void adsOoyalaPrerollMercury(String wikiName, String article) {
String testedPage = urlBuilder.getUrlForPath(wikiName, article);
AdsOoyalaObject wikiPage = new AdsOoyalaObject(driver, testedPage);
wikiPage.playLightboxVideo();
wikiPage.verifyLightboxAd();
wikiPage.verifyLightboxVideo();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsOoyalaObject in project selenium-tests by Wikia.
the class TestAdsPremiumPrerollMercury method adsPremiumPrerollMercury.
@NetworkTrafficDump(useMITM = true)
@Test(dataProviderClass = AdsDataProvider.class, groups = { "AdsPremiumPrerollMercury" }, dataProvider = "adsPremiumPreroll")
public void adsPremiumPrerollMercury(String wikiName, String article) {
String testedPage = urlBuilder.getUrlForPath(wikiName, article);
AdsOoyalaObject wikiPage = new AdsOoyalaObject(driver, testedPage);
wikiPage.verifyPlayerOnPage();
wikiPage.verifyPremiumPrerollRequest(networkTrafficInterceptor, wikiPage);
wikiPage.verifyArticleAd();
wikiPage.verifyArticleVideo();
}
Aggregations