diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-07 12:09:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-07 12:09:13 +0300 |
commit | 419f9c0ac3ae842964cc191932cab795463b259c (patch) | |
tree | 3441a3fb215f89997d0acc482fe5ae047d2ee3d7 /spec/frontend/incidents | |
parent | b6724a211e047c35f3ba4c294997fba14bf42445 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/incidents')
-rw-r--r-- | spec/frontend/incidents/components/incidents_list_spec.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/frontend/incidents/components/incidents_list_spec.js b/spec/frontend/incidents/components/incidents_list_spec.js index 1b98d488854..c4dfaabe36d 100644 --- a/spec/frontend/incidents/components/incidents_list_spec.js +++ b/spec/frontend/incidents/components/incidents_list_spec.js @@ -87,7 +87,6 @@ describe('Incidents List', () => { textQuery: '', authorUsernamesQuery: '', assigneeUsernamesQuery: '', - issuesIncidentDetails: false, }, stubs: { GlButton: true, @@ -194,22 +193,7 @@ describe('Incidents List', () => { expect(findSeverity().length).toBe(mockIncidents.length); }); - it('contains a link to the issue details page', () => { - findTableRows() - .at(0) - .trigger('click'); - expect(visitUrl).toHaveBeenCalledWith(joinPaths(`/project/issues/`, mockIncidents[0].iid)); - }); - it('contains a link to the incident details page', async () => { - beforeEach(() => - mountComponent({ - data: { incidents: { list: mockIncidents }, incidentsCount: {} }, - loading: false, - provide: { glFeatures: { issuesIncidentDetails: true } }, - }), - ); - findTableRows() .at(0) .trigger('click'); |