diff options
Diffstat (limited to 'spec/frontend/ci/pipeline_mini_graph/linked_pipelines_mini_list_spec.js')
-rw-r--r-- | spec/frontend/ci/pipeline_mini_graph/linked_pipelines_mini_list_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/ci/pipeline_mini_graph/linked_pipelines_mini_list_spec.js b/spec/frontend/ci/pipeline_mini_graph/linked_pipelines_mini_list_spec.js index 3c9d235bfcc..55ce3c79039 100644 --- a/spec/frontend/ci/pipeline_mini_graph/linked_pipelines_mini_list_spec.js +++ b/spec/frontend/ci/pipeline_mini_graph/linked_pipelines_mini_list_spec.js @@ -51,7 +51,7 @@ describe('Linked pipeline mini list', () => { }); it('should render the correct ci status icon', () => { - expect(findCiIcon().classes('ci-status-icon-running')).toBe(true); + expect(wrapper.find('[data-testid="status_running_borderless-icon"]').exists()).toBe(true); }); it('should have an activated tooltip', () => { @@ -95,7 +95,7 @@ describe('Linked pipeline mini list', () => { }); it('should render the correct ci status icon', () => { - expect(findCiIcon().classes('ci-status-icon-running')).toBe(true); + expect(wrapper.find('[data-testid="status_running_borderless-icon"]').exists()).toBe(true); }); it('should have an activated tooltip', () => { |