use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.SonySideViewObject in project selenium-tests by Wikia.
the class TestAdsNoAdsForSony method adsNoAdsForSonyMobile.
@InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
@Test(dataProviderClass = AdsDataProvider.class, dataProvider = "noAdsForSony", groups = "AdsNoAdsForSonyMobile")
public void adsNoAdsForSonyMobile(String wikiName, String path) {
String testedPage = urlBuilder.getUrlForPath(wikiName, path);
SonySideViewObject sonyPage = new SonySideViewObject(driver);
AdsBaseObject wikiPage = sonyPage.goToDestinationPage(testedPage);
wikiPage.verifyNoAdsOnMobilePage();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.SonySideViewObject in project selenium-tests by Wikia.
the class TestAdsNoAdsForSony method adsNoAdsForSonyOasis.
@Test(dataProviderClass = AdsDataProvider.class, dataProvider = "noAdsForSony", groups = "AdsNoAdsForSonyOasis")
public void adsNoAdsForSonyOasis(String wikiName, String path) {
String testedPage = urlBuilder.getUrlForPath(wikiName, path);
SonySideViewObject sonyPage = new SonySideViewObject(driver);
AdsBaseObject wikiPage = sonyPage.goToDestinationPage(testedPage);
wikiPage.verifyNoAdsOnPage();
}
Aggregations