Merge branch '1544-data-viz-total-message-allowance' into 1484-dashboard-visualizations

# Conflicts:
#	app/assets/sass/uswds/_data-visualization.scss
#	app/assets/sass/uswds/styles.scss
#	app/templates/views/dashboard/dashboard.html
#	app/templates/views/dashboard/template-statistics.html
#	gulpfile.js
#	package-lock.json
This commit is contained in:
Jonathan Bobel
2024-07-17 11:23:53 -04:00
15 changed files with 935 additions and 1127 deletions

View File

@@ -657,9 +657,6 @@ def test_should_not_show_recent_templates_on_dashboard_if_only_one_template_used
stats[0]["template_name"] == "one"
), f"Expected template_name to be 'one', but got {stats[0]['template_name']}"
# Debugging: print the main content to understand where "one" is appearing
print(f"Main content: {main}")
# Check that "one" is not in the main content
assert (
stats[0]["template_name"] in main
@@ -1857,12 +1854,6 @@ def test_service_dashboard_shows_free_allowance(
return_value=FAKE_ONE_OFF_NOTIFICATION,
)
page = client_request.get("main.service_dashboard", service_id=SERVICE_ONE_ID)
usage_text = normalize_spaces(page.select_one("[data-key=usage]").text)
assert "spent on text messages" not in usage_text
assert "Daily Sent Remaining 1,000 249,000" in usage_text
def test_service_dashboard_shows_batched_jobs(
mocker,