From 41e6b01df8c471a7000d7dacd7c633f57d8cc23f Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 7 Aug 2025 14:06:58 -0700 Subject: [PATCH] this is better for now --- selfdrive/ui/tests/test_raylib_ui.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/selfdrive/ui/tests/test_raylib_ui.py b/selfdrive/ui/tests/test_raylib_ui.py index 896adcd3de..d9781e4db2 100644 --- a/selfdrive/ui/tests/test_raylib_ui.py +++ b/selfdrive/ui/tests/test_raylib_ui.py @@ -1,7 +1,8 @@ -import time -from openpilot.selfdrive.test.helpers import with_processes +from openpilot.system.ui.lib.application import gui_app +from openpilot.selfdrive.ui.layouts.main import MainLayout -@with_processes(["raylib_ui"]) -def test_raylib_ui(): - time.sleep(1) +def test_ui(): + """Test initialization of the UI widgets is successful.""" + gui_app.init_window("UI") + MainLayout()