Commit 76d9dc34 authored by Albert Salim's avatar Albert Salim

Loosen test assertion for edit note

parent 11311bd5
...@@ -165,9 +165,9 @@ describe 'Merge request > User posts notes', :js do ...@@ -165,9 +165,9 @@ describe 'Merge request > User posts notes', :js do
find('.js-note-edit').click find('.js-note-edit').click
page.within('.current-note-edit-form') do page.within('.current-note-edit-form') do
expect(find('#note_note').value).to eq('This is the new content') expect(find('#note_note').value).to include('This is the new content')
first('.js-md').click first('.js-md').click
expect(find('#note_note').value).to eq('This is the new content****') expect(find('#note_note').value).to include('This is the new content****')
end end
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