@Test public void addBlogPage() { customizeSitePage = siteDashBoard.getSiteNav().selectCustomizeSite().render(); List<SitePageType> addPageTypes = new ArrayList<SitePageType>(); addPageTypes.add(SitePageType.BLOG); customizeSitePage.addPages(addPageTypes).render(); blogPage = siteDashBoard.getSiteNav().selectBlogPage().render(); assertNotNull(blogPage); }
@SuppressWarnings("unchecked") @Override public BlogPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_POST_BTN)); return this; }
BlogPage extends SitePage { @SuppressWarnings("unchecked") @Override public BlogPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_POST_BTN)); return this; } }
BlogPage extends SitePage { @SuppressWarnings("unchecked") @Override public BlogPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_POST_BTN)); return this; } BlogPage(WebDrone drone); }
BlogPage extends SitePage { @SuppressWarnings("unchecked") @Override public BlogPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_POST_BTN)); return this; } BlogPage(WebDrone drone); @SuppressWarnings("unchecked") @Override BlogPage render(RenderTime timer); @SuppressWarnings("unchecked") BlogPage render(); @SuppressWarnings("unchecked") @Override BlogPage render(long time); PostViewPage createPostInternally(String titleField); PostViewPage createPostInternally(String titleField, String txtLines); PostViewPage createPostInternally(String titleField, String txtLines, String tagName); PostViewPage createPostInternally(String titleField, String txtLines, List<String> tags); PostViewPage saveAsDraft(String titleField, String txtLines); boolean isNewPostEnabled(); PostViewPage openBlogPost(String title); int getPostsCount(); boolean isPostPresented(String postName); PostViewPage saveAsDraft(String titleField, String txtLines, List<String> tagName); RssFeedPage clickRssFeedBtn(String username, String password); boolean checkTags(String title, String tag); PostViewPage editPost(String oldTitle, String newTitle, String txtLines, String tagName, boolean removeTag); PostDirectoryInfo getPostDirectoryInfo(final String title); BlogTreeMenuNavigation getLeftMenus(); }
BlogPage extends SitePage { @SuppressWarnings("unchecked") @Override public BlogPage render(RenderTime timer) { elementRender(timer, getVisibleRenderElement(NEW_POST_BTN)); return this; } BlogPage(WebDrone drone); @SuppressWarnings("unchecked") @Override BlogPage render(RenderTime timer); @SuppressWarnings("unchecked") BlogPage render(); @SuppressWarnings("unchecked") @Override BlogPage render(long time); PostViewPage createPostInternally(String titleField); PostViewPage createPostInternally(String titleField, String txtLines); PostViewPage createPostInternally(String titleField, String txtLines, String tagName); PostViewPage createPostInternally(String titleField, String txtLines, List<String> tags); PostViewPage saveAsDraft(String titleField, String txtLines); boolean isNewPostEnabled(); PostViewPage openBlogPost(String title); int getPostsCount(); boolean isPostPresented(String postName); PostViewPage saveAsDraft(String titleField, String txtLines, List<String> tagName); RssFeedPage clickRssFeedBtn(String username, String password); boolean checkTags(String title, String tag); PostViewPage editPost(String oldTitle, String newTitle, String txtLines, String tagName, boolean removeTag); PostDirectoryInfo getPostDirectoryInfo(final String title); BlogTreeMenuNavigation getLeftMenus();  }