146 lines
3.0 KiB
Plaintext
146 lines
3.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`MRWidgetAutoMergeEnabled when graphql is disabled template should have correct elements 1`] = `
|
|
<div
|
|
class="mr-widget-body media"
|
|
>
|
|
<gl-icon-stub
|
|
class="gl-text-blue-500 gl-mr-3 gl-mt-1"
|
|
name="status_scheduled"
|
|
size="24"
|
|
/>
|
|
|
|
<div
|
|
class="media-body"
|
|
>
|
|
<h4
|
|
class="gl-display-flex"
|
|
>
|
|
<span
|
|
class="gl-mr-3"
|
|
>
|
|
<gl-sprintf-stub
|
|
data-testid="statusText"
|
|
message="Set by %{merge_author} to be merged automatically when the pipeline succeeds"
|
|
/>
|
|
</span>
|
|
|
|
<gl-button-stub
|
|
buttontextclasses=""
|
|
category="primary"
|
|
class="js-cancel-auto-merge"
|
|
data-qa-selector="cancel_auto_merge_button"
|
|
data-testid="cancelAutomaticMergeButton"
|
|
icon=""
|
|
size="small"
|
|
variant="default"
|
|
>
|
|
|
|
Cancel auto-merge
|
|
|
|
</gl-button-stub>
|
|
</h4>
|
|
|
|
<section
|
|
class="mr-info-list"
|
|
>
|
|
<p
|
|
class="gl-display-flex"
|
|
>
|
|
<span
|
|
class="gl-mr-3"
|
|
>
|
|
The source branch will not be deleted
|
|
</span>
|
|
|
|
<gl-button-stub
|
|
buttontextclasses=""
|
|
category="primary"
|
|
class="js-remove-source-branch"
|
|
data-testid="removeSourceBranchButton"
|
|
icon=""
|
|
size="small"
|
|
variant="default"
|
|
>
|
|
|
|
Delete source branch
|
|
|
|
</gl-button-stub>
|
|
</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`MRWidgetAutoMergeEnabled when graphql is enabled template should have correct elements 1`] = `
|
|
<div
|
|
class="mr-widget-body media"
|
|
>
|
|
<gl-icon-stub
|
|
class="gl-text-blue-500 gl-mr-3 gl-mt-1"
|
|
name="status_scheduled"
|
|
size="24"
|
|
/>
|
|
|
|
<div
|
|
class="media-body"
|
|
>
|
|
<h4
|
|
class="gl-display-flex"
|
|
>
|
|
<span
|
|
class="gl-mr-3"
|
|
>
|
|
<gl-sprintf-stub
|
|
data-testid="statusText"
|
|
message="Set by %{merge_author} to be merged automatically when the pipeline succeeds"
|
|
/>
|
|
</span>
|
|
|
|
<gl-button-stub
|
|
buttontextclasses=""
|
|
category="primary"
|
|
class="js-cancel-auto-merge"
|
|
data-qa-selector="cancel_auto_merge_button"
|
|
data-testid="cancelAutomaticMergeButton"
|
|
icon=""
|
|
size="small"
|
|
variant="default"
|
|
>
|
|
|
|
Cancel auto-merge
|
|
|
|
</gl-button-stub>
|
|
</h4>
|
|
|
|
<section
|
|
class="mr-info-list"
|
|
>
|
|
<p
|
|
class="gl-display-flex"
|
|
>
|
|
<span
|
|
class="gl-mr-3"
|
|
>
|
|
The source branch will not be deleted
|
|
</span>
|
|
|
|
<gl-button-stub
|
|
buttontextclasses=""
|
|
category="primary"
|
|
class="js-remove-source-branch"
|
|
data-testid="removeSourceBranchButton"
|
|
icon=""
|
|
size="small"
|
|
variant="default"
|
|
>
|
|
|
|
Delete source branch
|
|
|
|
</gl-button-stub>
|
|
</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
`;
|