public abstract class BambooWebDriverTest extends Object
This class follows the JUnit4 rule pattern. If you feel there is a need for common functionality, please try not to pollute this class with random utility methods. Use the page objects framework in combination with rules instead. Check out the existing rules for examples.
Modifier and Type | Field and Description |
---|---|
protected BackdoorRule |
backdoor |
protected org.openqa.selenium.WebDriver |
driver |
protected ResettableExpectedExceptionRule |
expectedExceptionRule |
protected static BambooTestedProduct |
product |
org.junit.rules.TestRule |
ruleChain
Do not change the order of rules unless there is a good reason for it.
|
protected static BambooEnvironmentData |
testEnvironmentData |
Constructor and Description |
---|
BambooWebDriverTest() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
protected void |
click(com.atlassian.pageobjects.elements.PageElement pageElement) |
protected String |
getText(String key,
Object... arguments)
Get i18n text from Bamboo language properties.
|
protected abstract void |
onAfter() |
protected static final BambooTestedProduct product
protected static final BambooEnvironmentData testEnvironmentData
protected final ResettableExpectedExceptionRule expectedExceptionRule
protected final BackdoorRule backdoor
@Inject protected org.openqa.selenium.WebDriver driver
public final org.junit.rules.TestRule ruleChain
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.