use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsEvolveObject in project selenium-tests by Wikia.
the class TestAdsEvolveMercury method adsEvolveMercury.
@Test(dataProviderClass = AdsDataProvider.class, dataProvider = "evolveTestPage")
public void adsEvolveMercury(String wikiName, String article) {
AdsEvolveObject wikiPage = new AdsEvolveObject(driver);
String testedPage = urlBuilder.getUrlForPath(wikiName, article);
wikiPage.enableEvolve(testedPage);
wikiPage.verifyEvolveCallMercury();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsEvolveObject in project selenium-tests by Wikia.
the class TestDfpParamsPresent method dfpEvolveParamsPresentOasis.
@Test(dataProviderClass = AdsDataProvider.class, dataProvider = "dfpEvolveParamsOasis", groups = { "Ads", "AdsEvolveOasis" })
public void dfpEvolveParamsPresentOasis(String wikiName, String article, Integer dfpClientId, String adUnit, String slot, List<String> pageParams, List<String> slotParams) {
AdsEvolveObject ads = new AdsEvolveObject(driver);
String testedPage = urlBuilder.getUrlForPath(wikiName, article);
ads.enableEvolve(testedPage);
ads.verifyGptIframe(dfpClientId, adUnit, slot);
ads.verifyGptParams(slot, pageParams, slotParams);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsEvolveObject in project selenium-tests by Wikia.
the class TestNoAdsOnAdFreeWikis method TestNoAdsOnAdsFreeWikis_AU.
@Test(dataProviderClass = AdsDataProvider.class, dataProvider = "adFreeWikis", groups = { "TestNoAdsOnAdsFreeWikis_AU" })
public void TestNoAdsOnAdsFreeWikis_AU(String wikiName, String path) {
String testedPage = urlBuilder.getUrlForPath(wikiName, path);
AdsEvolveObject wikiPage = new AdsEvolveObject(driver);
wikiPage.enableEvolve(testedPage);
wikiPage.verifyNoAdsOnPage();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsEvolveObject in project selenium-tests by Wikia.
the class TestAdsEvolveOasis method adsEvolveOasis.
@UseUnstablePageLoadStrategy
@Test(dataProviderClass = AdsDataProvider.class, groups = "AdsEvolveOasis", dataProvider = "evolveTestPage")
public void adsEvolveOasis(String wikiName, String article) {
AdsEvolveObject wikiPage = new AdsEvolveObject(driver);
String testedPage = urlBuilder.getUrlForPath(wikiName, article);
wikiPage.enableEvolve(testedPage);
wikiPage.verifyEvolveCallOasis();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsEvolveObject in project selenium-tests by Wikia.
the class TestAdsDfpParamsPresentMercury method dfpEvolveParamsPresentMercury.
@InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
@Test(dataProviderClass = MobileAdsDataProvider.class, dataProvider = "dfpEvolveParamsMercury", groups = { "MobileAds", "AdsEvolveMercury" })
public void dfpEvolveParamsPresentMercury(String wikiName, String article, Integer dfpClientId, String adUnit, String slot, List<String> pageParams, List<String> slotParams) {
AdsEvolveObject ads = new AdsEvolveObject(driver);
String testedPage = urlBuilder.getUrlForPath(wikiName, article);
ads.enableEvolve(testedPage);
ads.verifyGptIframe(dfpClientId, adUnit, slot);
ads.verifyGptParams(slot, pageParams, slotParams);
}
Aggregations