com.atlassian.jira.webtest.framework.impl.selenium.dialog.issueaction
Class SeleniumLinkIssueDialog

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<T>
                      extended by com.atlassian.jira.webtest.framework.impl.selenium.dialog.issueaction.AbstractIssueActionDialog<LinkIssueDialog>
                          extended by com.atlassian.jira.webtest.framework.impl.selenium.dialog.issueaction.SeleniumLinkIssueDialog
All Implemented Interfaces:
Cancelable<IssueActionsParent>, Localizable, Openable<LinkIssueDialog>, PageObject, Submittable<IssueActionsParent>, Dialog<LinkIssueDialog>, IssueActionDialog<LinkIssueDialog>, LinkIssueDialog, SubmittableDialog<LinkIssueDialog,IssueActionsParent>, Form, LinkIssueForm, IssueAware

public class SeleniumLinkIssueDialog
extends AbstractIssueActionDialog<LinkIssueDialog>
implements LinkIssueDialog

Selenium implementation of LinkIssueDialog.

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.dialog.issueaction.AbstractIssueActionDialog
opener, parent
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
SeleniumLinkIssueDialog(IssueActionsParent parent, IssueActionDialogOpener opener, SeleniumContext context)
           
 
Method Summary
 IssueOperation action()
          Associated issue action.
 IssueActionsParent cancel()
          Cancel and get the target page object of the cancel operation.
 CommentInput comment()
          Comment input of this form
 IssuePicker issuePicker()
          Issue picker of this Link Issue form.
 Select linkTypeSelect()
          Select of the link type
 IssueActionsParent submit()
           Submit this page object.
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.dialog.issueaction.AbstractIssueActionDialog
isOpenableInContext, issueData, open
 
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.model.IssueAware
issueData
 
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

SeleniumLinkIssueDialog

public SeleniumLinkIssueDialog(IssueActionsParent parent,
                               IssueActionDialogOpener opener,
                               SeleniumContext context)
Method Detail

action

public IssueOperation action()
Description copied from interface: IssueActionDialog
Associated issue action.

Specified by:
action in interface IssueActionDialog<LinkIssueDialog>
Returns:
issue action

linkTypeSelect

public Select linkTypeSelect()
Description copied from interface: LinkIssueForm
Select of the link type

Specified by:
linkTypeSelect in interface LinkIssueForm
Returns:
HTML select to select the link type.

issuePicker

public IssuePicker issuePicker()
Description copied from interface: LinkIssueForm
Issue picker of this Link Issue form.

Specified by:
issuePicker in interface LinkIssueForm
Returns:
issue picker of this form

comment

public CommentInput comment()
Description copied from interface: LinkIssueForm
Comment input of this form

Specified by:
comment in interface LinkIssueForm
Returns:
comment input

submit

public IssueActionsParent submit()
Description copied from interface: Submittable

Submit this page object.

NOTE: as with most of the actions in the framework, this Submittable instance is only responsible for validating any pre-conditions that may exist for the submit operation (usually there are none), but not the results of it. It is conceivable that clients will attempt to submit page objects that contain invalid form data and, as a result, the submit operation will not result in navigating to the target object. It is up to the clients to validate if they assumptions as to the result of the operation were valid, which may be done by querying appropriate objects participating in the interaction, e.g. calling PageObject.isReady().

Specified by:
submit in interface Submittable<IssueActionsParent>
Returns:
target page object of this submit operation.
See Also:

cancel

public IssueActionsParent cancel()
Description copied from interface: Cancelable
Cancel and get the target page object of the cancel operation.

Specified by:
cancel in interface Cancelable<IssueActionsParent>
Returns:
target page object of this cancel operation


Copyright © 2002-2013 Atlassian. All Rights Reserved.