summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authormicael.bergeron <micael.bergeron@solutionstlm.com>2017-09-06 08:47:58 -0400
committermicael.bergeron <micael.bergeron@solutionstlm.com>2017-09-06 09:00:57 -0400
commit7d2302605c8f40ebbfe72ad7efa5a32aa4c806fe (patch)
tree22da72ce73c4db942ad9176be27324b79c4af497 /spec/features
parentd828932eac3ec1a2983edef03bbd3ab99057d531 (diff)
downloadgitlab-ce-7d2302605c8f40ebbfe72ad7efa5a32aa4c806fe.tar.gz
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/merge_requests/diff_notes_avatars_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/merge_requests/diff_notes_avatars_spec.rb b/spec/features/merge_requests/diff_notes_avatars_spec.rb
index e77f1f92731..ca536f2800c 100644
--- a/spec/features/merge_requests/diff_notes_avatars_spec.rb
+++ b/spec/features/merge_requests/diff_notes_avatars_spec.rb
@@ -139,7 +139,7 @@ feature 'Diff note avatars', js: true do
end
page.within find("[id='#{position.line_code(project.repository)}']") do
- find('.diff-notes-collapse').click
+ find('.diff-notes-collapse').trigger('click')
expect(page).to have_selector('img.js-diff-comment-avatar', count: 2)
end
@@ -152,7 +152,7 @@ feature 'Diff note avatars', js: true do
page.within '.js-discussion-note-form' do
find('.js-note-text').native.send_keys('Test')
- find('.js-comment-button').trigger 'click'
+ find('.js-comment-button').trigger('click')
wait_for_requests
end