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

public class FlashEntryViewPage extends FlashPage
Represents a Flash Messages entry page being viewed.
Since:
1.1.2
Version:
$Id$
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.openqa.selenium.WebElement
     
    protected org.openqa.selenium.WebElement
     
    protected org.openqa.selenium.WebElement
     
    protected org.openqa.selenium.WebElement
     
    protected org.openqa.selenium.WebElement
     

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

    logo
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get start date
    Get end date
    Get message
    Get pop-up
    Get slider
    Go to page
    gotoPage(String page, String language)
    Go to page
    Has pop-up
    Has slider
    Reload the current 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
  • 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

      public static FlashEntryViewPage gotoPage(String page)
      Go to page
      Parameters:
      page - the page name of the flash entry page
      Returns:
      the view page of the requested entry
    • gotoPage

      public static FlashEntryViewPage gotoPage(String page, String language)
      Go to page
      Parameters:
      page - the page name of the flash entry page
      language - the language in which to display the page
      Returns:
      the view page of the requested entry
    • reload

      public FlashEntryViewPage reload()
      Reload the current page
      Returns:
      view page of the current entry
    • hasSlider

      public Boolean hasSlider()
      Has slider
      Returns:
      if the slider is present on the current page or not
    • getSlider

      public FlashSlider getSlider()
      Get slider
      Returns:
      the FlashSlider element
    • hasPopup

      public Boolean hasPopup()
      Has pop-up
      Returns:
      if the pop-up message is present on the current page
    • getPopup

      public FlashPopup getPopup()
      Get pop-up
      Returns:
      the FlashPopup element
    • getDateBegin

      public String getDateBegin()
      Get start date
      Returns:
      the string representation on the start date
    • getDateEnd

      public String getDateEnd()
      Get end date
      Returns:
      the string representation of the end date
    • getMessage

      public String getMessage()
      Get message
      Returns:
      the entry's display message