Details
-
Type:
Story
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: blueocean-plugin
-
Labels:None
-
Similar Issues:
-
Epic Link:
-
Sprint:1.0-m10, 1.0-m11, 1.0-m12, 1.0-pre-beta-1, 1.0-beta-1
Description
Create a v1 acceptance test for testing the the multibranch flow:
- Create the multibranch job. Will need to have branches.
- Inspect structure of the Branches tab. Use a Nightwatch page-object for this.
- Setup an SSE listener in the test to listen for runs of one of the branches.
- Press the "run" widget on the branch being listened to.
- Use the async SSE events to move the test to a successful "done()".
- Verify that the "Queued" and "Started" Toast components appeared at the right time. This will be tricky hmmm.
As mentioned offline, would be nice to have this as a final stage of the main blueocean Jenkinsfile.
It doesn't have to run as part of the main "mvn install" locally (as it puts requirements that may not be satisfied always).