Class PlanViewAgentsPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.agent.PlanViewAgentsPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class PlanViewAgentsPage extends AbstractBambooPage
-
-
Field Summary
Fields Modifier and Type Field Description com.atlassian.pageobjects.elements.PageElement
ephemeralTemplatesSection
com.atlassian.pageobjects.elements.PageElement
ephemeralTemplatesTable
com.atlassian.pageobjects.elements.PageElement
errorBox
com.atlassian.pageobjects.elements.PageElement
offlineRemoteAgentConfigurationForm
protected String
planOrEnvironmentKey
com.atlassian.pageobjects.elements.PageElement
planOrEnvironmentName
static String
VIEW_AGENTS_PLAN_URL
static String
VIEW_AGENTS_URL_ARGUMENT
static String
VIEW_AGENTS_URL_FORMAT
com.atlassian.pageobjects.elements.PageElement
viewAgentsPageIndicator
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description PlanViewAgentsPage(String planOrEnvironmentKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPlanOrEnvironmentName()
protected String
getPlanOrEnvironmentURLArgument()
List<String>
getTemplateNames()
String
getUrl()
boolean
hasAnyErrors()
boolean
hasEphemeralTemplatesSection()
boolean
hasOfflineAgent()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Field Detail
-
VIEW_AGENTS_URL_ARGUMENT
public static final String VIEW_AGENTS_URL_ARGUMENT
- See Also:
- Constant Field Values
-
VIEW_AGENTS_PLAN_URL
public static final String VIEW_AGENTS_PLAN_URL
-
VIEW_AGENTS_URL_FORMAT
public static final String VIEW_AGENTS_URL_FORMAT
- See Also:
- Constant Field Values
-
planOrEnvironmentKey
protected final String planOrEnvironmentKey
-
viewAgentsPageIndicator
public com.atlassian.pageobjects.elements.PageElement viewAgentsPageIndicator
-
planOrEnvironmentName
public com.atlassian.pageobjects.elements.PageElement planOrEnvironmentName
-
errorBox
public com.atlassian.pageobjects.elements.PageElement errorBox
-
offlineRemoteAgentConfigurationForm
public com.atlassian.pageobjects.elements.PageElement offlineRemoteAgentConfigurationForm
-
ephemeralTemplatesSection
public com.atlassian.pageobjects.elements.PageElement ephemeralTemplatesSection
-
ephemeralTemplatesTable
public com.atlassian.pageobjects.elements.PageElement ephemeralTemplatesTable
-
-
Constructor Detail
-
PlanViewAgentsPage
public PlanViewAgentsPage(String planOrEnvironmentKey)
-
-
Method Detail
-
getPlanOrEnvironmentURLArgument
protected String getPlanOrEnvironmentURLArgument()
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
getUrl
public String getUrl()
-
hasOfflineAgent
public boolean hasOfflineAgent()
-
hasEphemeralTemplatesSection
public boolean hasEphemeralTemplatesSection()
-
hasAnyErrors
public boolean hasAnyErrors()
-
getPlanOrEnvironmentName
public String getPlanOrEnvironmentName()
-
-