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

JenkinsRule.submit should click YUI submit button

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      JenkinsRule.submit was calling HtmlFormUtil.submit for YUI submit <button> elements, which resulted in a submit on the form because <button> elements are implemented as Submittable in HtmlUnit.

      It should instead be doing a click on the YUI <button>.

          [JENKINS-31631] JenkinsRule.submit should click YUI submit button

          Tom FENNELLY created issue -
          Jesse Glick made changes -
          Description Original: {{JenkinsRule.submit}} was calling {{HtmlFormUtil.submit}} for YUI submit {{<button>}} elements, which resulted in a submit on the form because {{<button>}} elements are implemented as {{Submittable}}s in HtmlUnit.

          It should instead be doing a {{click}} on the YUI {{<button>}}.
          New: {{JenkinsRule.submit}} was calling {{HtmlFormUtil.submit}} for YUI submit {{<button>}} elements, which resulted in a submit on the form because {{<button>}} elements are implemented as {{Submittable}} in HtmlUnit.

          It should instead be doing a {{click}} on the YUI {{<button>}}.
          Tom FENNELLY made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oliver Gondža made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 1.625.3-fixed
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167065 ] New: JNJira + In-Review [ 198110 ]

            tfennelly Tom FENNELLY
            tfennelly Tom FENNELLY
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: