@Test(dependsOnMethods = "viewTopic") public void createReply() { assertTrue(topicViewPage.isReplyLinkDisplayed()); topicViewPage.createReply(text).render(); assertEquals(verifyCreatedReply(), text); }
@SuppressWarnings("unchecked") @Override public DiscussionsPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_TOPIC_BTN)); return this; }
DiscussionsPage extends TopicsListPage { @SuppressWarnings("unchecked") @Override public DiscussionsPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_TOPIC_BTN)); return this; } }
DiscussionsPage extends TopicsListPage { @SuppressWarnings("unchecked") @Override public DiscussionsPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_TOPIC_BTN)); return this; } DiscussionsPage(WebDrone drone); }
DiscussionsPage extends TopicsListPage { @SuppressWarnings("unchecked") @Override public DiscussionsPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_TOPIC_BTN)); return this; } DiscussionsPage(WebDrone drone); @SuppressWarnings("unchecked") @Override DiscussionsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override DiscussionsPage render(); @SuppressWarnings("unchecked") @Override DiscussionsPage render(long time); TopicViewPage createTopic(String titleField, String textLines); TopicViewPage createTopic(String titleField); TopicViewPage createTopic(String titleField, String textLines, String tag); TopicDirectoryInfo getTopicDirectoryInfo(final String title); boolean isNewTopicEnabled(); TopicViewPage viewTopic(String title); TopicViewPage editTopic(String oldTitle, String newTitle, String txtLines); TopicViewPage editTopic(String oldTitle, String newTitle, String txtLines, String tagName); TopicViewPage editTopic(String oldTitle, String newTitle, String txtLines, String tagName,  boolean removeTag); DiscussionsPage deleteTopicWithConfirm(String title); int getTopicsCount(); boolean isEditTopicDisplayed(String title); boolean isDeleteTopicDisplayed(String title); TopicsListFilter getTopicsListFilter(); List<String> getTopicTitles(); boolean isTopicPresented(String title); boolean checkTags(String title, String tag); boolean isNoTopicsDisplayed(); }
DiscussionsPage extends TopicsListPage { @SuppressWarnings("unchecked") @Override public DiscussionsPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_TOPIC_BTN)); return this; } DiscussionsPage(WebDrone drone); @SuppressWarnings("unchecked") @Override DiscussionsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override DiscussionsPage render(); @SuppressWarnings("unchecked") @Override DiscussionsPage render(long time); TopicViewPage createTopic(String titleField, String textLines); TopicViewPage createTopic(String titleField); TopicViewPage createTopic(String titleField, String textLines, String tag); TopicDirectoryInfo getTopicDirectoryInfo(final String title); boolean isNewTopicEnabled(); TopicViewPage viewTopic(String title); TopicViewPage editTopic(String oldTitle, String newTitle, String txtLines); TopicViewPage editTopic(String oldTitle, String newTitle, String txtLines, String tagName); TopicViewPage editTopic(String oldTitle, String newTitle, String txtLines, String tagName,  boolean removeTag); DiscussionsPage deleteTopicWithConfirm(String title); int getTopicsCount(); boolean isEditTopicDisplayed(String title); boolean isDeleteTopicDisplayed(String title); TopicsListFilter getTopicsListFilter(); List<String> getTopicTitles(); boolean isTopicPresented(String title); boolean checkTags(String title, String tag); boolean isNoTopicsDisplayed();  }