diff options
author | Natalia Tepluhina <ntepluhina@gitlab.com> | 2019-07-03 08:26:57 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-07-03 08:26:57 +0000 |
commit | d4151b14c2986db173a7a1a4d293b86bfcdaae3a (patch) | |
tree | f3bb3b6829671ddeb17dd4f373b3e358187df7b8 /spec/support | |
parent | fd547ee4c618ab8d93ba07121e7bc6bf2924a1b3 (diff) | |
download | gitlab-ce-d4151b14c2986db173a7a1a4d293b86bfcdaae3a.tar.gz |
Rebased and squashed commits
- all commits squashed to make danger review happy
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/features/discussion_comments_shared_example.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/features/discussion_comments_shared_example.rb b/spec/support/features/discussion_comments_shared_example.rb index 0f8af2c5d6d..3d008edb0ca 100644 --- a/spec/support/features/discussion_comments_shared_example.rb +++ b/spec/support/features/discussion_comments_shared_example.rb @@ -176,7 +176,7 @@ shared_examples 'discussion comments' do |resource_name| if resource_name == 'merge request' let(:note_id) { find("#{comments_selector} .note:first-child", match: :first)['data-note-id'] } - let(:reply_id) { find("#{comments_selector} .note:last-child", match: :first)['data-note-id'] } + let(:reply_id) { find("#{comments_selector} .note:last-of-type", match: :first)['data-note-id'] } it 'can be replied to after resolving' do click_button "Resolve discussion" |