debian-mirror-gitlab/spec/frontend/incidents_settings/components/__snapshots__/pagerduty_form_spec.js.snap
2021-09-04 01:27:46 +05:30

74 lines
1.7 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Alert integration settings form should match the default snapshot 1`] = `
<div>
<!---->
<p>
<gl-sprintf-stub
message="Create a GitLab incident for each PagerDuty incident by %{linkStart}configuring a webhook in PagerDuty%{linkEnd}"
/>
</p>
<form>
<gl-form-group-stub
class="col-8 col-md-9 gl-p-0"
labeldescription=""
>
<gl-toggle-stub
id="active"
label="Active"
labelposition="top"
value="true"
/>
</gl-form-group-stub>
<gl-form-group-stub
class="col-8 col-md-9 gl-p-0"
label="Webhook URL"
label-for="url"
labeldescription=""
>
<gl-form-input-group-stub
data-testid="webhook-url"
id="url"
predefinedoptions="[object Object]"
readonly=""
value="pagerduty.webhook.com"
/>
<gl-button-stub
buttontextclasses=""
category="primary"
class="gl-mt-5"
data-testid="webhook-reset-btn"
icon=""
role="button"
size="medium"
tabindex="0"
variant="default"
>
Reset webhook URL
</gl-button-stub>
<gl-modal-stub
dismisslabel="Close"
modalclass=""
modalid="resetWebhookModal"
ok-title="Reset webhook URL"
ok-variant="danger"
size="md"
title="Reset webhook URL"
titletag="h4"
>
Resetting the webhook URL for this project will require updating this integration's settings in PagerDuty.
</gl-modal-stub>
</gl-form-group-stub>
</form>
</div>
`;