diff --git a/F1_24/f1_24.py b/F1_24/f1_24.py index 0aae302..b01ad48 100644 --- a/F1_24/f1_24.py +++ b/F1_24/f1_24.py @@ -106,7 +106,10 @@ def navigate_startup(): user.press("enter") time.sleep(2) - +def offline_menu(): + result = kerasService.wait_for_word("Failed", timeout=50) + if not result: + logging.info("Didn't find the keyword 'Failed'") def run_benchmark(): """Runs the actual benchmark.""" remove_files(intro_videos) @@ -117,6 +120,8 @@ def run_benchmark(): time.sleep(2) navigate_startup() + offline_menu() + # Navigate menus and take screenshots using the artifact manager result = kerasService.wait_for_word("theatre", interval=3, timeout=60) if not result: