-
Task
-
Resolution: Fixed
-
Blocker
-
None
-
-
1.0-m12, 1.0-pre-beta-1
Create a v1 acceptance test for testing the the Freestyle job flow:
Minimum
- Create the Freestyle job.
- Create relevant Nightwatch page-objects.
- Inspect structure of the Activity tab. Should have the empty state on it.
- Press the "Run Now" button via the page-object.
- Tests that the empty state disappears.
- Tests that the "Started" Toast appears.
- Tests that the Activity table appears and has the job in it.
- Click on the job and go to the run details page
- Check that it has the expected logs etc
- Go back to Activity tab and check that there's a "Run" button above the activity table.
- Run another job by clicking on the "Run" button.
- Verify that a second job appears and that the toast appears etc
Bonus Points
- Have tests on the job and test that the "Tests" tab is rendered as expected. TODO... add some detail here.
tfennelly isn't this covered by https://github.com/jenkinsci/blueocean-acceptance-test/tree/master/src/test/js/log-karaoke ?