diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-09-28 16:55:25 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-10-02 18:39:25 +0200 |
commit | b74c643c66fd15c95ad148231ebcf4f85283ca16 (patch) | |
tree | 889376c02f90b53b2bfe581dbef3896a3b6e4261 /features | |
parent | e0e49f2f7120fee6ee34236ed6463e4c130f2ad1 (diff) | |
download | gitlab-ce-b74c643c66fd15c95ad148231ebcf4f85283ca16.tar.gz |
Only copy old/new code when selecting left/right side of parallel diffdm-copy-parallel-diff
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/shared/diff_note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb index 2c59ec5bb06..c872bd6f861 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_holder.parallel .diff-line-num[id='#{code}']").trigger 'mouseover' + find(".line_holder.parallel td[id='#{code}']").find(:xpath, 'preceding-sibling::*[1][self::td]').trigger 'mouseover' find(".line_holder.parallel button[data-line-code='#{code}']").trigger 'click' end end |