public class JobResultViewLogs extends AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct| 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) |
doWait, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded, sendEnterKey, sendEscapeKeypublic JobResultViewLogs(TestJobDetails job, int buildNumber)
public JobResultViewLogs(PlanResultKey planResultKey)
public com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPageindicator in class AbstractBambooPagepublic void ensureIndicatorPresent()
AbstractBambooPage
Checks for presence of AbstractBambooPage.indicator() by default.
If different wait functionality is required, just override this method.
ensureIndicatorPresent in class AbstractBambooPagepublic 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 © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.