java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.admin.ratelimiting.ExemptionTable
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class ExemptionTable extends AbstractJiraPage
Page object representing the Exemption tab in Rate Limiting settings
  • Constructor Details

    • ExemptionTable

      public ExemptionTable()
  • Method Details

    • getUrl

      public String getUrl()
    • isAt

      public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
      Description copied from class: AbstractJiraPage
      Timed condition checking if we're at given page.
      Specified by:
      isAt in class AbstractJiraPage
      Returns:
      timed condition checking, if the test is at given page
    • openExemptionModal

      public ExemptionModal openExemptionModal()
      Opens the exemption modal to add a new exemption
      Returns:
      the exemption modal
    • createExemptionFor

      public void createExemptionFor(String user)
      Creates an exemption for the specified user
      Parameters:
      user - the user to exempt
    • removeExemptionFor

      public void removeExemptionFor(String user)
      Removes an exemption for the specified user
      Parameters:
      user - the user to remove exemption for
    • isEmpty

      public boolean isEmpty()
      Checks if the exemption table is empty
      Returns:
      true if the table is empty
    • containsExemptionFor

      public boolean containsExemptionFor(String user)
      Checks if the table contains an exemption for the specified user
      Parameters:
      user - the user to check for
      Returns:
      true if the table contains an exemption for the user
    • getNumberOfExemptions

      public int getNumberOfExemptions()
      Gets the number of exemptions in the table
      Returns:
      the number of exemptions
    • await

      protected org.openqa.selenium.support.ui.WebDriverWait await()