summaryrefslogtreecommitdiff
path: root/features/steps/shared/diff_note.rb
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-10-03 12:11:56 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-10-03 12:11:56 -0500
commitf682cc189a38e6cbe6ee92a3327d6b865c42e84a (patch)
tree212dcf7c84a96615040ce81d51cad01e6e9454d0 /features/steps/shared/diff_note.rb
parent62364576bc4e2b141752a6ea9068171fa619a6ff (diff)
parent18fee3060c78e032777b5dc6b3d1f60432446ea5 (diff)
downloadgitlab-ce-f682cc189a38e6cbe6ee92a3327d6b865c42e84a.tar.gz
Merge branch 'master' into sh-headless-chrome-support
Diffstat (limited to 'features/steps/shared/diff_note.rb')
-rw-r--r--features/steps/shared/diff_note.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb
index 4f2f33cf768..aa32528a7ca 100644
--- a/features/steps/shared/diff_note.rb
+++ b/features/steps/shared/diff_note.rb
@@ -231,6 +231,7 @@ module SharedDiffNote
end
def click_parallel_diff_line(code, line_type)
+ find(".line_holder.parallel td[id='#{code}']").find(:xpath, 'preceding-sibling::*[1][self::td]').hover
find(".line_holder.parallel button[data-line-code='#{code}']").click
end
end