Class SearchResultsPage

java.lang.Object
org.apache.wiki.pages.haddock.SearchResultsPage
All Implemented Interfaces:
HaddockPage, Page

public class SearchResultsPage extends Object implements HaddockPage
Actions available on the Search Results page.
  • Constructor Details

  • Method Details

    • open

      public static SearchResultsPage open(String pageName)
      Open the search results page with a given query text to search for.
      Parameters:
      pageName - Wiki page name to View.
      Returns:
      ViewWikiPage instance, to allow chaining of actions.
    • pagesFound

      public List<String> pagesFound()
      Returns the search result page names.
      Returns:
      the list of page names returned by the search query.
    • shouldContain

      public SearchResultsPage shouldContain(String... pageNames)
      Ensures that the given page names are present on the search results.
      Parameters:
      pageNames - page names to look for.
      Returns:
      SearchResultsPage instance, to allow chaining of actions.