Search in sources :

Example 36 with InteractiveMapPageObject

use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject 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);
}
Also used : InteractiveMapPageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject) WikiBasePageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject) NetworkTrafficDump(com.wikia.webdriver.common.core.annotations.NetworkTrafficDump) Test(org.testng.annotations.Test) RelatedIssue(com.wikia.webdriver.common.core.annotations.RelatedIssue) DontRun(com.wikia.webdriver.common.core.annotations.DontRun)

Aggregations

InteractiveMapPageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapPageObject)36 Test (org.testng.annotations.Test)36 InteractiveMapsPageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.special.interactivemaps.InteractiveMapsPageObject)34 WikiBasePageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject)30 Execute (com.wikia.webdriver.common.core.annotations.Execute)23 DontRun (com.wikia.webdriver.common.core.annotations.DontRun)22 RelatedIssue (com.wikia.webdriver.common.core.annotations.RelatedIssue)11 AddPinComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.AddPinComponentObject)9 PalantirContent (com.wikia.webdriver.common.contentpatterns.PalantirContent)6 CreatePinTypesComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.CreatePinTypesComponentObject)6 PalantirComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.PalantirComponentObject)6 CreateAMapComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.CreateAMapComponentObject)3 CreateACustomMapComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.CreateACustomMapComponentObject)2 TemplateComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.TemplateComponentObject)2 NetworkTrafficDump (com.wikia.webdriver.common.core.annotations.NetworkTrafficDump)1 CreateRealMapComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.CreateRealMapComponentObject)1 DeleteAMapComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.interactivemaps.DeleteAMapComponentObject)1 DabbletComPageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.DabbletComPageObject)1 WikiArticleEditMode (com.wikia.webdriver.pageobjectsfactory.pageobject.wikipage.editmode.WikiArticleEditMode)1