Package org.xwiki.flashmessages.test.po
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 -
Method Summary
Modifier and TypeMethodDescriptioncontainsXWikiMessage(String message) Check if the page contains xwiki messageGet info messageorg.xwiki.test.ui.po.LiveTableElementGet livetablestatic StringgetPage()Get pagestatic StringgetSpace()Get spacegetTitle()Get titlestatic FlashHomePagegotoPage()Go to pagestatic FlashHomePageGo to pageMethods 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, waitUntilContentMethods 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, watchWikiMethods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
Constructor Details
-
FlashHomePage
public FlashHomePage()
-
-
Method Details
-
gotoPage
Go to page- Returns:
- the view page of the requested entry
-
gotoPage
Go to page- Parameters:
language- the language in which to display the page- Returns:
- the view page of the requested entry
-
getSpace
Get space- Returns:
- the space of the Flash Messages application
-
getPage
Get page- Returns:
- the WebHome of the Flash Messages application
-
getTitle
Get title- Returns:
- the page's title
-
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
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
-