diff options
author | Samantha Ming <sming@gitlab.com> | 2019-07-15 14:46:06 -0700 |
---|---|---|
committer | Samantha Ming <sming@gitlab.com> | 2019-07-17 13:34:45 -0700 |
commit | 1810feae966e0074b7156148eb40587766a7ec32 (patch) | |
tree | af07043bb6e583ab0983cdb2426c5621e1372e99 /spec/features/merge_request | |
parent | b46cf4290b8efa5e17ea741d1a093042a8d5475a (diff) | |
download | gitlab-ce-1810feae966e0074b7156148eb40587766a7ec32.tar.gz |
Remove duplicate buttons64160-fix-duplicate-buttons
Diffstat (limited to 'spec/features/merge_request')
-rw-r--r-- | spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb b/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb index 10fe60cb075..3e72b2ce71f 100644 --- a/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb +++ b/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb @@ -362,14 +362,14 @@ describe 'Merge request > User resolves diff notes and threads', :js do end end - it 'shows jump to next thread button except on last thread' do + it 'shows jump to next discussion button on all discussions' do wait_for_requests all_discussion_replies = page.all('.discussion-reply-holder') expect(all_discussion_replies.count).to eq(2) - expect(all_discussion_replies.first.all('.discussion-next-btn').count).to eq(2) - expect(all_discussion_replies.last.all('.discussion-next-btn').count).to eq(2) + expect(all_discussion_replies.first.all('.discussion-next-btn').count).to eq(1) + expect(all_discussion_replies.last.all('.discussion-next-btn').count).to eq(1) end it 'displays next thread even if hidden' do |