diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-12-28 14:52:43 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-12-28 14:52:43 -0600 |
commit | c9d7514fd8d46b0de126fb9d6d081ec25bd3c5bb (patch) | |
tree | 417386f11b8c9f44bfac861659603281d302f614 /spec/support/features/discussion_comments_shared_example.rb | |
parent | 77e1a9b0f8757109ca7f7a4398c46fe8d1d45dbe (diff) | |
parent | e962baf4417e59cbb2ef8621ef0662f93f180f92 (diff) | |
download | gitlab-ce-fix-popover-header-size.tar.gz |
Merge branch 'master' into fix-popover-header-sizefix-popover-header-size
Diffstat (limited to 'spec/support/features/discussion_comments_shared_example.rb')
-rw-r--r-- | spec/support/features/discussion_comments_shared_example.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/support/features/discussion_comments_shared_example.rb b/spec/support/features/discussion_comments_shared_example.rb index 922f3df144d..42a086d58d2 100644 --- a/spec/support/features/discussion_comments_shared_example.rb +++ b/spec/support/features/discussion_comments_shared_example.rb @@ -178,6 +178,16 @@ shared_examples 'discussion comments' do |resource_name| 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'] } + it 'can be replied to after resolving' do + click_button "Resolve discussion" + wait_for_requests + + refresh + wait_for_requests + + submit_reply('to reply or not reply') + end + it 'shows resolved discussion when toggled' do submit_reply('a') |