@@ -230,13 +230,13 @@ def __call__(self, message: str) -> bool:
230230 f"{ json .dumps ({k :round (v ,1 ) for k ,v in self ._current_progress .items ()})} " ,
231231 )
232232
233- return self .has_progress_on_all_expected_node_states () and all (
233+ return self .received_required_node_progress_types () and all (
234234 round (progress , 1 ) == 1.0
235235 for progress in self ._current_progress .values ()
236236 )
237237 return False
238238
239- def has_progress_on_all_expected_node_states (self ):
239+ def received_required_node_progress_types (self ):
240240 return all (
241241 progress_type in self ._current_progress
242242 for progress_type in NodeProgressType .required_types_for_started_service ()
@@ -338,14 +338,15 @@ def expected_service_running(
338338 service_running = ServiceRunning (iframe_locator = None )
339339
340340 try :
341+
341342 with websocket .expect_event ("framereceived" , waiter , timeout = timeout ):
342343 if press_start_button :
343344 _trigger_service_start (page , node_id )
344345
345346 yield service_running
346347
347348 except PlaywrightTimeoutError :
348- if waiter .has_progress_on_all_expected_node_states ():
349+ if waiter .received_required_node_progress_types ():
349350 ctx .logger .warning (
350351 "⚠️ Progress bar didn't receive 100 percent but all states are there: %s ⚠️" , # https://github.com/ITISFoundation/osparc-simcore/issues/6449
351352 waiter .get_current_progress (),
0 commit comments