Class 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
      FlashHomePage()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Boolean containsXWikiMessage​(String message)
      Check if the page contains xwiki message
      String getInfoMessage()
      Get info message
      org.xwiki.test.ui.po.LiveTableElement getLiveTable()
      Get livetable
      static String getPage()
      Get page
      static String getSpace()
      Get space
      String getTitle()
      Get title
      static FlashHomePage gotoPage()
      Go to page
      static FlashHomePage 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, 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, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
      • Methods inherited from class org.xwiki.test.ui.po.BaseElement

        getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
    • Constructor Detail

      • FlashHomePage

        public FlashHomePage()
    • Method Detail

      • 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