Class EditWikiPage

    • Method Detail

      • open

        public static EditWikiPage open​(java.lang.String pageName)
        Open a given page for edition.
        Parameters:
        pageName - Wiki page name to Edit.
        Returns:
        EditWikiPage instance, to allow chaining of actions.
      • saveText

        public ViewWikiPage saveText​(java.lang.String text)
        Edits the page with the given text. Ensures edition is complete by ensuring the preview pane shows the edited text.
        Parameters:
        text - text to edit.
        Returns:
        ViewWikiPage instance, to allow chaining of actions.
      • saveText

        public ViewWikiPage saveText​(java.lang.String text,
                                     java.lang.String preview)
        Edits the page with the given text. Ensures edition is complete by ensuring the preview pane shows the preview text.
        Parameters:
        text - text text to edit.
        preview - expected text to hsow up on the preview pane (i.e., page directives on edit pane shouldn't show up here).
        Returns:
        ViewWikiPage instance, to allow chaining of actions.