diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-06-12 15:07:29 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-06-12 15:07:29 +0000 |
commit | 10a190dba2db339093cdc4949ef54cc287196b9b (patch) | |
tree | 5dfe7779d4093c0a38af2404095e1400e5339283 /spec | |
parent | 893c824ed3f99d5c1f79f09acb12eac5ce5e159f (diff) | |
parent | 1801b7fd20b6732a8381878147943f32f564dc18 (diff) | |
download | gitlab-ce-10a190dba2db339093cdc4949ef54cc287196b9b.tar.gz |
Merge branch 'ide-job-loading-empty-state' into 'master'
Fixed IDE jobs empty state showing when loading
Closes #47766
See merge request gitlab-org/gitlab-ce!19706
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/ide/components/jobs/detail_spec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/javascripts/ide/components/jobs/detail_spec.js b/spec/javascripts/ide/components/jobs/detail_spec.js index 641ba06f653..8f8d4b9709e 100644 --- a/spec/javascripts/ide/components/jobs/detail_spec.js +++ b/spec/javascripts/ide/components/jobs/detail_spec.js @@ -62,6 +62,11 @@ describe('IDE jobs detail view', () => { expect(vm.$el.querySelector('.build-loader-animation').style.display).toBe(''); }); + it('hides output when loading', () => { + expect(vm.$el.querySelector('.bash')).not.toBe(null); + expect(vm.$el.querySelector('.bash').style.display).toBe('none'); + }); + it('hide loading icon when isLoading is false', done => { vm.$store.state.pipelines.detailJob.isLoading = false; |