diff options
-rw-r--r-- | app/assets/javascripts/notes/components/issue_comment_form.vue | 1 | ||||
-rw-r--r-- | spec/support/features/reportable_note_shared_examples.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/components/issue_comment_form.vue b/app/assets/javascripts/notes/components/issue_comment_form.vue index 6c3d974bc25..16f4e22aa9b 100644 --- a/app/assets/javascripts/notes/components/issue_comment_form.vue +++ b/app/assets/javascripts/notes/components/issue_comment_form.vue @@ -241,6 +241,7 @@ ref="commentForm" class="new-note js-quick-submit common-note-form gfm-form js-main-target-form"> <confidentialIssue v-if="isConfidentialIssue" /> + <div class="error-alert"></div> <markdown-field :markdown-preview-path="markdownPreviewPath" :markdown-docs-path="markdownDocsPath" diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb index 4d7d23f0341..d10006edd85 100644 --- a/spec/support/features/reportable_note_shared_examples.rb +++ b/spec/support/features/reportable_note_shared_examples.rb @@ -20,7 +20,7 @@ shared_examples 'reportable note' do |type| open_dropdown(dropdown) expect(dropdown).to have_link('Report as abuse', href: abuse_report_path) - + if type == 'issue' expect(dropdown).to have_button('Delete comment') else |