Scenarios for favouring (suggested):
- Basic favoriting (using Freestyle)
- Ensure freestyle job already exists, exists in subfolder, has been run once
- Navigate to Dashboard
- Click "Favorite" star in pipeline list
- Assert card is added and data is correct
- Click on card's name link
- Assert navigation to Activity tab succeeds
- Assert favorite star is "active"
- Return to Dashboard
- Click anywhere else on card
- Assert navigation to Run Details succeeds
- Favoriting / unfavorite (using Pipeline)
- Ensure pipeline job already exists, exists in subfolder, has been run once
- Navigate to Dashboard
- Click "Favorite" star in pipeline list
- Assert card is added and data is correct
- Click "Favorite" start in dashboard card
- Multibranch
- Ensure multibranch job already exists, has two branches (one w/ gitflow style name), each run once
- Navigate to Dashboard
- Click "Favorite" star next to job
- Assert card is added and data is correct (master branch favorited)
- Click on card's name link
- Assert navigation to Activity tab succeeds
- Assert favorite star is "active"
- Click on Branches tab
- Assert "master" branch has active favorite star
- Click favorite start next to gitflow branch
- Navigate to Dashboard
- Assert card is added and data is correct (for gitflow branch)
- Testing actions
- Ensure multibranch job already exists, has two branches (one w/ gitflow style name), each run once
- Navigate to Dashboard
- Click "Favorite" star next to job
- Assert card is added and data is correct (master branch favorited)
- Click "Run" button
- Assert card shows "running" state
- Click "Stop" button
- Assert card shows "aborted" state
- Click "Replay" button (need to verify this is applicable in this scenario)
- Assert card shows "running" state
- Assert card shows "success" state (once run finishes)