@Test( dataProviderClass = AdsDataProvider.class, dataProvider = "noAdsForUsers", groups = "TestNoAdsForUsers_GeoEdgeFree") @Execute(asUser = User.USER) public void TestNoAdsForUsers_GeoEdgeFree(String wikiName, String path) throws Exception { String testedPage = urlBuilder.getUrlForPath(wikiName, path); AdsBaseObject wikiPage = new AdsBaseObject(driver, testedPage); wikiPage.verifyNoAdsOnPage(); }
@GeoEdgeBrowserMobProxy(country = "VE") @Test( dataProviderClass = AdsDataProvider.class, dataProvider = "noAdsForUsers", groups = "TestNoAdsForUsers_VE") @Execute(asUser = User.USER) public void TestNoAdsForUsers_VE(String wikiName, String path) { String testedPage = urlBuilder.getUrlForPath(wikiName, path); AdsBaseObject wikiPage = new AdsBaseObject(driver, testedPage); wikiPage.verifyNoAdsOnPage(); }