use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersMessageTests method userIsNotifiedWhenOtherUserWritesMessageOnFollowedMessageWal.
@Test(groups = { "MessageWallNotificationsFollowersMessageTests_003" }, dependsOnMethods = "followerNotificationNewMessage_setup_2")
public void userIsNotifiedWhenOtherUserWritesMessageOnFollowedMessageWal() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName5, credentials.password5, wikiURL);
NotificationsComponentObject notifications = new NotificationsComponentObject(driver);
notifications.showNotifications();
notifications.verifyNotification(title, credentials.userName6);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersMessageTests method followerNotificationNewMessage_setup_2.
@Test(groups = { "MessageWallNotificationsFollowersMessageTests_002" }, dependsOnMethods = "followerNotificationNewMessage_setup_1")
public void followerNotificationNewMessage_setup_2() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName6, credentials.password6, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName6);
MiniEditorComponentObject mini = wall.triggerMessageArea();
String message = PageContent.MESSAGE_WALL_MESSAGE_PREFIX + wall.getTimeStamp();
title = PageContent.MESSAGE_WALL_TITLE_PREFIX + wall.getTimeStamp();
mini.switchAndWrite(message);
wall.setTitle(title);
wall.submit();
wall.verifyMessageText(title, message, credentials.userName6);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersResponseTests method followerNotificationResponse_setup_3.
@Test(groups = { "MessageWallNotificationsFollowersResponseTests_003" }, dependsOnMethods = "followerNotificationResponse_setup_2")
public void followerNotificationResponse_setup_3() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName7, credentials.password7, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName8);
wall.follow();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersResponseTests method followerNotificationResponse_setup_1.
@Test(groups = { "MessageWallNotificationsFollowersResponseTests_001" })
public void followerNotificationResponse_setup_1() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName7, credentials.password7, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName8);
WatchPageObject watch = wall.unfollowCurrentUrl();
watch.confirmWatchUnwatch();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsOwnerTests method userIsNotifiedWhenOtherUserWritesMessageOnHerMessageWal.
@Test(groups = { "MessageWallNotificationsOwnerTests_002" }, dependsOnMethods = "wallOwnerReceivesNotification_setup")
public void userIsNotifiedWhenOtherUserWritesMessageOnHerMessageWal() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName10, credentials.password10, wikiURL);
NotificationsComponentObject notifications = new NotificationsComponentObject(driver);
notifications.showNotifications();
notifications.verifyNotification(title, credentials.userName9);
}
Aggregations