Added reloading to commit non-diff discussion note spec
This commit is contained in:
parent
c1c0c0c21b
commit
b3d748b8ad
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue