com.atlassian.jira.webtest.framework.impl.selenium.dialog
Class AbstractSeleniumAuiPageDialog<D extends PageDialog<D,P>,P extends Page>

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
      extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
          extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
              extended by com.atlassian.jira.webtest.framework.impl.selenium.dialog.AbstractSeleniumDialog<T>
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.dialog.AbstractSeleniumAuiDialog<D>
                      extended by com.atlassian.jira.webtest.framework.impl.selenium.dialog.AbstractSeleniumAuiPageDialog<D,P>
All Implemented Interfaces:
Localizable, Openable<D>, PageObject, Dialog<D>, PageDialog<D,P>
Direct Known Subclasses:
AddGadgetDialogImpl, SeleniumDeleteApplicationLink, SeleniumNewAppLinksWizard

public abstract class AbstractSeleniumAuiPageDialog<D extends PageDialog<D,P>,P extends Page>
extends AbstractSeleniumAuiDialog<D>
implements PageDialog<D,P>

Abstract Selenium implementation of PageDialog.

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
protected AbstractSeleniumAuiPageDialog(P page, SeleniumContext ctx, String dialogId)
           
 
Method Summary
protected  TimedCondition isOpenableInContext()
          Timed condition checking if this dialog is openable in the current test context
 P page()
          Page of this dialog (i.e.
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.dialog.AbstractSeleniumAuiDialog
cancelLinkLocator, getOpenDialogClass, openDialogLocator
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.dialog.AbstractSeleniumDialog
detector, isClosed, isOpen, isOpenable, locator
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
isReady
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Openable
isClosed, isOpen, isOpenable, open
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable
locator
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

AbstractSeleniumAuiPageDialog

protected AbstractSeleniumAuiPageDialog(P page,
                                        SeleniumContext ctx,
                                        String dialogId)
Method Detail

page

public P page()
Description copied from interface: PageDialog
Page of this dialog (i.e. page that this dialog was opened from)

Specified by:
page in interface PageDialog<D extends PageDialog<D,P>,P extends Page>
Returns:
page instance

isOpenableInContext

protected TimedCondition isOpenableInContext()
Timed condition checking if this dialog is openable in the current test context

Specified by:
isOpenableInContext in class AbstractSeleniumDialog<D extends PageDialog<D,P>>
Returns:
timed condition 'is openable in the current context?'


Copyright © 2002-2013 Atlassian. All Rights Reserved.