diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-03 20:06:21 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-03 20:06:21 +0300 |
commit | ebddd8d4801d734190d1dd26e94834208b585260 (patch) | |
tree | ef69a4c74362c097c01071a93343d8af7fb3a32d /spec/features/projects/commit/diff_notes_spec.rb | |
parent | ac417cb39fd9f5d85f75740c9b0ae03026d6d640 (diff) |
fix diff_notes_spec
Diffstat (limited to 'spec/features/projects/commit/diff_notes_spec.rb')
-rw-r--r-- | spec/features/projects/commit/diff_notes_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/commit/diff_notes_spec.rb b/spec/features/projects/commit/diff_notes_spec.rb index f0fe4e00acc..4dbfc6f6edf 100644 --- a/spec/features/projects/commit/diff_notes_spec.rb +++ b/spec/features/projects/commit/diff_notes_spec.rb @@ -20,8 +20,8 @@ feature 'Commit diff', :js do it "adds comment to diff" do diff_line_num = first('.diff-line-num.new') - diff_line_num.trigger('mouseover') - diff_line_num.find('.js-add-diff-note-button').trigger('click') + diff_line_num.hover + diff_line_num.find('.js-add-diff-note-button').click page.within(first('.diff-viewer')) do find('.js-note-text').set 'test comment' |