From 38bab6e1581d30c0e9d312474fd796404cc7b484 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 13 Dec 2019 03:07:50 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/frontend/error_tracking/components/error_details_spec.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'spec/frontend/error_tracking') diff --git a/spec/frontend/error_tracking/components/error_details_spec.js b/spec/frontend/error_tracking/components/error_details_spec.js index 632ed373545..6dc4980aaec 100644 --- a/spec/frontend/error_tracking/components/error_details_spec.js +++ b/spec/frontend/error_tracking/components/error_details_spec.js @@ -110,7 +110,7 @@ describe('ErrorDetails', () => { beforeEach(() => { store.state.details.loading = false; store.state.details.error = { - id: 1, + id: 129381, title: 'Issue title', external_url: 'http://sentry.gitlab.net/gitlab', first_seen: '2017-05-26T13:32:48Z', @@ -121,6 +121,13 @@ describe('ErrorDetails', () => { mountComponent(); }); + it('should send sentry_issue_identifier', () => { + const sentryErrorIdInput = wrapper.find( + 'glforminput-stub[name="issue[sentry_issue_attributes][sentry_issue_identifier]"', + ); + expect(sentryErrorIdInput.attributes('value')).toBe('129381'); + }); + it('should set the form values with title and description', () => { const csrfTokenInput = wrapper.find('glforminput-stub[name="authenticity_token"]'); const issueTitleInput = wrapper.find('glforminput-stub[name="issue[title]"]'); -- cgit v1.2.3