use of com.wikia.webdriver.elements.mercury.components.discussions.common.Replies in project selenium-tests by Wikia.
the class ZeroErrorStateTests method userSeesProperMessageWhenOpensPostDetailsPageWithoutReplies.
private void userSeesProperMessageWhenOpensPostDetailsPageWithoutReplies() {
final String postId = DiscussionsOperations.using(User.USER, driver).createPostWithUniqueData().getId();
final Replies replies = new PostDetailsPage().open(postId).getReplies();
Assertion.assertTrue(replies.isEmpty(), NO_REPLIES_UNDER_POST_MESSAGE);
Assertion.assertTrue(replies.hasNoRepliesIcon(), NO_REPLIES_ICON_MESSAGE);
Assertion.assertEquals(replies.getNoRepliesMessage(), NO_REPLIES_MESSAGE);
}
Aggregations