Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/alerts_settings/components/__snapshots__/alerts_settings_form_spec.js.snap')
-rw-r--r--spec/frontend/alerts_settings/components/__snapshots__/alerts_settings_form_spec.js.snap524
1 files changed, 0 insertions, 524 deletions
diff --git a/spec/frontend/alerts_settings/components/__snapshots__/alerts_settings_form_spec.js.snap b/spec/frontend/alerts_settings/components/__snapshots__/alerts_settings_form_spec.js.snap
deleted file mode 100644
index 1f8429af7dd..00000000000
--- a/spec/frontend/alerts_settings/components/__snapshots__/alerts_settings_form_spec.js.snap
+++ /dev/null
@@ -1,524 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`AlertsSettingsForm with default values renders the initial template 1`] = `
-<form
- class="gl-mt-6"
->
- <div
- class="tabs gl-tabs"
- id="__BVID__6"
- >
- <!---->
- <div
- class=""
- >
- <ul
- class="nav gl-tabs-nav"
- id="__BVID__6__BV_tab_controls_"
- role="tablist"
- >
- <!---->
- <li
- class="nav-item"
- role="presentation"
- >
- <a
- aria-controls="__BVID__8"
- aria-posinset="1"
- aria-selected="true"
- aria-setsize="3"
- class="nav-link active gl-tab-nav-item gl-tab-nav-item-active gl-tab-nav-item-active-indigo"
- href="#"
- id="__BVID__8___BV_tab_button__"
- role="tab"
- target="_self"
- >
- Configure details
- </a>
- </li>
- <li
- class="nav-item"
- role="presentation"
- >
- <a
- aria-controls="__BVID__19"
- aria-disabled="true"
- aria-posinset="2"
- aria-selected="false"
- aria-setsize="3"
- class="nav-link disabled disabled gl-tab-nav-item"
- href="#"
- id="__BVID__19___BV_tab_button__"
- role="tab"
- tabindex="-1"
- target="_self"
- >
- View credentials
- </a>
- </li>
- <li
- class="nav-item"
- role="presentation"
- >
- <a
- aria-controls="__BVID__41"
- aria-disabled="true"
- aria-posinset="3"
- aria-selected="false"
- aria-setsize="3"
- class="nav-link disabled disabled gl-tab-nav-item"
- href="#"
- id="__BVID__41___BV_tab_button__"
- role="tab"
- tabindex="-1"
- target="_self"
- >
- Send test alert
- </a>
- </li>
- <!---->
- </ul>
- </div>
- <div
- class="tab-content gl-tab-content"
- id="__BVID__6__BV_tab_container_"
- >
- <transition-stub
- css="true"
- enteractiveclass=""
- enterclass=""
- entertoclass="show"
- leaveactiveclass=""
- leaveclass="show"
- leavetoclass=""
- mode="out-in"
- name=""
- >
- <div
- aria-hidden="false"
- aria-labelledby="__BVID__8___BV_tab_button__"
- class="tab-pane active"
- id="__BVID__8"
- role="tabpanel"
- style=""
- >
- <div
- class="form-group gl-form-group"
- id="integration-type"
- role="group"
- >
- <label
- class="d-block col-form-label"
- for="integration-type"
- id="integration-type__BV_label_"
- >
- 1.Select integration type
- </label>
- <div
- class="bv-no-focus-ring"
- >
- <select
- class="gl-form-select gl-max-w-full custom-select"
- id="__BVID__13"
- >
- <option
- value=""
- >
- Select integration type
- </option>
- <option
- value="HTTP"
- >
- HTTP Endpoint
- </option>
- <option
- value="PROMETHEUS"
- >
- External Prometheus
- </option>
- </select>
-
- <!---->
- <!---->
- <!---->
- <!---->
- </div>
- </div>
-
- <div
- class="gl-mt-3"
- >
- <!---->
-
- <label
- class="gl-display-flex gl-flex-direction-column gl-mb-0 gl-w-max-content gl-my-4 gl-font-weight-normal"
- >
- <span
- class="gl-toggle-wrapper"
- >
- <span
- class="gl-toggle-label"
- data-testid="toggle-label"
- >
- Active
- </span>
-
- <!---->
-
- <button
- aria-label="Active"
- class="gl-toggle"
- role="switch"
- type="button"
- >
- <span
- class="toggle-icon"
- >
- <svg
- aria-hidden="true"
- class="gl-icon s16"
- data-testid="close-icon"
- >
- <use
- href="#close"
- />
- </svg>
- </span>
- </button>
- </span>
-
- <!---->
- </label>
-
- <!---->
-
- <!---->
- </div>
-
- <div
- class="gl-display-flex gl-justify-content-start gl-py-3"
- >
- <button
- class="btn js-no-auto-disable btn-confirm btn-md gl-button"
- data-testid="integration-form-submit"
- type="submit"
- >
- <!---->
-
- <!---->
-
- <span
- class="gl-button-text"
- >
-
- Save integration
-
- </span>
- </button>
-
- <button
- class="btn gl-ml-3 js-no-auto-disable btn-default btn-md gl-button"
- type="reset"
- >
- <!---->
-
- <!---->
-
- <span
- class="gl-button-text"
- >
- Cancel and close
- </span>
- </button>
- </div>
- </div>
- </transition-stub>
-
- <transition-stub
- css="true"
- enteractiveclass=""
- enterclass=""
- entertoclass="show"
- leaveactiveclass=""
- leaveclass="show"
- leavetoclass=""
- mode="out-in"
- name=""
- >
- <div
- aria-hidden="true"
- aria-labelledby="__BVID__19___BV_tab_button__"
- class="tab-pane disabled"
- id="__BVID__19"
- role="tabpanel"
- style="display: none;"
- >
- <span>
- Utilize the URL and authorization key below to authorize an external service to send alerts to GitLab. Review your external service's documentation to learn where to add these details, and the
- <a
- class="gl-link gl-display-inline-block"
- href="https://docs.gitlab.com/ee/operations/incident_management/alert_integrations.html"
- rel="noopener noreferrer"
- target="_blank"
- >
- GitLab documentation
- </a>
- to learn more about configuring your endpoint.
- </span>
-
- <fieldset
- class="form-group gl-form-group"
- id="integration-webhook"
- >
- <!---->
- <div
- class="bv-no-focus-ring"
- role="group"
- tabindex="-1"
- >
- <div
- class="gl-my-4"
- >
- <span
- class="gl-font-weight-bold"
- >
-
- Webhook URL
-
- </span>
-
- <div
- id="url"
- readonly="readonly"
- >
- <div
- class="input-group"
- role="group"
- >
- <!---->
- <!---->
-
- <input
- class="gl-form-input form-control"
- id="url"
- readonly="readonly"
- type="text"
- />
-
- <div
- class="input-group-append"
- >
- <button
- aria-label="Copy this value"
- class="btn gl-m-0! btn-default btn-md gl-button btn-default-secondary btn-icon"
- data-clipboard-text=""
- title="Copy"
- type="button"
- >
- <!---->
-
- <svg
- aria-hidden="true"
- class="gl-button-icon gl-icon s16"
- data-testid="copy-to-clipboard-icon"
- >
- <use
- href="#copy-to-clipboard"
- />
- </svg>
-
- <!---->
- </button>
- </div>
- <!---->
- </div>
- </div>
- </div>
-
- <div
- class="gl-my-4"
- >
- <span
- class="gl-font-weight-bold"
- >
-
- Authorization key
-
- </span>
-
- <div
- class="gl-mb-3"
- id="authorization-key"
- readonly="readonly"
- >
- <div
- class="input-group"
- role="group"
- >
- <!---->
- <!---->
-
- <input
- class="gl-form-input form-control"
- id="authorization-key"
- readonly="readonly"
- type="text"
- />
-
- <div
- class="input-group-append"
- >
- <button
- aria-label="Copy this value"
- class="btn gl-m-0! btn-default btn-md gl-button btn-default-secondary btn-icon"
- data-clipboard-text=""
- title="Copy"
- type="button"
- >
- <!---->
-
- <svg
- aria-hidden="true"
- class="gl-button-icon gl-icon s16"
- data-testid="copy-to-clipboard-icon"
- >
- <use
- href="#copy-to-clipboard"
- />
- </svg>
-
- <!---->
- </button>
- </div>
- <!---->
- </div>
- </div>
- </div>
- <!---->
- <!---->
- <!---->
- </div>
- </fieldset>
-
- <button
- class="btn btn-danger btn-md disabled gl-button"
- disabled="disabled"
- type="button"
- >
- <!---->
-
- <!---->
-
- <span
- class="gl-button-text"
- >
-
- Reset Key
-
- </span>
- </button>
-
- <button
- class="btn gl-ml-3 js-no-auto-disable btn-default btn-md gl-button"
- type="reset"
- >
- <!---->
-
- <!---->
-
- <span
- class="gl-button-text"
- >
- Cancel and close
- </span>
- </button>
-
- <!---->
- </div>
- </transition-stub>
-
- <transition-stub
- css="true"
- enteractiveclass=""
- enterclass=""
- entertoclass="show"
- leaveactiveclass=""
- leaveclass="show"
- leavetoclass=""
- mode="out-in"
- name=""
- >
- <div
- aria-hidden="true"
- aria-labelledby="__BVID__41___BV_tab_button__"
- class="tab-pane disabled"
- id="__BVID__41"
- role="tabpanel"
- style="display: none;"
- >
- <fieldset
- class="form-group gl-form-group"
- id="test-integration"
- >
- <!---->
- <div
- class="bv-no-focus-ring"
- role="group"
- tabindex="-1"
- >
- <span>
- Provide an example payload from the monitoring tool you intend to integrate with. This will allow you to send an alert to an active GitLab alerting point.
- </span>
-
- <textarea
- class="gl-form-input gl-form-textarea gl-my-3 form-control is-valid"
- id="test-payload"
- placeholder="{ \\"events\\": [{ \\"application\\": \\"Name of application\\" }] }"
- style="resize: none; overflow-y: scroll;"
- wrap="soft"
- />
- <!---->
- <!---->
- <!---->
- </div>
- </fieldset>
-
- <button
- class="btn js-no-auto-disable btn-confirm btn-md gl-button"
- data-testid="send-test-alert"
- type="button"
- >
- <!---->
-
- <!---->
-
- <span
- class="gl-button-text"
- >
-
- Send
-
- </span>
- </button>
-
- <button
- class="btn gl-ml-3 js-no-auto-disable btn-default btn-md gl-button"
- type="reset"
- >
- <!---->
-
- <!---->
-
- <span
- class="gl-button-text"
- >
- Cancel and close
- </span>
- </button>
- </div>
- </transition-stub>
- <!---->
- </div>
- </div>
-</form>
-`;