Merge pull request #2567 from GSA/2211-update-language-regarding-auto-refresh

2211 - Update content to inform user of page refresh
This commit is contained in:
Alex Janousek
2025-05-15 11:34:14 -04:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -11,6 +11,9 @@
{% block maincolumn_content %}
{{ page_header("Message status") }}
{% if not job.finished_processing %}
<p class="max-width-full">This page refreshes automatically to show the latest message activity delivery rates, details, and reports.<br>You can watch it in progress or check back later.</p>
{% endif %}
<div data-job-id="{{ job.id }}" data-feature="{{FEATURE_SOCKET_ENABLED | lower}}" data-host="{{ api_host_name }}">
{% if not job.finished_processing %}
<div

View File

@@ -237,11 +237,11 @@ def test_should_show_job_with_sending_limit_exceeded_status(
job_id=fake_uuid,
)
assert normalize_spaces(page.select("main p")[2].text) == (
assert normalize_spaces(page.select("main p")[3].text) == (
"Notify cannot send these messages because you have reached a limit. "
"You can only send 1,000 messages per day and 250,000 messages in total."
)
assert normalize_spaces(page.select("main p")[3].text) == (
assert normalize_spaces(page.select("main p")[4].text) == (
"Upload this spreadsheet again tomorrow or contact the Notify.gov team to raise the limit."
)