diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-27 06:09:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-27 06:09:16 +0000 |
commit | 9939362c41f541ea0dbd85cb4b4d2e1be4aed4d8 (patch) | |
tree | 9da960f98216b171099fe320765c86873ef79d8e /spec/frontend | |
parent | 0ac5cc4eebfbd66c2055de496478195ebe160da6 (diff) | |
download | gitlab-ce-9939362c41f541ea0dbd85cb4b4d2e1be4aed4d8.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend')
-rw-r--r-- | spec/frontend/pipelines/pipelines_spec.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/spec/frontend/pipelines/pipelines_spec.js b/spec/frontend/pipelines/pipelines_spec.js index 1bd630507aa..66446b9aa1d 100644 --- a/spec/frontend/pipelines/pipelines_spec.js +++ b/spec/frontend/pipelines/pipelines_spec.js @@ -343,12 +343,8 @@ describe('Pipelines', () => { }); it('should render navigation tabs', () => { - expect(wrapper.find('.js-pipelines-tab-pending').text()).toContain('Pending'); - expect(wrapper.find('.js-pipelines-tab-all').text()).toContain('All'); - expect(wrapper.find('.js-pipelines-tab-running').text()).toContain('Running'); - expect(wrapper.find('.js-pipelines-tab-finished').text()).toContain('Finished'); expect(wrapper.find('.js-pipelines-tab-branches').text()).toContain('Branches'); @@ -452,8 +448,6 @@ describe('Pipelines', () => { it('returns default tabs', () => { expect(wrapper.vm.tabs).toEqual([ { name: 'All', scope: 'all', count: undefined, isActive: true }, - { name: 'Pending', scope: 'pending', count: undefined, isActive: false }, - { name: 'Running', scope: 'running', count: undefined, isActive: false }, { name: 'Finished', scope: 'finished', count: undefined, isActive: false }, { name: 'Branches', scope: 'branches', isActive: false }, { name: 'Tags', scope: 'tags', isActive: false }, @@ -462,11 +456,11 @@ describe('Pipelines', () => { }); describe('emptyTabMessage', () => { - it('returns message with scope', () => { - wrapper.vm.scope = 'pending'; + it('returns message with finished scope', () => { + wrapper.vm.scope = 'finished'; return wrapper.vm.$nextTick().then(() => { - expect(wrapper.vm.emptyTabMessage).toEqual('There are currently no pending pipelines.'); + expect(wrapper.vm.emptyTabMessage).toEqual('There are currently no finished pipelines.'); }); }); |