use of com.wikia.webdriver.elements.mercury.components.discussions.desktop.Promoting in project selenium-tests by Wikia.
the class PromotingTests method anonUserOnDesktopCanSeeAppPromotion.
/**
* ANON ON DESKTOP SECTION
*/
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void anonUserOnDesktopCanSeeAppPromotion() {
Promoting promoting = findPromoting();
assertTrue(promoting.isAppleLinkDisplayed());
assertTrue(promoting.isGooglePlayLinkDisplayed());
assertEquals(promoting.getPromotionAppText(), DESKTOP_PROMOTION_TEXT);
}
use of com.wikia.webdriver.elements.mercury.components.discussions.desktop.Promoting in project selenium-tests by Wikia.
the class PromotingTests method anonUserOnMobileCanSeeAppPromotion.
/**
* ANON ON MOBILE SECTION
*/
@InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
public void anonUserOnMobileCanSeeAppPromotion() {
Promoting promoting = findPromoting();
assertTrue(promoting.isMobileBannerDisplayed());
assertStringContains(promoting.getPromotionAppMobileText(), MOBILE_PROMOTION_TEXT);
}