diff options
Diffstat (limited to 'spec/frontend/vue_shared/alert_details/alert_details_spec.js')
-rw-r--r-- | spec/frontend/vue_shared/alert_details/alert_details_spec.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/frontend/vue_shared/alert_details/alert_details_spec.js b/spec/frontend/vue_shared/alert_details/alert_details_spec.js index 7aa54a1c55a..ce51af31a70 100644 --- a/spec/frontend/vue_shared/alert_details/alert_details_spec.js +++ b/spec/frontend/vue_shared/alert_details/alert_details_spec.js @@ -201,28 +201,6 @@ describe('AlertDetails', () => { }); }); - describe('Threat Monitoring details', () => { - it('should not render the metrics tab', () => { - mountComponent({ - data: { alert: mockAlert }, - provide: { isThreatMonitoringPage: true }, - }); - expect(findMetricsTab().exists()).toBe(false); - }); - - it('should display "View incident" button that links the issues page when incident exists', () => { - const iid = '3'; - mountComponent({ - data: { alert: { ...mockAlert, issue: { iid } }, sidebarStatus: false }, - provide: { isThreatMonitoringPage: true }, - }); - - expect(findViewIncidentBtn().exists()).toBe(true); - expect(findViewIncidentBtn().attributes('href')).toBe(joinPaths(projectIssuesPath, iid)); - expect(findCreateIncidentBtn().exists()).toBe(false); - }); - }); - describe('Create incident from alert', () => { it('should display "View incident" button that links the incident page when incident exists', () => { const iid = '3'; |