use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsPageFairObject in project selenium-tests by Wikia.
the class TestAdsDetectionPageFair method adsDetectAdBlockPageFair.
@NetworkTrafficDump
@Test(groups = "AdsDetectAdBlockPageFair", dataProviderClass = AdsDataProvider.class, dataProvider = "adsDetectionPageFair")
public void adsDetectAdBlockPageFair(Page page) {
networkTrafficInterceptor.startIntercepting();
AdsPageFairObject adsBaseObject = new AdsPageFairObject(driver, page);
adsBaseObject.assertPageFairResponse(true, networkTrafficInterceptor);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.adsbase.AdsPageFairObject in project selenium-tests by Wikia.
the class TestAdsDetectionPageFair method adsDetectNoAdBlockPageFair.
@NetworkTrafficDump
@Test(groups = "AdsDetectNoAdBlockPageFair", dataProviderClass = AdsDataProvider.class, dataProvider = "adsDetectionPageFair")
public void adsDetectNoAdBlockPageFair(Page page) {
networkTrafficInterceptor.startIntercepting();
AdsPageFairObject adsBaseObject = new AdsPageFairObject(driver, page);
adsBaseObject.assertPageFairResponse(false, networkTrafficInterceptor);
}
Aggregations