Class JiraDialog
java.lang.Object
com.atlassian.jira.pageobjects.dialogs.JiraDialog
- Direct Known Subclasses:
DeleteCommentConfirmationDialog
,DeleteComponentDialog
,DeleteLinkConfirmationDialog
,DeleteOperation
,DeletePrioritySchemePage
,FormDialog
,MergeDialog
,ProjectEmailDialog
,ReleaseVersionDialog
,ShareDialog
,ViewUsedByDialog
- Since:
- v6.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.atlassian.pageobjects.PageBinder
static final String
static final String
static final String
static final String
protected org.openqa.selenium.WebDriver
protected ExtendedElementFinder
static final String
protected String
protected org.openqa.selenium.JavascriptExecutor
protected com.atlassian.pageobjects.elements.PageElementFinder
protected TimedQueryFactory
protected com.atlassian.pageobjects.elements.timeout.Timeouts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.pageobjects.elements.PageElement
find
(org.openqa.selenium.By locator) <T extends com.atlassian.pageobjects.elements.PageElement>
TList<com.atlassian.pageobjects.elements.PageElement>
findAll
(org.openqa.selenium.By locator) <T extends com.atlassian.pageobjects.elements.PageElement>
List<T>protected com.atlassian.pageobjects.elements.PageElement
void
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>
isClosed()
Check that the JIRA Dialog has been closed.protected com.atlassian.pageobjects.elements.query.TimedCondition
isInDOM()
Check if the JIRA Dialog has been added to the DOM of the page.com.atlassian.pageobjects.elements.query.TimedCondition
isOpen()
Check if the dialog's content has been loaded and is being displayed to the user.void
-
Field Details
-
timeouts
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts -
locator
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder locator -
extendedFinder
-
queryFactory
-
driver
@Inject protected org.openqa.selenium.WebDriver driver -
javascriptExecutor
@Inject protected org.openqa.selenium.JavascriptExecutor javascriptExecutor -
binder
@Inject protected com.atlassian.pageobjects.PageBinder binder -
DIALOG_CLASS
- See Also:
-
HEADING_AREA_CLASS
- See Also:
-
CONTENT_AREA_CLASS
- See Also:
-
DIALOG_OPEN_CLASS
- See Also:
-
CONTENT_READY_CLASS
- See Also:
-
id
-
-
Constructor Details
-
JiraDialog
-
JiraDialog
public JiraDialog()
-
-
Method Details
-
initAbstractDialog
public void initAbstractDialog() -
isInDOM
protected com.atlassian.pageobjects.elements.query.TimedCondition isInDOM()Check if the JIRA Dialog has been added to the DOM of the page. -
isOpen
public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()Check if the dialog's content has been loaded and is being displayed to the user. -
isClosed
Check that the JIRA Dialog has been closed. -
getDialogElement
protected com.atlassian.pageobjects.elements.PageElement getDialogElement() -
waitUntilFinishedLoading
public void waitUntilFinishedLoading() -
find
public com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By locator) -
find
public <T extends com.atlassian.pageobjects.elements.PageElement> T find(org.openqa.selenium.By locator, Class<T> elementClass) -
findAll
-
findAll
-