use of com.wikia.webdriver.common.core.annotations.NetworkTrafficDump in project selenium-tests by Wikia.
the class TestAdsVuapFandom method adsVideoClosedAfterPlayingFandomMobile.
@NetworkTrafficDump(useMITM = true)
@InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
@Test(dataProviderClass = FandomAdsDataProvider.class, dataProvider = "vuapPageMobile", groups = { "AdsVuapFandomMobile", "AdsVideoClosedAfterPlayingFandomMobile" })
public void adsVideoClosedAfterPlayingFandomMobile(String pageType, String pageName, String slotName, String iframeId, String videoUrl) {
networkTrafficInterceptor.startIntercepting();
AdsFandomObject fandomPage = loadPage(pageName, pageType);
VideoFanTakeover videoFanTakeover = prepareSlot(slotName, iframeId, fandomPage);
fandomPage.wait.forSuccessfulResponse(networkTrafficInterceptor, videoUrl);
videoFanTakeover.play();
videoFanTakeover.waitForVideoPlayerHidden();
}
use of com.wikia.webdriver.common.core.annotations.NetworkTrafficDump in project selenium-tests by Wikia.
the class TestAdsVuapFandom method adsVuapVideoPausesFandom.
@NetworkTrafficDump
@Test(dataProviderClass = FandomAdsDataProvider.class, dataProvider = "vuapPage", groups = { "AdsVuapFandomDesktop", "AdsVuapVideoPauseFandom" })
public void adsVuapVideoPausesFandom(String pageType, String pageName, String slotName, String iframeId) throws InterruptedException {
AdsFandomObject fandomPage = loadPage(pageName, pageType);
VideoFanTakeover videoFanTakeover = prepareSlot(slotName, iframeId, fandomPage);
videoFandomPage(slotName).verifyIsVideoPausedOnDesktop(networkTrafficInterceptor, videoFanTakeover);
}
use of com.wikia.webdriver.common.core.annotations.NetworkTrafficDump in project selenium-tests by Wikia.
the class MercuryAssetCheck method checkAssetsOnJoin.
@Test(groups = "CheckAssetsOnJoin")
@NetworkTrafficDump
@Execute(onWikia = "glee")
public void checkAssetsOnJoin() {
WikiBasePageObject base = new WikiBasePageObject();
networkTrafficInterceptor.startIntercepting("MercurryAssets");
base.getUrl(urlBuilder.getUrlForWiki(Configuration.getWikiName()) + "join");
networkTrafficInterceptor.checkAssetsStatuses(".wikia.com");
}
use of com.wikia.webdriver.common.core.annotations.NetworkTrafficDump in project selenium-tests by Wikia.
the class NonSpecificMapTests method NonSpecificMapTests_012_VerifyLinkedArticlePontoRequest.
@RelatedIssue(issueID = "SUS-1401", comment = "Product is broken")
@Test(groups = { "NonSpecificMapTests_012", "NonSpecificMapTests", "InteractiveMaps" })
@DontRun(env = { "dev", "sandbox", "preview" })
@NetworkTrafficDump
public void NonSpecificMapTests_012_VerifyLinkedArticlePontoRequest() {
WikiBasePageObject base = new WikiBasePageObject();
base.getUrl(InteractiveMapsContent.MOBILE_APPS_MAP);
InteractiveMapPageObject map = new InteractiveMapPageObject();
map.clickOnPin(0, true);
networkTrafficInterceptor.startIntercepting(InteractiveMapsContent.MOBILE_APPS_MAP);
map.clickOpenPinTitle(true);
map.verifyPontoGetRequest(networkTrafficInterceptor);
}
Aggregations