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/vue_shared/components/notes/__snapshots__')
-rw-r--r--spec/frontend/vue_shared/components/notes/__snapshots__/noteable_warning_spec.js.snap18
-rw-r--r--spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_note_spec.js.snap15
-rw-r--r--spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_system_note_spec.js.snap2
3 files changed, 11 insertions, 24 deletions
diff --git a/spec/frontend/vue_shared/components/notes/__snapshots__/noteable_warning_spec.js.snap b/spec/frontend/vue_shared/components/notes/__snapshots__/noteable_warning_spec.js.snap
index 8a187f3cb1f..891b0c95f0e 100644
--- a/spec/frontend/vue_shared/components/notes/__snapshots__/noteable_warning_spec.js.snap
+++ b/spec/frontend/vue_shared/components/notes/__snapshots__/noteable_warning_spec.js.snap
@@ -2,10 +2,7 @@
exports[`Issue Warning Component when issue is locked but not confidential renders information about locked issue 1`] = `
<span>
-
- This issue is locked.
- Only project members can comment.
-
+ This issue is locked. Only project members can comment.
<gl-link-stub
href="locked-path"
target="_blank"
@@ -17,10 +14,7 @@ exports[`Issue Warning Component when issue is locked but not confidential rende
exports[`Issue Warning Component when noteable is confidential but not locked renders information about confidential issue 1`] = `
<span>
-
- This is a confidential issue.
- People without permission will never get a notification.
-
+ This is a confidential issue. People without permission will never get a notification.
<gl-link-stub
href="confidential-path"
target="_blank"
@@ -33,14 +27,14 @@ exports[`Issue Warning Component when noteable is confidential but not locked re
exports[`Issue Warning Component when noteable is locked and confidential renders information about locked and confidential noteable 1`] = `
<span>
<span>
- This issue is
+ This issue is
<gl-link-stub
href=""
target="_blank"
>
confidential
</gl-link-stub>
- and
+ and
<gl-link-stub
href=""
target="_blank"
@@ -49,8 +43,6 @@ exports[`Issue Warning Component when noteable is locked and confidential render
</gl-link-stub>
.
</span>
-
- People without permission will never get a notification and won't be able to comment.
-
+ People without permission will never get a notification and won't be able to comment.
</span>
`;
diff --git a/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_note_spec.js.snap b/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_note_spec.js.snap
index de53caa66c7..c489fb08be5 100644
--- a/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_note_spec.js.snap
+++ b/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_note_spec.js.snap
@@ -2,10 +2,10 @@
exports[`Issue placeholder note component matches snapshot 1`] = `
<timeline-entry-item-stub
- class="note note-wrapper note-comment being-posted fade-in-half"
+ class="being-posted fade-in-half note note-comment note-wrapper"
>
<div
- class="timeline-avatar gl-float-left"
+ class="gl-float-left timeline-avatar"
>
<gl-avatar-link-stub
href="/root"
@@ -20,9 +20,8 @@ exports[`Issue placeholder note component matches snapshot 1`] = `
/>
</gl-avatar-link-stub>
</div>
-
<div
- class="timeline-content discussion"
+ class="discussion timeline-content"
>
<div
class="note-header"
@@ -34,11 +33,10 @@ exports[`Issue placeholder note component matches snapshot 1`] = `
href="/root"
>
<span
- class="d-none d-sm-inline-block bold"
+ class="bold d-none d-sm-inline-block"
>
Root
</span>
-
<span
class="note-headline-light"
>
@@ -47,7 +45,6 @@ exports[`Issue placeholder note component matches snapshot 1`] = `
</a>
</div>
</div>
-
<div
class="timeline-discussion-body"
>
@@ -55,15 +52,13 @@ exports[`Issue placeholder note component matches snapshot 1`] = `
class="note-body"
>
<div
- class="note-text md"
+ class="md note-text"
>
<p
dir="auto"
>
Foo
</p>
-
-
</div>
</div>
</div>
diff --git a/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_system_note_spec.js.snap b/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_system_note_spec.js.snap
index 10c33269107..a609df5e775 100644
--- a/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_system_note_spec.js.snap
+++ b/spec/frontend/vue_shared/components/notes/__snapshots__/placeholder_system_note_spec.js.snap
@@ -2,7 +2,7 @@
exports[`Placeholder system note component matches snapshot 1`] = `
<timeline-entry-item-stub
- class="note system-note being-posted fade-in-half"
+ class="being-posted fade-in-half note system-note"
>
<div
class="timeline-content"