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

Tests failing with the new Login page introduced in 2.128

XMLWordPrintable

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

      Some ATH tests are failing because of the new Login page introduced in 2.128

      The error is the following:

      Unable to locate By.xpath: .//[name()='INPUT' or name()='input' or name()='textarea' or name()='TEXTAREA' or name()='select' or name()='SELECT'][./@id = 'password2' or ./@name = 'password2' or ./@value = 'password2' or ./@placeholder = 'password2' or ./@id = //label[contains(normalize-space(.), 'password2')]/@for]| .//label[contains(normalize-space(.), 'password2')]//[name()='INPUT' or name()='input' or name()='textarea' or name()='TEXTAREA' or name()='select' or name()='SELECT']| .//label[contains(normalize-space(.), 'password2')][@class='attach-previous']/preceding-sibling::*[name()='INPUT' or name()='input' or name()='textarea' or name()='TEXTAREA' or name()='select' or name()='SELECT'] in

      http://127.0.0.1:65163/signup

      For documentation on this error, please visit:

      http://seleniumhq.org/exceptions/no_such_element.html

      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: '56c0750e24eb', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-1018-azure', java.version: '1.8.0_171' Driver info: driver.version: unknown

      Example of tests failing: 

      https://ci.jenkins.io/job/Core/job/acceptance-test-harness/job/master/94/testReport/core/JenkinsDatabaseSecurityRealmTest/split2___Run_ATH___split2___login_and_logout/

      https://ci.jenkins.io/job/Core/job/acceptance-test-harness/job/master/94/testReport/core/JenkinsDatabaseSecurityRealmTest/split2___Run_ATH___split2___create_update_delete/

       

      The following method also has to be fixed as the invalid login information text has changed:

      org.jenkinsci.test.acceptance.Matchers#hasInvalidLoginInformation

       

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

              Created:
              Updated:
              Resolved: