use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsFandomObject in project selenium-tests by Wikia.
the class TestAdsFandomUap method adsFandomHubUapMobile.
@InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
@Test(dataProviderClass = FandomAdsDataProvider.class, dataProvider = "fandomHubUapPage", groups = { "AdsFandomUapMobile" })
@RelatedIssue(issueID = "ADEN-4339")
public void adsFandomHubUapMobile(String pageType, String pageName, long atfId, long btfId) {
AdsFandomObject fandomPage = loadPage(pageName, pageType);
fandomPage.triggerOnScrollSlots();
verifyUapAtf(atfId, AdsFandomContent.TOP_BOXAD, fandomPage);
verifyUapBtf(btfId, AdsFandomContent.INCONTENT_BOXAD_MOBILE, AdsFandomContent.BOTTOM_LEADERBOARD, fandomPage);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsFandomObject in project selenium-tests by Wikia.
the class TestAdsFandomUap method adsFandomArticleUapDesktop.
@Test(dataProviderClass = FandomAdsDataProvider.class, dataProvider = "fandomArticleUapPage", groups = { "AdsFandomUapDesktop" })
public void adsFandomArticleUapDesktop(String pageType, String pageName, long atfId, long btfId) {
AdsFandomObject fandomPage = loadPage(pageName, pageType);
fandomPage.triggerOnScrollSlots();
verifyUapAtf(atfId, AdsFandomContent.TOP_BOXAD_DESKTOP, fandomPage);
verifyUapBtf(btfId, AdsFandomContent.INCONTENT_BOXAD, AdsFandomContent.BOTTOM_LEADERBOARD_DESKTOP, fandomPage);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsFandomObject in project selenium-tests by Wikia.
the class TestAdsFandomUap method adsFandomHubUapDesktop.
@Test(dataProviderClass = FandomAdsDataProvider.class, dataProvider = "fandomHubUapPage", groups = { "AdsFandomUapDesktop" })
public void adsFandomHubUapDesktop(String pageType, String pageName, long atfId, long btfId) {
AdsFandomObject fandomPage = loadPage(pageName, pageType);
fandomPage.triggerOnScrollSlots();
verifyUapAtf(atfId, AdsFandomContent.TOP_BOXAD, fandomPage);
verifyUapBtf(btfId, AdsFandomContent.INCONTENT_BOXAD, AdsFandomContent.BOTTOM_LEADERBOARD, fandomPage);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsFandomObject in project selenium-tests by Wikia.
the class TestAdsFandom method adsFandomAdsMobile.
@InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
@Test(dataProviderClass = FandomAdsDataProvider.class, dataProvider = "fandomAds", groups = { "AdsMobilePresenceFandom", "AdsMobileFandom" })
public void adsFandomAdsMobile(String pageType, String pageName) {
AdsFandomObject fandomPage = loadPage(pageName, pageType);
verifySlotsOnMobile(fandomPage, pageType);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsFandomObject in project selenium-tests by Wikia.
the class TestAdsFandom method adsFandomAdsDesktop.
@Test(dataProviderClass = FandomAdsDataProvider.class, dataProvider = "fandomAds", groups = { "AdsDesktopPresenceFandom", "AdsDesktopFandom" })
public void adsFandomAdsDesktop(String pageType, String pageName) {
AdsFandomObject fandomPage = loadPage(pageName, pageType);
verifySlotsOnDesktop(fandomPage, pageType);
}
Aggregations