fix(test): update test_sprint10 cron history check for i18n key refactor
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user