Assert on page contents before reloading report for interface JS spec (#34132)

pull/2993/head
Matt Jankowski 2025-03-11 05:14:16 -04:00 committed by GitHub
parent 72d7297bc4
commit dc43699b77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -40,5 +40,7 @@ RSpec.describe 'report interface', :attachment_processing, :js, :streaming do
within '.report-actions' do
click_on I18n.t('admin.reports.mark_as_resolved')
end
expect(page)
.to have_content(I18n.t('admin.reports.resolved_msg'))
end
end