Skip to content
Snippets Groups Projects
Commit 3d6086d0 authored by Sean McGivern's avatar Sean McGivern Committed by Timothy Andrew
Browse files

Merge branch 'fix-notes_on_personal_snippets_spec-timeago-assertion-ce' into 'master'

Fix notes_on_personal_snippets_spec

Closes #31938

See merge request !11160
parent 848466ee
No related branches found
No related tags found
1 merge request!12258Update Prometheus Merge Request Metrics page
Pipeline #
Loading
Loading
@@ -78,9 +78,11 @@ describe 'Comments on personal snippets', :js, feature: true do
end
 
page.within("#notes-list li#note_#{snippet_notes[0].id}") do
edited_text = find('.edited-text')
expect(page).to have_css('.note_edited_ago')
expect(page).to have_content('new content')
expect(find('.note_edited_ago').text).to match(/less than a minute ago/)
expect(edited_text).to have_selector('.note_edited_ago')
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment