com.atlassian.jira.pageobjects.pages.admin.screen
Class EditScreenTab
java.lang.Object
com.atlassian.jira.pageobjects.pages.admin.screen.EditScreenTab
public class EditScreenTab
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
driver
@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
elementFinder
@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
extendedFinder
@Inject
protected ExtendedElementFinder extendedFinder
traceContext
@Inject
protected TraceContext traceContext
timeouts
@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
dragAndDrop
@Inject
protected DragAndDrop dragAndDrop
tabId
protected final long tabId
fieldPicker
protected SingleSelect fieldPicker
table
protected com.atlassian.pageobjects.elements.PageElement table
deleteTab
protected com.atlassian.pageobjects.elements.PageElement deleteTab
tab
protected com.atlassian.pageobjects.elements.PageElement tab
EditScreenTab
public EditScreenTab(long tabId)
isAt
public void isAt()
getFieldCount
public int getFieldCount()
getName
public String getName()
getFields
@Deprecated
public List<String> getFields()
- Deprecated. use
getFieldNames()
as this method is prone to return wrong results due to race
conditions. Using getFieldNames()
} will enforce clients to execute timed assertions and improve
reliability of the tests
- Returns:
- list of field names at any given moment
getFieldNames
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> getFieldNames()
getFieldsPicker
public SingleSelect getFieldsPicker()
hasField
public com.atlassian.pageobjects.elements.query.TimedCondition hasField(String field)
findRow
protected com.atlassian.pageobjects.elements.PageElement findRow(String field)
- Will only work if
hasField(String)
evaluates to true
.
- Parameters:
field
- field to find the row for
- Returns:
- page element representing the row
rename
public void rename(String name)
renameExpectingError
public String renameExpectingError(String name)
removeField
public EditScreenTab removeField(String field)
addField
public EditScreenTab addField(String field)
removeTab
public void removeTab()
moveFieldBelow
public void moveFieldBelow(String field,
String target)
Copyright © 2002-2013 Atlassian. All Rights Reserved.