@@ -20,14 +20,14 @@ def tearDown(self):
2020 """Clean up after each test method."""
2121 # Navigate back to launcher
2222 mpos .ui .back_screen ()
23- wait_for_render (5 )
23+ wait_for_render (30 )
2424
2525 def test_app_launches_successfully (self ):
2626 """Test that OSUpdate app launches without errors."""
2727 result = AppManager .start_app ("com.micropythonos.osupdate" )
2828
2929 self .assertTrue (result , "Failed to start OSUpdate app" )
30- wait_for_render (10 )
30+ wait_for_render (30 )
3131
3232 # Get active screen
3333 screen = lv .screen_active ()
@@ -37,7 +37,7 @@ def test_ui_elements_exist(self):
3737 """Test that all required UI elements are created."""
3838 result = AppManager .start_app ("com.micropythonos.osupdate" )
3939 self .assertTrue (result )
40- wait_for_render (15 )
40+ wait_for_render (30 )
4141
4242 screen = lv .screen_active ()
4343
@@ -56,7 +56,7 @@ def test_install_button_text_exists(self):
5656 """Test that install button with update text exists on screen."""
5757 result = AppManager .start_app ("com.micropythonos.osupdate" )
5858 self .assertTrue (result )
59- wait_for_render (15 )
59+ wait_for_render (30 )
6060
6161 screen = lv .screen_active ()
6262
@@ -71,7 +71,7 @@ def test_current_version_displayed(self):
7171 """Test that current OS version is displayed correctly."""
7272 result = AppManager .start_app ("com.micropythonos.osupdate" )
7373 self .assertTrue (result )
74- wait_for_render (15 )
74+ wait_for_render (30 )
7575
7676 screen = lv .screen_active ()
7777
@@ -91,7 +91,7 @@ def test_initial_status_message_without_wifi(self):
9191 # On actual hardware without wifi, it would show error
9292 result = AppManager .start_app ("com.micropythonos.osupdate" )
9393 self .assertTrue (result )
94- wait_for_render (15 )
94+ wait_for_render (30 )
9595
9696 screen = lv .screen_active ()
9797
@@ -106,7 +106,7 @@ def test_initial_state_labels(self):
106106 """Print initial app labels for debugging."""
107107 result = AppManager .start_app ("com.micropythonos.osupdate" )
108108 self .assertTrue (result )
109- wait_for_render (20 )
109+ wait_for_render (30 )
110110
111111 screen = lv .screen_active ()
112112
@@ -120,13 +120,13 @@ class TestOSUpdateGraphicalStatusMessages(unittest.TestCase):
120120 def tearDown (self ):
121121 """Clean up after test."""
122122 mpos .ui .back_screen ()
123- wait_for_render (5 )
123+ wait_for_render (30 )
124124
125125 def test_status_label_exists (self ):
126126 """Test that status label is created and visible."""
127127 result = AppManager .start_app ("com.micropythonos.osupdate" )
128128 self .assertTrue (result )
129- wait_for_render (15 )
129+ wait_for_render (30 )
130130
131131 screen = lv .screen_active ()
132132
@@ -145,7 +145,7 @@ def test_all_labels_readable(self):
145145 """Test that all labels are readable (no truncation issues)."""
146146 result = AppManager .start_app ("com.micropythonos.osupdate" )
147147 self .assertTrue (result )
148- wait_for_render (15 )
148+ wait_for_render (30 )
149149
150150 screen = lv .screen_active ()
151151
0 commit comments