summaryrefslogtreecommitdiff
path: root/spec/features/merge_request/user_posts_notes_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-06-14 14:01:24 +0100
committerPhil Hughes <me@iamphill.com>2019-06-14 14:01:24 +0100
commitd2fd6bd51036be836c2c793e2bd7a503c7ad9030 (patch)
treefe86f4b3dca7f33ec37be2c75ea061afafcdb4fe /spec/features/merge_request/user_posts_notes_spec.rb
parent577832598f1b35187efafc426068ef7ac36ae09f (diff)
downloadgitlab-ce-d2fd6bd51036be836c2c793e2bd7a503c7ad9030.tar.gz
Added diff suggestion popover
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56523
Diffstat (limited to 'spec/features/merge_request/user_posts_notes_spec.rb')
-rw-r--r--spec/features/merge_request/user_posts_notes_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_request/user_posts_notes_spec.rb b/spec/features/merge_request/user_posts_notes_spec.rb
index e5770905dbd..8ff24449b39 100644
--- a/spec/features/merge_request/user_posts_notes_spec.rb
+++ b/spec/features/merge_request/user_posts_notes_spec.rb
@@ -141,7 +141,7 @@ describe 'Merge request > User posts notes', :js do
page.within('.current-note-edit-form') do
expect(find('#note_note').value).to eq('This is the new content')
- find('.js-md:first-child').click
+ first('.js-md').click
expect(find('#note_note').value).to eq('This is the new content****')
end
end