Class WizardLogin

All Implemented Interfaces:
CapybaraPortingLayer

public class WizardLogin extends PageObject
Page object for Wizard Login page.
  • Constructor Details

    • WizardLogin

      public WizardLogin(Jenkins jenkins)
  • Method Details

    • doLogin

      public WizardLogin doLogin(String password)
      Login assuming "path" form element availability.
      Paths are usually available when using the default Jenkins controller.
      (Available thanks to pre-installed form-element-path plugin.)
    • doLoginDespiteNoPaths

      public WizardLogin doLoginDespiteNoPaths(String password)
      Login assuming "path" form element unavailability.
      Paths are usually unavailable when using the "existing" Jenkins controller.
      (Unavailable despite pre-installed form-element-path plugin.)
    • doSuccessfulLogin

      public WizardLogin doSuccessfulLogin(String password)
    • getPassword

      public String getPassword(JenkinsController controller) throws IOException
      Gets the generated password from the file on disk
      Returns:
      the read password
      Throws:
      IOException - if there is an IO error