Search in sources :

Example 6 with NotificationsComponentObject

use of com.wikia.webdriver.pageobjectsfactory.componentobject.global_navitagtion.NotificationsComponentObject in project selenium-tests by Wikia.

the class MessageWallNotificationsFollowersResponseTests method userIsNotifiedWhenOtherUserWritesResponseOnFollowedMessageWall.

@Test(groups = { "MessageWallNotificationsFollowersResponseTests_005" }, dependsOnMethods = "followerNotificationResponse_setup_4")
public void userIsNotifiedWhenOtherUserWritesResponseOnFollowedMessageWall() {
    WikiBasePageObject base = new WikiBasePageObject();
    base.loginAs(credentials.userName7, credentials.password7, wikiURL);
    NotificationsComponentObject notifications = new NotificationsComponentObject(driver);
    notifications.showNotifications();
    notifications.verifyNotification(title, credentials.userName8);
}
Also used : WikiBasePageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject) NotificationsComponentObject(com.wikia.webdriver.pageobjectsfactory.componentobject.global_navitagtion.NotificationsComponentObject) Test(org.testng.annotations.Test)

Aggregations

NotificationsComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.global_navitagtion.NotificationsComponentObject)6 Test (org.testng.annotations.Test)6 WikiBasePageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject)5 Execute (com.wikia.webdriver.common.core.annotations.Execute)1 ForumPage (com.wikia.webdriver.pageobjectsfactory.pageobject.forumpageobject.ForumPage)1 UnsupportedEncodingException (java.io.UnsupportedEncodingException)1