Class AUIBlanket

java.lang.Object
com.atlassian.jira.webtest.webdriver.util.AUIBlanket

public class AUIBlanket extends Object
The AUI Blanket component that greys out the screen (when a dialog is open, for example).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.atlassian.pageobjects.elements.PageElementFinder
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Same function as waitUntilClosed(String timeoutMessage), except with no custom timeout message.
    void
    waitUntilClosed(String timeoutMessage)
    Wait until the AUI Blanket has completely faded out.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • locator

      @Inject protected com.atlassian.pageobjects.elements.PageElementFinder locator
  • Constructor Details

    • AUIBlanket

      public AUIBlanket()
  • Method Details

    • waitUntilClosed

      public void waitUntilClosed(String timeoutMessage)
      Wait until the AUI Blanket has completely faded out. This is useful for making sure no further page interaction takes place until the screen is clear. Otherwise, click events can get lost in a fading blanket.
      Parameters:
      timeoutMessage - The message to log when the AUI Blanket doesn't disappear before the timeout (usually because it never existed to begin with).
    • waitUntilClosed

      public void waitUntilClosed()
      Same function as waitUntilClosed(String timeoutMessage), except with no custom timeout message.