Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52779

Login#doLogin is not working with the new Login page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • From Jenkins 2.128 (Introduction of the new Login page)
    • 1.62

      The new Login Page has kept the same name / id for form elements but elements do not contain path attributes, resulting in the following error.

       

      Unable to locate By.cssSelector: [path='/j_username']

      Example of build failing: https://ci.jenkins.io/job/Core/job/acceptance-test-harness/job/master/92/testReport/plugins/LdapPluginTest/split9___Run_ATH___split9___login_ok_anonymous_binding/

       

      By using name or id selectors, we can ensure compatibility for both old and new login pages.

            rverduci Romain Verduci
            rverduci Romain Verduci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: