Commit b3d748b8 authored by Constance Okoghenun's avatar Constance Okoghenun

Added reloading to commit non-diff discussion note spec

parent c1c0c0c2
......@@ -94,6 +94,8 @@ describe 'Merge request > User sees discussions', :js do
it 'displays correct header' do
page.within(find("#note_#{note.id}", match: :first)) do
refresh # Trigger a refresh of notes.
wait_for_requests
expect(page).to have_content "commented on commit #{note.commit_id[0...7]}"
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment