From 84bc481dd0672706a934986d87dd3141da9ea485 Mon Sep 17 00:00:00 2001 From: Dom <168790843+firestar5683@users.noreply.github.com> Date: Fri, 30 Oct 2026 18:58:02 -0500 Subject: [PATCH] Align Galaxy test fixtures with current developer controls --- openpilot/starpilot/galaxy/tests/test_home_polish.mjs | 2 +- .../galaxy/tests/test_offroad_configuration_pages.py | 6 +++--- prebuilt.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/openpilot/starpilot/galaxy/tests/test_home_polish.mjs b/openpilot/starpilot/galaxy/tests/test_home_polish.mjs index eb3865e9fa..b6e406a58a 100644 --- a/openpilot/starpilot/galaxy/tests/test_home_polish.mjs +++ b/openpilot/starpilot/galaxy/tests/test_home_polish.mjs @@ -25,7 +25,7 @@ assert.ok(GalaxyPage.template.includes('.*Force Drive State/) +assert.match(DriveStatePanel.template, /
.*Force Drive State/) assert.match(css, /\.gx-panel \{ padding: var\(--panel-padding\);/) for (const component of [Home, DriveStatePanel, GalaxyPage]) compile(component.template, { decodeEntities: value => value.replaceAll('&', '&') }) diff --git a/openpilot/starpilot/galaxy/tests/test_offroad_configuration_pages.py b/openpilot/starpilot/galaxy/tests/test_offroad_configuration_pages.py index 8c63cdad89..d2f898c986 100644 --- a/openpilot/starpilot/galaxy/tests/test_offroad_configuration_pages.py +++ b/openpilot/starpilot/galaxy/tests/test_offroad_configuration_pages.py @@ -57,9 +57,9 @@ class TestOffroadConfigurationPages(unittest.TestCase): current = self.editable_inventory(self.page(name)) expected = saved[name] if name == 'developer': - self.assertEqual([row[0] for row in expected], ['Use VOACC']) - self.assertFalse(expected[0][1]) - self.assertTrue(current[0][1]) + self.assertEqual([row[0] for row in expected], ['Use VOACC', 'Try Chubbs Lane Centering']) + self.assertEqual([row[1] for row in expected], [False, False]) + self.assertEqual([row[1] for row in current], [True, True]) expected = [(row[0], True, *row[2:]) for row in expected] if name == 'profiles': # Saved configuration uses the native catalog; this preference is Galaxy-only. diff --git a/prebuilt.json b/prebuilt.json index 876a0ec41e..ea9c7a2f51 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "c039ad1560a9abaa906ce3988f5f0a9b16c76abc470eafe2d955fea9096a7e25", "schema_version": 1} +{"protected_inventory_sha256": "342ebd34de3bf25b67db2aaad0f891d307560ee132fdea15059e22c66b8081f0", "schema_version": 1}