Class ShareDialog
java.lang.Object
com.atlassian.jira.plugin.issuenav.pageobjects.ShareDialog
Represents the the sharing inline dialog on the view issue and issue navigator pages
- Since:
- v6.0.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.atlassian.pageobjects.PageBinderprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementFinderprotected MultiSelectprotected TraceContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRecipient(String recipient) org.openqa.selenium.PointgetNote()com.atlassian.pageobjects.elements.query.TimedQuery<String> getShareRequestData(Tracer tracer) com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> booleanisOpen()com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> booleanopen()voidrefineShareTarget(String targetContext) It has now become a possibility to have multiple share button on a single page For example split view By default, the trigger context is empty, the first element matching to an id will be chosen This is to ensure that the correct element is being picked insteadremoveRecipient(String username) selectShareTarget(String target) submit()waitForSubmit(Tracer tracer)
-
Field Details
-
body
protected com.atlassian.pageobjects.elements.PageElement body -
binder
@Inject protected com.atlassian.pageobjects.PageBinder binder -
locator
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder locator -
traceContext
-
dialog
protected com.atlassian.pageobjects.elements.PageElement dialog
-
-
Constructor Details
-
ShareDialog
public ShareDialog()
-
-
Method Details
-
isOpen
public boolean isOpen() -
isOpenTimed
-
getLocation
public org.openqa.selenium.Point getLocation() -
getRecipients
-
getEmailRecipients
-
addRecipient
-
removeRecipient
-
addNote
-
submit
-
openViaKeyboardShortcut
-
open
-
hasDisabledOutgoingMailMessage
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasDisabledOutgoingMailMessage() -
hasSearchPermalink
-
getSearchPermalinkValue
-
waitForSubmit
-
getNote
-
closeBySelectingOutside
-
closeByCancelButton
-
isTriggerPresent
public boolean isTriggerPresent()
-