@Test(groups = "Enterprise-only", timeOut = 400000) public void checkThatFactoryReturnNodeBrowserPage() throws Exception { SharePage page = loginAs("admin", "admin"); page.getNav().getNodeBrowserPage().render(); drone.getCurrentPage().render(); }
@SuppressWarnings("unchecked") @Override public NodeBrowserPage render(RenderTime renderTime) { elementRender(renderTime, getVisibleRenderElement(SEARCH_BUTTON), getVisibleRenderElement(SEARCH_TEXT_FIELD), getVisibleRenderElement(SEARCH_QUERY_TYPE_BUTTON), getVisibleRenderElement(STORE_TYPE_BUTTON), getVisibleRenderElement(TITLE_LABEL)); return this; }
NodeBrowserPage extends AdminConsolePage { @SuppressWarnings("unchecked") @Override public NodeBrowserPage render(RenderTime renderTime) { elementRender(renderTime, getVisibleRenderElement(SEARCH_BUTTON), getVisibleRenderElement(SEARCH_TEXT_FIELD), getVisibleRenderElement(SEARCH_QUERY_TYPE_BUTTON), getVisibleRenderElement(STORE_TYPE_BUTTON), getVisibleRenderElement(TITLE_LABEL)); return this; } }
NodeBrowserPage extends AdminConsolePage { @SuppressWarnings("unchecked") @Override public NodeBrowserPage render(RenderTime renderTime) { elementRender(renderTime, getVisibleRenderElement(SEARCH_BUTTON), getVisibleRenderElement(SEARCH_TEXT_FIELD), getVisibleRenderElement(SEARCH_QUERY_TYPE_BUTTON), getVisibleRenderElement(STORE_TYPE_BUTTON), getVisibleRenderElement(TITLE_LABEL)); return this; } NodeBrowserPage(WebDrone drone); }
NodeBrowserPage extends AdminConsolePage { @SuppressWarnings("unchecked") @Override public NodeBrowserPage render(RenderTime renderTime) { elementRender(renderTime, getVisibleRenderElement(SEARCH_BUTTON), getVisibleRenderElement(SEARCH_TEXT_FIELD), getVisibleRenderElement(SEARCH_QUERY_TYPE_BUTTON), getVisibleRenderElement(STORE_TYPE_BUTTON), getVisibleRenderElement(TITLE_LABEL)); return this; } NodeBrowserPage(WebDrone drone); @SuppressWarnings("unchecked") @Override NodeBrowserPage render(RenderTime renderTime); @SuppressWarnings("unchecked") @Override NodeBrowserPage render(long l); @SuppressWarnings("unchecked") @Override NodeBrowserPage render(); void fillQueryField(String query); HtmlPage clickSearchButton(); void selectStore(Store store); void selectQueryType(QueryType queryType); boolean isSearchResults(); int getSearchResultsCount(); boolean isOnSearchBar(String regExp); boolean isInResultsByNodeRef(String regExp); boolean isInResultsByName(String regExp); List<NodeBrowserSearchResult> getSearchResults(); NodeBrowserSearchResult getSearchResults(String name); }
NodeBrowserPage extends AdminConsolePage { @SuppressWarnings("unchecked") @Override public NodeBrowserPage render(RenderTime renderTime) { elementRender(renderTime, getVisibleRenderElement(SEARCH_BUTTON), getVisibleRenderElement(SEARCH_TEXT_FIELD), getVisibleRenderElement(SEARCH_QUERY_TYPE_BUTTON), getVisibleRenderElement(STORE_TYPE_BUTTON), getVisibleRenderElement(TITLE_LABEL)); return this; } NodeBrowserPage(WebDrone drone); @SuppressWarnings("unchecked") @Override NodeBrowserPage render(RenderTime renderTime); @SuppressWarnings("unchecked") @Override NodeBrowserPage render(long l); @SuppressWarnings("unchecked") @Override NodeBrowserPage render(); void fillQueryField(String query); HtmlPage clickSearchButton(); void selectStore(Store store); void selectQueryType(QueryType queryType); boolean isSearchResults(); int getSearchResultsCount(); boolean isOnSearchBar(String regExp); boolean isInResultsByNodeRef(String regExp); boolean isInResultsByName(String regExp); List<NodeBrowserSearchResult> getSearchResults(); NodeBrowserSearchResult getSearchResults(String name);  }