summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-10 15:36:33 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-10-10 15:36:33 +0000
commit9ac5338b8eb361927ad068486398b92acb0c287e (patch)
treed3743aaeb4ad4a69171e72ea382689122fb17ecf /spec
parent97ece0ba06621a29f4935fadebc9d064d20de325 (diff)
parenteff96b8c775c19b320f97b5d6359822f2b7929f1 (diff)
downloadgitlab-ce-9ac5338b8eb361927ad068486398b92acb0c287e.tar.gz
Merge branch 'fix-resolved-discussion' into 'master'
Fix unable to expand text diff discussion comments Closes #38940 See merge request gitlab-org/gitlab-ce!14792
Diffstat (limited to 'spec')
-rw-r--r--spec/features/merge_requests/diffs_spec.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/features/merge_requests/diffs_spec.rb b/spec/features/merge_requests/diffs_spec.rb
index 80fb7335989..2adca58620f 100644
--- a/spec/features/merge_requests/diffs_spec.rb
+++ b/spec/features/merge_requests/diffs_spec.rb
@@ -44,12 +44,8 @@ feature 'Diffs URL', :js do
visit "#{diffs_project_merge_request_path(project, merge_request)}#{fragment}"
end
- it 'shows collapsed note' do
- wait_for_requests
-
- expect(page).to have_selector('.discussion-notes.collapsed') do |note_container|
- expect(note_container).to have_selector(fragment, visible: false)
- end
+ it 'shows expanded note' do
+ expect(page).to have_selector(fragment, visible: true)
end
end
end