@@ -69,7 +69,7 @@ def tearDown(self):
6969
7070 try :
7171 mpos .ui .back_screen ()
72- wait_for_render (5 )
72+ wait_for_render (25 )
7373 except Exception :
7474 pass
7575
@@ -78,11 +78,11 @@ def test_hotspot_start_button_enables_hotspot(self):
7878 print ("\n === Starting hotspot start-flow test ===" )
7979
8080 WifiService .disable_hotspot ()
81- wait_for_render (5 )
81+ wait_for_render (25 )
8282
8383 result = AppManager .start_app ("com.micropythonos.settings.hotspot" )
8484 self .assertTrue (result , "Failed to start hotspot settings app" )
85- wait_for_render (iterations = 20 )
85+ wait_for_render (iterations = 25 )
8686
8787 screen = lv .screen_active ()
8888 print ("\n Hotspot screen labels:" )
@@ -99,7 +99,7 @@ def test_hotspot_start_button_enables_hotspot(self):
9999 click_button ("Start" ),
100100 "Could not find Start button in hotspot app" ,
101101 )
102- wait_for_render (iterations = 20 )
102+ wait_for_render (iterations = 25 )
103103
104104 self .assertTrue (
105105 WifiService .is_hotspot_enabled (),
@@ -108,15 +108,15 @@ def test_hotspot_start_button_enables_hotspot(self):
108108
109109 result = AppManager .start_app ("com.micropythonos.settings.wifi" )
110110 self .assertTrue (result , "Failed to start WiFi settings app" )
111- wait_for_render (iterations = 20 )
111+ wait_for_render (iterations = 25 )
112112
113113 screen = lv .screen_active ()
114114 print ("\n WiFi screen labels (before scan wait):" )
115115 print_screen_labels (screen )
116116
117117 print ("\n Waiting 10 seconds for WiFi scan to finish..." )
118118 time .sleep (10 )
119- wait_for_render (iterations = 20 )
119+ wait_for_render (iterations = 25 )
120120
121121 screen = lv .screen_active ()
122122 print ("\n WiFi screen labels (after scan wait):" )
@@ -131,13 +131,13 @@ def test_hotspot_start_button_enables_hotspot(self):
131131 first_item .send_event (lv .EVENT .CLICKED , None )
132132 else :
133133 first_item .send_event (lv .EVENT .CLICKED , None )
134- wait_for_render (iterations = 40 )
134+ wait_for_render (iterations = 50 )
135135
136136 self .assertTrue (
137137 click_button ("Connect" ),
138138 "Could not find Connect button in WiFi edit screen" ,
139139 )
140- wait_for_render (iterations = 40 )
140+ wait_for_render (iterations = 50 )
141141
142142 self .assertFalse (
143143 WifiService .is_hotspot_enabled (),
0 commit comments