com.atlassian.jira.webtest.framework.impl.selenium.page.admin.applinks
Class SeleniumApplicationLink

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.page.admin.applinks.SeleniumApplicationLink
All Implemented Interfaces:
PageObject, ApplicationLink

public class SeleniumApplicationLink
extends AbstractLocatorBasedPageObject
implements ApplicationLink

Selenium-backed implementation of ApplicationLink.

Since:
v4.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.webtest.framework.page.admin.applinks.ApplicationLink
ApplicationLink.AuthType
 
Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
SeleniumApplicationLink(SeleniumLocator rowLocator, SeleniumContext ctx, AppLinksAdminPage adminPage)
           
 
Method Summary
 TimedQuery<String> baseURL()
          Returns the remote application base URL.
 boolean checkForConfiguredAuthenticationType(ApplicationLink.AuthType authType)
           
 DeleteApplicationLink clickDelete()
          Clicks the "Delete" link on the
protected  SeleniumLocator detector()
          Main locator of this page object.
 TimedCondition isNotPresent()
          Returns true if this link is not present on the page.
 TimedQuery<String> name()
          Returns the remote application name.
 
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.PageObject
context, isReady
 

Constructor Detail

SeleniumApplicationLink

public SeleniumApplicationLink(SeleniumLocator rowLocator,
                               SeleniumContext ctx,
                               AppLinksAdminPage adminPage)
Method Detail

name

public TimedQuery<String> name()
Description copied from interface: ApplicationLink
Returns the remote application name.

Specified by:
name in interface ApplicationLink
Returns:
a TimedQuery

isNotPresent

public TimedCondition isNotPresent()
Description copied from interface: ApplicationLink
Returns true if this link is not present on the page.

Specified by:
isNotPresent in interface ApplicationLink
Returns:
a TimeCondition indicating whether this link is present on the page

baseURL

public TimedQuery<String> baseURL()
Description copied from interface: ApplicationLink
Returns the remote application base URL.

Specified by:
baseURL in interface ApplicationLink
Returns:
a TimedQuery

checkForConfiguredAuthenticationType

public boolean checkForConfiguredAuthenticationType(ApplicationLink.AuthType authType)
Specified by:
checkForConfiguredAuthenticationType in interface ApplicationLink

clickDelete

public DeleteApplicationLink clickDelete()
Clicks the "Delete" link on the

Specified by:
clickDelete in interface ApplicationLink
Returns:
a DeleteApplicationLink

detector

protected SeleniumLocator detector()
Description copied from class: AbstractLocatorBasedPageObject
Main locator of this page object. Its presence means that this object is ready to be manipulated in the test.

Specified by:
detector in class AbstractLocatorBasedPageObject
Returns:
main locator of this page object


Copyright © 2002-2013 Atlassian. All Rights Reserved.