diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-04 12:09:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-04 12:09:36 +0300 |
commit | f9fe7cda4bdbc477d8d76e5def4023f7d03bab46 (patch) | |
tree | 293285f6f438a22e7beb35ef8cf5e1ffae131094 /spec/frontend/incidents_settings/components | |
parent | a2f16969fa9bb982d5ec01f18efff5eabfc89a67 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/incidents_settings/components')
-rw-r--r-- | spec/frontend/incidents_settings/components/__snapshots__/alerts_form_spec.js.snap | 6 | ||||
-rw-r--r-- | spec/frontend/incidents_settings/components/__snapshots__/pagerduty_form_spec.js.snap | 14 |
2 files changed, 7 insertions, 13 deletions
diff --git a/spec/frontend/incidents_settings/components/__snapshots__/alerts_form_spec.js.snap b/spec/frontend/incidents_settings/components/__snapshots__/alerts_form_spec.js.snap index 26ff4aa657b..c3fd4a9bab2 100644 --- a/spec/frontend/incidents_settings/components/__snapshots__/alerts_form_spec.js.snap +++ b/spec/frontend/incidents_settings/components/__snapshots__/alerts_form_spec.js.snap @@ -17,7 +17,7 @@ exports[`Alert integration settings form default state should match the default data-qa-selector="create_issue_checkbox" > <span> - Create an issue. Issues are created for each alert triggered. + Create an incident. Incidents are created for each alert triggered. </span> </gl-form-checkbox-stub> </gl-form-group-stub> @@ -32,7 +32,7 @@ exports[`Alert integration settings form default state should match the default for="alert-integration-settings-issue-template" > - Issue template (optional) + Incident template (optional) <gl-link-stub href="/help/user/project/description_templates#creating-issue-templates" @@ -89,7 +89,7 @@ exports[`Alert integration settings form default state should match the default checked="true" > <span> - Automatically close incident issues when the associated Prometheus alert resolves. + Automatically close incidents when the associated Prometheus alert resolves. </span> </gl-form-checkbox-stub> </gl-form-group-stub> diff --git a/spec/frontend/incidents_settings/components/__snapshots__/pagerduty_form_spec.js.snap b/spec/frontend/incidents_settings/components/__snapshots__/pagerduty_form_spec.js.snap index 273356151fc..f0eb54c1b3a 100644 --- a/spec/frontend/incidents_settings/components/__snapshots__/pagerduty_form_spec.js.snap +++ b/spec/frontend/incidents_settings/components/__snapshots__/pagerduty_form_spec.js.snap @@ -5,7 +5,9 @@ exports[`Alert integration settings form should match the default snapshot 1`] = <!----> <p> - Setting up a webhook with PagerDuty will automatically create a GitLab issue for each PagerDuty incident. + <gl-sprintf-stub + message="Create a GitLab incident for each PagerDuty incident by %{linkStart}configuring a webhook in PagerDuty%{linkEnd}" + /> </p> <form> @@ -33,18 +35,10 @@ exports[`Alert integration settings form should match the default snapshot 1`] = value="pagerduty.webhook.com" /> - <div - class="gl-text-gray-200 gl-pt-2" - > - <gl-sprintf-stub - message="Create a GitLab issue for each PagerDuty incident by %{docsLink}" - /> - </div> - <gl-button-stub buttontextclasses="" category="primary" - class="gl-mt-3" + class="gl-mt-5" data-testid="webhook-reset-btn" icon="" role="button" |