Class FlashHomePage

java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.ViewPage
org.xwiki.flashmessages.test.po.FlashHomePage

public class FlashHomePage extends org.xwiki.test.ui.po.ViewPage
Represents actions that can be done on the Flash.WebHome page.
Since:
1.1.2
Version:
$Id$
  • Field Summary

    Fields inherited from class org.xwiki.test.ui.po.BasePage

    logo
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Check if the page contains xwiki message
    Get info message
    org.xwiki.test.ui.po.LiveTableElement
    Get livetable
    static String
    Get page
    static String
    Get space
    Get title
    Go to page
    gotoPage(String language)
    Go to page

    Methods inherited from class org.xwiki.test.ui.po.ViewPage

    clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getLastModifiedText, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutForDocExtraPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent

    Methods inherited from class org.xwiki.test.ui.po.BasePage

    canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getDrawerMenu, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, isAuthenticated, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, toggleActionMenu, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, validateWCAG, validateWCAG, validateWCAG, viewChildren, watchDocument, watchSpace, watchWiki

    Methods inherited from class org.xwiki.test.ui.po.BaseElement

    getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FlashHomePage

      public FlashHomePage()
  • Method Details

    • gotoPage

      public static FlashHomePage gotoPage()
      Go to page
      Returns:
      the view page of the requested entry
    • gotoPage

      public static FlashHomePage gotoPage(String language)
      Go to page
      Parameters:
      language - the language in which to display the page
      Returns:
      the view page of the requested entry
    • getSpace

      public static String getSpace()
      Get space
      Returns:
      the space of the Flash Messages application
    • getPage

      public static String getPage()
      Get page
      Returns:
      the WebHome of the Flash Messages application
    • getTitle

      public String getTitle()
      Get title
      Returns:
      the page's title
    • getInfoMessage

      public String getInfoMessage()
      Get info message
      Returns:
      the message at the top of the page
    • getLiveTable

      public org.xwiki.test.ui.po.LiveTableElement getLiveTable()
      Get livetable
      Returns:
      the livetable element
    • containsXWikiMessage

      public Boolean containsXWikiMessage(String message)
      Check if the page contains xwiki message
      Parameters:
      message - the message that should be contained within the page
      Returns:
      if the message is present in the page or not