Class EditProjectPageTab

All Implemented Interfaces:
ProjectConfigPageTab, com.atlassian.pageobjects.Page

public class EditProjectPageTab extends AbstractProjectConfigPageTab implements ProjectConfigPageTab
Edit project page accessed in the project administration sidebar under Details
Since:
v6.3
  • Constructor Details

    • EditProjectPageTab

      public EditProjectPageTab(String projectId)
  • Method Details

    • initialize

      public void initialize()
    • await

      public void await()
    • 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
    • getUrl

      public String getUrl()
      Specified by:
      getUrl in interface com.atlassian.pageobjects.Page
    • setProjectName

      public EditProjectPageTab setProjectName(String newProjectName)
    • isProjectKeyVisible

      public com.atlassian.pageobjects.elements.query.TimedCondition isProjectKeyVisible()
    • setProjectKey

      public EditProjectPageTab setProjectKey(String newProjectKey)
    • isProjectTypeDisabled

      public boolean isProjectTypeDisabled()
    • isProjectCategoryDisabled

      public boolean isProjectCategoryDisabled()
    • getProjectType

      public String getProjectType()
    • getProjectTypeSuggestions

      public Iterable<String> getProjectTypeSuggestions()
    • setProjectType

      public EditProjectPageTab setProjectType(String value)
    • setProjectCategory

      public EditProjectPageTab setProjectCategory(String value)
    • getProjectCategory

      public String getProjectCategory()
    • setProjectOrderBy

      public EditProjectPageTab setProjectOrderBy(String value)
    • getProjectOrderBy

      public String getProjectOrderBy()
    • getEditProjectKey

      public com.atlassian.pageobjects.elements.query.TimedQuery<String> getEditProjectKey()
    • getProjectName

      public com.atlassian.pageobjects.elements.query.TimedQuery<String> getProjectName()
    • getProjectDescription

      public com.atlassian.pageobjects.elements.query.TimedQuery<String> getProjectDescription()
    • setProjectUrl

      public EditProjectPageTab setProjectUrl(String url)
    • getProjectUrl

      public com.atlassian.pageobjects.elements.query.TimedQuery<String> getProjectUrl()
    • setAvatar

      public EditProjectPageTab setAvatar(String id)
      Select an avatar from the avatar picker, based on its database ID.
      Returns:
      the edit project dialog
    • chooseAvatarOption

      public EditProjectPageTab chooseAvatarOption(String number)
      Select an avatar from the avatar picker, based on its position in the list of available avatars.
      Parameters:
      number - from 1 to N, where N is the (expected?) number of options. There are ~16 system avatars.
      Returns:
      the edit project dialog
    • setDescription

      public EditProjectPageTab setDescription(String description)
    • submit

      public void submit()
    • cancel

      public void cancel()
    • getErrorMessage

      public String getErrorMessage()
    • getFormErrors

      public Map<String,String> getFormErrors()
    • isErrorMessagePresent

      public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isErrorMessagePresent()
    • isProjectKeyDisabled

      public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isProjectKeyDisabled()
    • isWarningDisplayed

      public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isWarningDisplayed()
    • isReindexLinkVisible

      public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isReindexLinkVisible()
    • getUrlForProject

      public static String getUrlForProject(String projectId)