public class JobResultViewLogs extends AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
Constructor and Description |
---|
JobResultViewLogs(PlanResultKey planResultKey) |
JobResultViewLogs(TestJobDetails job,
int buildNumber) |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<String> |
buildMessageIs(String logMessage) |
void |
ensureIndicatorPresent()
Checks for presence of
AbstractBambooPage.indicator() by default. |
Iterable<String> |
getLog() |
String |
getUrl() |
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
static org.hamcrest.Matcher<String> |
messageContains(String logMessage,
String logClassifier) |
static org.hamcrest.Matcher<String> |
messageEndsWith(String logMessage,
String logClassifier) |
static org.hamcrest.Matcher<String> |
messageIs(String logMessage,
String logClassifier) |
static org.hamcrest.Matcher<String> |
messageStartsWith(String logMessage,
String logClassifier) |
click, doWait, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
public JobResultViewLogs(TestJobDetails job, int buildNumber)
public JobResultViewLogs(PlanResultKey planResultKey)
public com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPage
indicator
in class AbstractBambooPage
public void ensureIndicatorPresent()
AbstractBambooPage
Checks for presence of AbstractBambooPage.indicator()
by default.
If different wait functionality is required, just override this method.
ensureIndicatorPresent
in class AbstractBambooPage
public String getUrl()
public static org.hamcrest.Matcher<String> messageStartsWith(@NotNull String logMessage, @NotNull String logClassifier)
public static org.hamcrest.Matcher<String> messageEndsWith(@NotNull String logMessage, @NotNull String logClassifier)
public static org.hamcrest.Matcher<String> messageContains(@NotNull String logMessage, @NotNull String logClassifier)
public static org.hamcrest.Matcher<String> messageIs(@NotNull String logMessage, @NotNull String logClassifier)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.