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

Acceptance test for Non multi-branch Pipeline Job flow

    Details

    • Similar Issues:
    • Sprint:
      1.0-m12, 1.0-pre-beta-1

      Description

      Create a v1 acceptance test for testing the the regular (non multi-branch) Pipeline job flow:

      Minimum

      1. Create the Pipeline job.
      2. Create relevant Nightwatch page-objects.
      3. Inspect structure of the Activity tab. Should have the empty state on it.
      4. Press the "Run Now" button via the page-object.
      5. Tests that the empty state disappears.
      6. Tests that the "Started" Toast appears.
      7. Tests that the Activity table appears and has the job in it.
      8. Click on the job and go to the run details page
      9. Check that it has the expected logs etc
      10. Go back to Activity tab and check that there's a "Run" button above the activity table.
      11. Run another job by clicking on the "Run" button.
      12. Verify that a second job appears and that the toast appears etc

      Bonus Points

      1. Have tests on the job and test that the "Tests" tab is rendered as expected. TODO... add some detail here.

        Attachments

          Activity

          Show
          michaelneale Michael Neale added a comment - Tom FENNELLY isn't this covered by https://github.com/jenkinsci/blueocean-acceptance-test/tree/master/src/test/js/log-karaoke ?
          Hide
          tfennelly Tom FENNELLY added a comment -

          Yeah, prob good enough to let us close this.

          Show
          tfennelly Tom FENNELLY added a comment - Yeah, prob good enough to let us close this.

            People

            • Assignee:
              tscherler Thorsten Scherler
              Reporter:
              tfennelly Tom FENNELLY
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: