From 39b97d4e18b99712344f898ee03975889d64fb6f Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 3 Oct 2025 17:50:02 -0700 Subject: [PATCH] raylib screenshots: use long branch name (#36254) * stress test * everything --- selfdrive/ui/tests/test_ui/raylib_screenshots.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/selfdrive/ui/tests/test_ui/raylib_screenshots.py b/selfdrive/ui/tests/test_ui/raylib_screenshots.py index f570a701ba..36d4e1f504 100755 --- a/selfdrive/ui/tests/test_ui/raylib_screenshots.py +++ b/selfdrive/ui/tests/test_ui/raylib_screenshots.py @@ -28,6 +28,14 @@ UI_DELAY = 0.2 OFFROAD_ALERTS = ['Offroad_IsTakingSnapshot'] +def put_update_params(params: Params): + params.put("UpdaterCurrentReleaseNotes", parse_release_notes(BASEDIR)) + params.put("UpdaterNewReleaseNotes", parse_release_notes(BASEDIR)) + description = "0.10.1 / this-is-a-really-super-mega-long-branch-name / 7864838 / Oct 03" + params.put("UpdaterCurrentDescription", description) + params.put("UpdaterNewDescription", description) + + def setup_homescreen(click, pm: PubMaster): pass @@ -51,6 +59,7 @@ def setup_settings_toggles(click, pm: PubMaster): def setup_settings_software(click, pm: PubMaster): + put_update_params(Params()) setup_settings(click, pm) click(278, 720) @@ -92,9 +101,7 @@ def setup_confirmation_dialog(click, pm: PubMaster): def setup_update_available(click, pm: PubMaster): params = Params() params.put_bool("UpdateAvailable", True) - params.put("UpdaterNewReleaseNotes", parse_release_notes(BASEDIR)) - description = "0.10.1 / html-release-notes-2 / 7864838 / Oct 03" - params.put("UpdaterCurrentDescription", description) + put_update_params(params) setup_settings(click, pm) close_settings(click, pm)