Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia Tepluhina <ntepluhina@gitlab.com>2019-07-03 11:26:57 +0300
committerPhil Hughes <me@iamphill.com>2019-07-03 11:26:57 +0300
commitd4151b14c2986db173a7a1a4d293b86bfcdaae3a (patch)
treef3bb3b6829671ddeb17dd4f373b3e358187df7b8 /spec/support/features
parentfd547ee4c618ab8d93ba07121e7bc6bf2924a1b3 (diff)
Rebased and squashed commits
- all commits squashed to make danger review happy
Diffstat (limited to 'spec/support/features')
-rw-r--r--spec/support/features/discussion_comments_shared_example.rb2
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"