diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-07-07 19:49:19 -0400 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-07 19:49:53 -0400 |
commit | d1d74814e35cbff4234fceb1f9333ba76cc91f30 (patch) | |
tree | ac71b97b2efdc29c48f12e78874bca0e1270ea74 /spec/features/notes_on_merge_requests_spec.rb | |
parent | ce30827ccb4eb9febd09f1fdea01c2fda93fe8bb (diff) | |
download | gitlab-ce-d1d74814e35cbff4234fceb1f9333ba76cc91f30.tar.gz |
Fix creating diff notes in features
Diffstat (limited to 'spec/features/notes_on_merge_requests_spec.rb')
-rw-r--r-- | spec/features/notes_on_merge_requests_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/notes_on_merge_requests_spec.rb b/spec/features/notes_on_merge_requests_spec.rb index 61eec0afbee..dd016a36d1e 100644 --- a/spec/features/notes_on_merge_requests_spec.rb +++ b/spec/features/notes_on_merge_requests_spec.rb @@ -231,7 +231,7 @@ describe 'Comments', feature: true do end def click_diff_line(data = line_code) - find(".line_holder[id='#{data}'] td:nth-of-type(1)").hover + find(".line_holder[id='#{data}'] td.line_content").hover find(".line_holder[id='#{data}'] button").trigger('click') end end |