public class

EditScreenTab

extends Object
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.pages.admin.screen.EditScreenTab

Summary

Fields
protected PageElement deleteTab
protected DragAndDrop dragAndDrop
protected AtlassianWebDriver driver
protected PageElementFinder elementFinder
protected ExtendedElementFinder extendedFinder
protected SingleSelect fieldPicker
protected PageBinder pageBinder
protected PageElement tab
protected final long tabId
protected PageElement table
protected Timeouts timeouts
protected TraceContext traceContext
Public Constructors
EditScreenTab(long tabId)
Public Methods
EditScreenTab addField(String field)
int getFieldCount()
TimedQuery<Iterable<String>> getFieldNames()
@Deprecated List<String> getFields()
This method is 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
SingleSelect getFieldsPicker()
String getName()
TimedCondition hasField(String field)
void isAt()
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)
Protected Methods
PageElement findRow(String field)
Will only work if hasField(String) evaluates to true.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected PageElement deleteTab

protected DragAndDrop dragAndDrop

protected AtlassianWebDriver driver

protected PageElementFinder elementFinder

protected ExtendedElementFinder extendedFinder

protected SingleSelect fieldPicker

protected PageBinder pageBinder

protected PageElement tab

protected final long tabId

protected PageElement table

protected Timeouts timeouts

protected TraceContext traceContext

Public Constructors

public EditScreenTab (long tabId)

Public Methods

public EditScreenTab addField (String field)

public int getFieldCount ()

public TimedQuery<Iterable<String>> getFieldNames ()

@Deprecated public List<String> getFields ()

This method is 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

public SingleSelect getFieldsPicker ()

public String getName ()

public TimedCondition hasField (String field)

public void isAt ()

public void moveFieldAbove (String field, String target)

public void moveFieldBelow (String field, String target)

public EditScreenTab removeField (String field)

public void removeTab ()

public void rename (String name)

public String renameExpectingError (String name)

Protected Methods

protected 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