gitlab-org--gitlab-foss/spec/frontend/self_monitor/components/__snapshots__/self_monitor_form_spec.js.snap

86 lines
1.8 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`self monitor component When the self monitor project has not been created default state to match the default snapshot 1`] = `
<section
class="settings no-animate js-self-monitoring-settings"
>
<div
class="settings-header"
>
<h4
class="js-section-header"
>
Self monitoring
</h4>
<gl-button-stub
buttontextclasses=""
category="primary"
class="js-settings-toggle"
icon=""
size="medium"
variant="default"
>
Expand
</gl-button-stub>
<p
class="js-section-sub-header"
>
Activate or deactivate instance self monitoring.
<gl-link-stub
href="/help/administration/monitoring/gitlab_self_monitoring_project/index"
>
Learn more.
</gl-link-stub>
</p>
</div>
<div
class="settings-content"
>
<form
name="self-monitoring-form"
>
<p>
Activate self monitoring to create a project to use to monitor the health of your instance.
</p>
<gl-form-group-stub
labeldescription=""
optionaltext="(optional)"
>
<gl-toggle-stub
label="Self monitoring"
labelposition="top"
/>
</gl-form-group-stub>
</form>
</div>
<gl-modal-stub
arialabel=""
cancel-title="Cancel"
category="primary"
dismisslabel="Close"
modalclass=""
modalid="delete-self-monitor-modal"
ok-title="Delete self monitoring project"
ok-variant="danger"
size="md"
title="Deactivate self monitoring?"
titletag="h4"
>
<div>
Deactivating self monitoring deletes the self monitoring project. Are you sure you want to deactivate self monitoring and delete the project?
</div>
</gl-modal-stub>
</section>
`;