mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 00:58:25 -04:00
Add filetype to all links to download user reports / examples
This commit is contained in:
@@ -666,7 +666,7 @@ def test_organisation_services_links_to_downloadable_report(
|
||||
page = client_request.get('.organisation_dashboard', org_id=ORGANISATION_ID)
|
||||
|
||||
link_to_report = page.select_one('a[download]')
|
||||
assert normalize_spaces(link_to_report.text) == 'Download this report'
|
||||
assert normalize_spaces(link_to_report.text) == 'Download this report (CSV)'
|
||||
assert link_to_report.attrs["href"] == url_for(
|
||||
'.download_organisation_usage_report',
|
||||
org_id=ORGANISATION_ID,
|
||||
|
||||
Reference in New Issue
Block a user