diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-11-30 20:32:15 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-11-30 20:32:15 +0300 |
commit | 5a7a221f9b6e53e348c912893c8aa0c76075fbcd (patch) | |
tree | a08321081f5211730579db536b69d8d0bd13e9be /spec/javascripts/pipelines | |
parent | 93d6f56968f49d1c91dd73ddd25745ee781e9486 (diff) |
Fixes tooltip overflowing in mini pipeline
Diffstat (limited to 'spec/javascripts/pipelines')
-rw-r--r-- | spec/javascripts/pipelines/graph/job_item_spec.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/spec/javascripts/pipelines/graph/job_item_spec.js b/spec/javascripts/pipelines/graph/job_item_spec.js index 88e1789184d..12b45eb145f 100644 --- a/spec/javascripts/pipelines/graph/job_item_spec.js +++ b/spec/javascripts/pipelines/graph/job_item_spec.js @@ -139,34 +139,6 @@ describe('pipeline graph job item', () => { }); }); - describe('tooltip placement', () => { - it('does not set tooltip boundary by default', () => { - component = mountComponent(JobComponent, { - job: mockJob, - }); - - expect(component.tooltipBoundary).toBeNull(); - }); - - it('sets tooltip boundary to viewport for small dropdowns', () => { - component = mountComponent(JobComponent, { - job: mockJob, - dropdownLength: 1, - }); - - expect(component.tooltipBoundary).toEqual('viewport'); - }); - - it('does not set tooltip boundary for large lists', () => { - component = mountComponent(JobComponent, { - job: mockJob, - dropdownLength: 7, - }); - - expect(component.tooltipBoundary).toBeNull(); - }); - }); - describe('for delayed job', () => { beforeEach(() => { const fifteenMinutesInMilliseconds = 900000; |