use of com.wikia.webdriver.pageobjectsfactory.componentobject.minieditor.MiniEditorComponentObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersResponseTests method followerNotificationResponse_setup_4.
@Test(groups = { "MessageWallNotificationsFollowersResponseTests_004" }, dependsOnMethods = "followerNotificationResponse_setup_3")
public void followerNotificationResponse_setup_4() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName8, credentials.password8, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName8);
MessageWallThreadPageObject thread = wall.openThread(title);
MiniEditorComponentObject miniReply = thread.triggerMessageArea();
String reply = PageContent.MESSAGE_WALL_QUOTE_PREFIX + wall.getTimeStamp();
miniReply.switchAndWrite(reply);
thread.submitQuote();
thread.verifyLastReply(credentials.userName8, reply);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.minieditor.MiniEditorComponentObject in project selenium-tests by Wikia.
the class MessageWallNotificationsOwnerTests method wallOwnerReceivesNotification_setup.
@Test(groups = { "MessageWallNotificationsOwnerTests_001" })
public void wallOwnerReceivesNotification_setup() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName9, credentials.password9, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName10);
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.userName9);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.minieditor.MiniEditorComponentObject in project selenium-tests by Wikia.
the class MessageWallNotificationsThreadCreatorTests method threadCreatorNotification_setup_1.
@Test(groups = { "MessageWallNotificationsThreadCreatorTests_001" })
public void threadCreatorNotification_setup_1() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName11, credentials.password11, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName12);
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.userName11);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.minieditor.MiniEditorComponentObject in project selenium-tests by Wikia.
the class MessageWallNotificationsThreadParticipantTests method threadCreatorNotification_setup_2.
@Test(groups = { "MessageWallNotificationsThreadParticipantTests_002" }, dependsOnMethods = "threadCreatorNotification_setup_1")
public void threadCreatorNotification_setup_2() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName4, credentials.password4, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName3);
MiniEditorComponentObject miniReply = wall.triggerReplyMessageArea();
String reply = PageContent.MESSAGE_WALL_QUOTE_PREFIX + wall.getTimeStamp();
miniReply.switchAndQuoteMessageWall(reply);
wall.submitQuote();
wall.verifyQuote(reply);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.minieditor.MiniEditorComponentObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersResponseTests method followerNotificationResponse_setup_2.
@Test(groups = { "MessageWallNotificationsFollowersResponseTests_002" }, dependsOnMethods = "followerNotificationResponse_setup_1")
public void followerNotificationResponse_setup_2() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName8, credentials.password8, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName8);
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.userName8);
}
Aggregations