Class JobResultViewLogs
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.plan.result.JobResultViewLogs
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
Constructor Summary
ConstructorDescriptionJobResultViewLogs
(PlanResultKey planResultKey) JobResultViewLogs
(TestJobDetails job, int buildNumber) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<String>
buildMessageIs
(@NotNull String logMessage) void
Checks for presence ofAbstractBambooPage.indicator()
by default.getLog()
getUrl()
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.static org.hamcrest.Matcher<String>
messageContains
(@NotNull String logMessage, @NotNull String logClassifier) static org.hamcrest.Matcher<String>
messageEndsWith
(@NotNull String logMessage, @NotNull String logClassifier) static org.hamcrest.Matcher<String>
static org.hamcrest.Matcher<String>
messageStartsWith
(@NotNull String logMessage, @NotNull String logClassifier) Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
Constructor Details
-
JobResultViewLogs
-
JobResultViewLogs
-
-
Method Details
-
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
-
ensureIndicatorPresent
public void ensureIndicatorPresent()Description copied from class:AbstractBambooPage
Checks for presence of
AbstractBambooPage.indicator()
by default.If different wait functionality is required, just override this method.
- Overrides:
ensureIndicatorPresent
in classAbstractBambooPage
-
getUrl
-
getLog
-
messageStartsWith
-
messageEndsWith
-
messageContains
-
messageIs
-
buildMessageIs
-