diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-05-23 16:27:54 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-05-24 12:04:42 +0300 |
commit | fe225fd9289acb8d50157703849363de39046bca (patch) | |
tree | 2760fb2f4fa80a20257966a9ad6dcc0519b00e4f /spec/javascripts | |
parent | 4ae71c2b4fe8e6731fceadc3426cd70491398fe0 (diff) |
Set up mock data for stages
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/jobs/mock_data.js | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/spec/javascripts/jobs/mock_data.js b/spec/javascripts/jobs/mock_data.js index e37520f1f1a..3d40e94d219 100644 --- a/spec/javascripts/jobs/mock_data.js +++ b/spec/javascripts/jobs/mock_data.js @@ -995,7 +995,33 @@ export default { }, duration: 6, finished_at: '2017-06-01T17:32:00.042Z', - stages, + stages: [ + { + dropdown_path: '/jashkenas/underscore/pipelines/16/stage.json?stage=build', + name: 'build', + path: '/jashkenas/underscore/pipelines/16#build', + status: { + icon: 'status_success', + text: 'passed', + label: 'passed', + group: 'success', + tooltip: 'passed', + }, + title: 'build: passed', + }, + { + dropdown_path: '/jashkenas/underscore/pipelines/16/stage.json?stage=test', + name: 'test', + path: '/jashkenas/underscore/pipelines/16#test', + status: { + icon: 'status_warning', + text: 'passed', + label: 'passed with warnings', + group: 'success-with-warnings', + }, + title: 'test: passed with warnings', + }, + ], }, ref: { name: 'abc', |