Class FlashPopup

java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BaseModal
org.xwiki.test.ui.po.ConfirmationModal
org.xwiki.flashmessages.test.po.FlashPopup

public class FlashPopup extends org.xwiki.test.ui.po.ConfirmationModal
Represents a Flash Messages pop-up.
Since:
1.1.2
Version:
$Id$
  • Field Summary

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

    container
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    containsMessage(String date, String message)
    Contains message
    static boolean
     
    protected org.xwiki.test.ui.po.BaseModal
     

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

    clickCancel, clickOk, getMessage

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

    close, getTitle, isDisplayed

    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

    • FlashPopup

      public FlashPopup()
  • Method Details

    • isPresent

      public static boolean isPresent()
    • containsMessage

      public boolean containsMessage(String date, String message)
      Contains message
      Parameters:
      date - the date of the flash entry
      message - the message of the flash entry
      Returns:
      if the described message is present in the pop-up or not
    • waitForClosed

      protected org.xwiki.test.ui.po.BaseModal waitForClosed()
      Overrides:
      waitForClosed in class org.xwiki.test.ui.po.BaseModal