diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-10 15:36:33 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-10-11 23:19:45 +0800 |
commit | 577539ea86376c49e330774cdeaea75d1803d378 (patch) | |
tree | 8f34abf55cf8e0263d24e7486ebe7a678bd2a459 /spec | |
parent | 5f2901bf5b56caa3adfa3f63c87a68db4d2dd184 (diff) | |
download | gitlab-ce-577539ea86376c49e330774cdeaea75d1803d378.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.rb | 8 |
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 |