raylib screenshots: use long branch name (#36254)

* stress test

* everything
pull/36255/head
Shane Smiskol 4 days ago committed by GitHub
parent 45f497e8f6
commit 39b97d4e18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 13
      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)

Loading…
Cancel
Save