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 class
ViewEphemeralAgentsPodsPage.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 void
clickPodShutDownLink(String buildId)
com.atlassian.pageobjects.elements.PageElement
getAgentDetailsLink(String buildId)
com.atlassian.pageobjects.elements.PageElement
getAgentStatusTd(String buildId)
org.openqa.selenium.By
getLocator(ViewEphemeralAgentsPodsPage.TableElement element, String buildId)
List<String>
getLogs()
com.atlassian.pageobjects.elements.PageElement
getPodLink(String buildId)
com.atlassian.pageobjects.elements.PageElement
getPodRow(String buildId)
com.atlassian.pageobjects.elements.PageElement
getTableElementForBuild(ViewEphemeralAgentsPodsPage.TableElement element, String buildId)
com.atlassian.pageobjects.elements.PageElement
getTemplateLink(String buildId)
String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.void
verifyPodVisibilityOnThePage(String buildId, boolean shouldBeVisible)
void
waitForTheAgent(String buildId)
void
waitForTheAgentBuilding(String buildId)
void
waitUntilMessageInLogs(String message)
void
waitUntilPodStatusIs(String buildId, PodPhase podPhase)
void
waitUntilPodStatusIs(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: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()
-
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)
-
-