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

Acceptance test for Non multi-branch Pipeline Job flow

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • blueocean-plugin
    • None
    • 1.0-m12, 1.0-pre-beta-1

      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.

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

              Created:
              Updated:
              Resolved: