fix(test): update test_sprint10 cron history check for i18n key refactor

This commit is contained in:
Nathan Esquenazi
2026-04-14 17:11:39 +00:00
parent 6347949463
commit 09e278461c

View File

@@ -107,7 +107,7 @@ def test_crons_output_limit_param(cleanup_test_sessions):
def test_cron_history_button_in_panels_js(cleanup_test_sessions): def test_cron_history_button_in_panels_js(cleanup_test_sessions):
src, _ = get_text("/static/panels.js") src, _ = get_text("/static/panels.js")
assert "loadCronHistory" in src assert "loadCronHistory" in src
assert "All runs" in src assert "cron_all_runs" in src # i18n key (was hardcoded 'All runs' before i18n hardening)
def test_cron_output_snippet_helper(cleanup_test_sessions): def test_cron_output_snippet_helper(cleanup_test_sessions):
src, _ = get_text("/static/panels.js") src, _ = get_text("/static/panels.js")