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

Editor steps need data tags, or similar, to allow for easier targeting from ATH

XMLWordPrintable

      Summary
      Steps in the sheet shown for a particular pipeline stage can be changed, reordered by dragging, or even deleted. In order to write automated tests for this, we should have selectors available which more easily distinguish one step from another.

      Details
      As of today, there are no editor ATH tests for:

      • Deleting steps within a stage
      • Modifying an existing step
      • Dragging steps to reorder them
        When investigating how to do this, I discovered that these steps all have identical class names, which makes it tricky to distinguish them in a test.

      For example, take this Pipeline, which is showing a stage that contains two Shell Script steps:

      These two steps are not easily distinguished from each other from within an ATH test. Both have the editor-step-title class name:


      Similarly, their drag-and-drop targets have identical names:

      It would be very helpful to have a way to differentiate the steps of a stage from within an ATH test.

        1. image-2018-05-15-14-59-45-261.png
          311 kB
          Karl Shultz
        2. image-2018-05-15-15-01-09-325.png
          494 kB
          Karl Shultz
        3. image-2018-05-15-15-01-33-401.png
          505 kB
          Karl Shultz
        4. image-2018-05-15-15-02-57-759.png
          493 kB
          Karl Shultz
        5. image-2018-05-15-15-03-24-957.png
          486 kB
          Karl Shultz

            imeredith Ivan Meredith
            kshultz Karl Shultz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: