Class CreateProjectPage

java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.project.CreateProjectPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class CreateProjectPage extends AbstractBambooPage
  • Constructor Details

    • CreateProjectPage

      public CreateProjectPage()
  • Method Details

    • getUrl

      public String getUrl()
    • indicator

      public com.atlassian.pageobjects.elements.PageElement indicator()
      Description copied from class: AbstractBambooPage
      This must return an element whose presence indicates that we're on given page.
      Specified by:
      indicator in class AbstractBambooPage
      Returns:
      element uniquely identifying given page
    • createProject

      public CreateProjectPage createProject(String name, String key, String desc)
    • createProject

      public CreateProjectPage createProject(String name, String key, String desc, boolean publicAccess)
    • waitForValidationErrors

      public CreateProjectPage waitForValidationErrors()
      Waits until validation errors are displayed. Throws AssertionError if project is successfully created.
      Returns:
      this
    • getValidationErrors

      public List<String> getValidationErrors()