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

Incorrect tooltip `common.state.aborted` and `common.state.queued` displayed for Pipeline branches

    Details

    • Sprint:
      Blue Ocean - Candidates
    • Similar Issues:

      Description

      Summary:
      After creating a new Pipeline, while waiting for the branches to build, there are icons to the left of each branch. Hovering over them reveals incorrect tooltips like common.state.aborted and common.state.queued.

      Steps to recreate:
      1. Go through the Create flow, and create a Pipeline which points to a repo with multiple branches in it.

      2. If the Pipelines get held up, like they're waiting for an executor to become available, hover over the icons to their left. You'll see that there are tooltips which read common.state.aborted, or possibly also common.state.queued. I've seen both, depending on the particular branch being built.

      JIRA isn't allowing me to attach inline screenshots right now, so instead, I'll use attachments.

        Attachments

          Activity

          Hide
          kshultz Karl Shultz added a comment - - edited

          Testing notes:
          Existing automated UI tests could be modified to check the correctness of tooltip text while they're running. Poking around on a sample page which shows this issue, the affected element looks like:

          <div title="common.state.not_built"><svg class="svgResultStatus " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px" focusable="false"><title>not_built</title><g transform="translate(12 12) "><g class="progress-spinner not_built"><circle cx="0" cy="0" r="10.25" stroke-width="3.5"></circle><circle class="inner" cx="0" cy="0" r="3.4166666666666665"></circle></g></g></svg></div>
          

          It's the common.state.not_built which is the incorrect tool tip.

          Show
          kshultz Karl Shultz added a comment - - edited Testing notes: Existing automated UI tests could be modified to check the correctness of tooltip text while they're running. Poking around on a sample page which shows this issue, the affected element looks like: <div title= "common.state.not_built" > <svg class= "svgResultStatus " xmlns= "http://www.w3.org/2000/svg" viewBox= "0 0 24 24" width= "24px" height= "24px" focusable= "false" > <title> not_built </title> <g transform= "translate(12 12) " > <g class= "progress-spinner not_built" > <circle cx= "0" cy= "0" r= "10.25" stroke-width= "3.5" > </circle> <circle class= "inner" cx= "0" cy= "0" r= "3.4166666666666665" > </circle> </g> </g> </svg> </div> It's the common.state.not_built which is the incorrect tool tip.

            People

            • Assignee:
              Unassigned
              Reporter:
              kshultz Karl Shultz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: