Package org.xwiki.flashmessages.test.po
Class FlashEntryViewPage
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.FlashPage
org.xwiki.flashmessages.test.po.FlashEntryViewPage
Represents a Flash Messages entry page being viewed.
- Since:
- 1.1.2
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.openqa.selenium.WebElementprotected org.openqa.selenium.WebElementprotected org.openqa.selenium.WebElementprotected org.openqa.selenium.WebElementprotected org.openqa.selenium.WebElementFields inherited from class org.xwiki.flashmessages.test.po.FlashPage
dateBeginLabelElement, dateEndLabelElement, groupsLabelElement, messageLabelElement, repeatLabelElement, titleElementFields inherited from class org.xwiki.test.ui.po.BasePage
logo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet start dateGet end dateGet messagegetPopup()Get pop-upGet sliderstatic FlashEntryViewPageGo to pagestatic FlashEntryViewPageGo to pagehasPopup()Has pop-upHas sliderreload()Reload the current pageMethods inherited from class org.xwiki.flashmessages.test.po.FlashPage
containsXWikiMessage, elementExists, getDateBeginLabel, getDateEndLabel, getGroupsLabel, getMessageLabel, getRepeatLabel, getTitleMethods 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
-
Field Details
-
dateBeginElement
protected org.openqa.selenium.WebElement dateBeginElement -
dateEndElement
protected org.openqa.selenium.WebElement dateEndElement -
repeatElement
protected org.openqa.selenium.WebElement repeatElement -
groupsElement
protected org.openqa.selenium.WebElement groupsElement -
messageElement
protected org.openqa.selenium.WebElement messageElement
-
-
Constructor Details
-
FlashEntryViewPage
public FlashEntryViewPage()
-
-
Method Details
-
gotoPage
Go to page- Parameters:
page- the page name of the flash entry page- Returns:
- the view page of the requested entry
-
gotoPage
Go to page- Parameters:
page- the page name of the flash entry pagelanguage- the language in which to display the page- Returns:
- the view page of the requested entry
-
reload
Reload the current page- Returns:
- view page of the current entry
-
hasSlider
Has slider- Returns:
- if the slider is present on the current page or not
-
getSlider
Get slider- Returns:
- the FlashSlider element
-
hasPopup
Has pop-up- Returns:
- if the pop-up message is present on the current page
-
getPopup
Get pop-up- Returns:
- the FlashPopup element
-
getDateBegin
Get start date- Returns:
- the string representation on the start date
-
getDateEnd
Get end date- Returns:
- the string representation of the end date
-
getMessage
Get message- Returns:
- the entry's display message
-