Create a v1 acceptance test for testing the the Freestyle job flow:
- 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
- Have tests on the job and test that the "Tests" tab is rendered as expected. TODO... add some detail here.