use of com.wikia.webdriver.pageobjectsfactory.pageobject.messagewall.MessageWallThreadPageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsThreadParticipantTests method threadCreatorNotification_setup_3.
@Test(groups = { "MessageWallNotificationsThreadParticipantTests_003" }, dependsOnMethods = "threadCreatorNotification_setup_2")
public void threadCreatorNotification_setup_3() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName3, credentials.password3, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName3);
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.userName3, reply);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.messagewall.MessageWallThreadPageObject 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);
}
Aggregations