Class ViewEphemeralAgentsPodsPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.agent.ViewEphemeralAgentsPodsPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class ViewEphemeralAgentsPodsPage extends AbstractBambooAdminPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classViewEphemeralAgentsPodsPage.TableElement
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description ViewEphemeralAgentsPodsPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickPodShutDownLink(String buildId)com.atlassian.pageobjects.elements.PageElementgetAgentDetailsLink(String buildId)com.atlassian.pageobjects.elements.PageElementgetAgentStatusTd(String buildId)org.openqa.selenium.BygetLocator(ViewEphemeralAgentsPodsPage.TableElement element, String buildId)List<String>getLogs()com.atlassian.pageobjects.elements.PageElementgetPodLink(String buildId)com.atlassian.pageobjects.elements.PageElementgetPodRow(String buildId)com.atlassian.pageobjects.elements.PageElementgetTableElementForBuild(ViewEphemeralAgentsPodsPage.TableElement element, String buildId)com.atlassian.pageobjects.elements.PageElementgetTemplateLink(String buildId)StringgetUrl()com.atlassian.pageobjects.elements.PageElementindicator()This must return an element whose presence indicates that we're on given page.voidverifyPodVisibilityOnThePage(String buildId, boolean shouldBeVisible)voidwaitForTheAgent(String buildId)voidwaitForTheAgentBuilding(String buildId)voidwaitUntilMessageInLogs(String message)voidwaitUntilPodStatusIs(String buildId, PodPhase podPhase)voidwaitUntilPodStatusIs(String buildId, PodPhase podPhase, com.atlassian.pageobjects.elements.timeout.Timeouts timeouts)-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPageThis must return an element whose presence indicates that we're on given page.- Specified by:
indicatorin classAbstractBambooPage- Returns:
- element uniquely identifying given page
-
getUrl
public String getUrl()
-
getTableElementForBuild
public com.atlassian.pageobjects.elements.PageElement getTableElementForBuild(ViewEphemeralAgentsPodsPage.TableElement element, String buildId)
-
getLocator
public org.openqa.selenium.By getLocator(ViewEphemeralAgentsPodsPage.TableElement element, String buildId)
-
getPodLink
public com.atlassian.pageobjects.elements.PageElement getPodLink(String buildId)
-
getPodRow
public com.atlassian.pageobjects.elements.PageElement getPodRow(String buildId)
-
getAgentDetailsLink
public com.atlassian.pageobjects.elements.PageElement getAgentDetailsLink(String buildId)
-
getTemplateLink
public com.atlassian.pageobjects.elements.PageElement getTemplateLink(String buildId)
-
getAgentStatusTd
public com.atlassian.pageobjects.elements.PageElement getAgentStatusTd(String buildId)
-
waitUntilMessageInLogs
public void waitUntilMessageInLogs(String message)
-
verifyPodVisibilityOnThePage
public void verifyPodVisibilityOnThePage(String buildId, boolean shouldBeVisible)
-
waitUntilPodStatusIs
public void waitUntilPodStatusIs(String buildId, PodPhase podPhase, com.atlassian.pageobjects.elements.timeout.Timeouts timeouts)
-
waitForTheAgent
public void waitForTheAgent(String buildId)
-
waitForTheAgentBuilding
public void waitForTheAgentBuilding(String buildId)
-
clickPodShutDownLink
public void clickPodShutDownLink(String buildId)
-
-