public class EditScreenTab extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
addButton |
protected com.atlassian.pageobjects.elements.PageElement |
deleteButton |
protected DragAndDrop |
dragAndDrop |
protected com.atlassian.webdriver.AtlassianWebDriver |
driver |
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
protected ExtendedElementFinder |
extendedFinder |
protected SingleSelect |
fieldPicker |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
tab |
protected long |
tabId |
protected com.atlassian.pageobjects.elements.PageElement |
table |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
protected TraceContext |
traceContext |
Constructor and Description |
---|
EditScreenTab(long tabId) |
Modifier and Type | Method and Description |
---|---|
EditScreenTab |
addField(String field) |
protected com.atlassian.pageobjects.elements.PageElement |
findRow(String field)
Will only work if
hasField(String) evaluates to true . |
com.atlassian.pageobjects.elements.PageElement |
getDeleteTabHandle() |
int |
getFieldCount() |
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> |
getFieldNames() |
List<String> |
getFields()
Deprecated.
use
getFieldNames()
This method used to be prone to return wrong results due to race conditions. It was adjusted to fallback to
getFieldNames() at .now() moment.
Using getFieldNames() } directly will enforce clients to execute timed assertions and improve
reliability of the tests. |
SingleSelect |
getFieldsPicker() |
String |
getName() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasField(String field) |
void |
initialize() |
void |
isPopulated() |
void |
moveFieldAbove(String field,
String target) |
void |
moveFieldBelow(String field,
String target) |
EditScreenTab |
removeField(String field) |
void |
removeTab() |
void |
rename(String name) |
String |
renameExpectingError(String name) |
@Inject protected com.atlassian.webdriver.AtlassianWebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
@Inject protected ExtendedElementFinder extendedFinder
@Inject protected TraceContext traceContext
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
@Inject protected DragAndDrop dragAndDrop
protected final long tabId
protected SingleSelect fieldPicker
protected com.atlassian.pageobjects.elements.PageElement tab
protected com.atlassian.pageobjects.elements.PageElement table
protected com.atlassian.pageobjects.elements.PageElement addButton
protected com.atlassian.pageobjects.elements.PageElement deleteButton
public void initialize()
public void isPopulated()
public int getFieldCount()
public String getName()
@Deprecated public List<String> getFields()
getFieldNames()
This method used to be prone to return wrong results due to race conditions. It was adjusted to fallback to
getFieldNames()
at .now() moment.
Using getFieldNames()
} directly will enforce clients to execute timed assertions and improve
reliability of the tests.public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> getFieldNames()
public SingleSelect getFieldsPicker()
public com.atlassian.pageobjects.elements.query.TimedCondition hasField(String field)
protected com.atlassian.pageobjects.elements.PageElement findRow(String field)
hasField(String)
evaluates to true
.field
- field to find the row forpublic void rename(String name)
public EditScreenTab removeField(String field)
public EditScreenTab addField(String field)
public void removeTab()
public com.atlassian.pageobjects.elements.PageElement getDeleteTabHandle()
Copyright © 2002-2019 Atlassian. All Rights Reserved.