summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-30 07:46:37 +0000
committerPhil Hughes <me@iamphill.com>2017-06-30 07:46:37 +0000
commitfefe9f4e7896fadc93e40c3d649779a69679fb4e (patch)
treefad29dab8e9e8d947c93b1f0e8a607ace0d21801 /features
parent8900bd9d267f1524c3e5281dfedf644ec57fc62f (diff)
parent81e9c2842574b10d694a8e29665c77fde7fd6ae5 (diff)
downloadgitlab-ce-fefe9f4e7896fadc93e40c3d649779a69679fb4e.tar.gz
Merge branch 'inject-add-diff-note' into 'master'
Render add-diff-note with server and optimize styles See merge request !12103
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/diff_note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb
index 36fc315599e..2c59ec5bb06 100644
--- a/features/steps/shared/diff_note.rb
+++ b/features/steps/shared/diff_note.rb
@@ -232,7 +232,7 @@ module SharedDiffNote
end
def click_parallel_diff_line(code, line_type)
- find(".line_content.parallel.#{line_type}[data-line-code='#{code}']").trigger 'mouseover'
+ find(".line_holder.parallel .diff-line-num[id='#{code}']").trigger 'mouseover'
find(".line_holder.parallel button[data-line-code='#{code}']").trigger 'click'
end
end