diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 17:22:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 17:22:11 +0300 |
commit | 0c872e02b2c822e3397515ec324051ff540f0cd5 (patch) | |
tree | ce2fb6ce7030e4dad0f4118d21ab6453e5938cdd /spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js | |
parent | f7e05a6853b12f02911494c4b3fe53d9540d74fc (diff) |
Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42
Diffstat (limited to 'spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js')
-rw-r--r-- | spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js b/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js index bfb780d5d39..c123f53886e 100644 --- a/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js +++ b/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js @@ -26,12 +26,6 @@ describe('Pipeline Stages', () => { expect(findPipelineStages()).toHaveLength(mockStages.length); }); - it('renders stages with a custom class', () => { - createComponent({ stagesClass: 'my-class' }); - - expect(wrapper.findAll('.my-class')).toHaveLength(mockStages.length); - }); - it('does not fail when stages are empty', () => { createComponent({ stages: [] }); @@ -39,15 +33,6 @@ describe('Pipeline Stages', () => { expect(findPipelineStages()).toHaveLength(0); }); - it('triggers events in "action request complete" in stages', () => { - createComponent(); - - findPipelineStagesAt(0).vm.$emit('pipelineActionRequestComplete'); - findPipelineStagesAt(1).vm.$emit('pipelineActionRequestComplete'); - - expect(wrapper.emitted('pipelineActionRequestComplete')).toHaveLength(2); - }); - it('update dropdown is false by default', () => { createComponent(); |