summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_commit_box.html.haml
diff options
context:
space:
mode:
authorNailia Iskhakova <niskhakova@gitlab.com>2019-08-29 09:30:04 +0000
committerRémy Coutable <remy@rymai.me>2019-08-29 09:30:04 +0000
commit8a5aa52813b8aa54ea3de2a860dc853038fac616 (patch)
tree4e7c7ce52440f20a8bb2b57648a9f7aec780e31c /app/views/projects/commit/_commit_box.html.haml
parenta3c25718ac9dc37424234ade0ac59b789874d4f6 (diff)
downloadgitlab-ce-8a5aa52813b8aa54ea3de2a860dc853038fac616.tar.gz
Add E2E spec to ensure that issue closes
Add E2E spec to test that issue closes with commit message
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index a766dd51463..6c77036a85b 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -5,7 +5,7 @@
= render partial: 'signature', object: @commit.signature
%strong
#{ s_('CommitBoxTitle|Commit') }
- %span.commit-sha= @commit.short_id
+ %span.commit-sha{ data: { qa_selector: 'commit_sha_content' } }= @commit.short_id
= clipboard_button(text: @commit.id, title: _('Copy commit SHA to clipboard'))
%span.d-none.d-sm-inline= _('authored')
#{time_ago_with_tooltip(@commit.authored_date)}