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

public class EditScreenTab extends Object
  • Field Details

    • driver

      @Inject protected org.openqa.selenium.WebDriver 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
    • tab

      protected com.atlassian.pageobjects.elements.PageElement tab
    • table

      protected com.atlassian.pageobjects.elements.PageElement table
    • addButton

      protected com.atlassian.pageobjects.elements.PageElement addButton
    • deleteButton

      protected com.atlassian.pageobjects.elements.PageElement deleteButton
  • Constructor Details

    • EditScreenTab

      public EditScreenTab(long tabId)
  • Method Details

    • initialize

      public void initialize()
    • isPopulated

      public void isPopulated()
    • getFieldCount

      public int getFieldCount()
    • getName

      public String getName()
    • getFields

      @Deprecated public 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.
      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

      public 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()
    • getAllSystemFields

      public Iterable<com.atlassian.pageobjects.elements.PageElement> getAllSystemFields()
    • moveFieldBelow

      public void moveFieldBelow(String field, String target)
    • moveFieldAbove

      public void moveFieldAbove(String field, String target)
    • getDeleteTabHandle

      public com.atlassian.pageobjects.elements.PageElement getDeleteTabHandle()
    • getShowWhenEmptyToggleForField

      public org.openqa.selenium.WebElement getShowWhenEmptyToggleForField(org.openqa.selenium.WebElement field)
    • clickOnShowWhenEmptyToggleForField

      public void clickOnShowWhenEmptyToggleForField(org.openqa.selenium.WebElement field)