Changed word to look for and added additional wait time

This commit is contained in:
J-Doiron
2025-02-12 15:32:59 -08:00
parent 61a7c76ff9
commit 7678704fe2

View File

@@ -62,7 +62,7 @@ def run_benchmark() -> tuple[float]:
time.sleep(10)
# Make sure the game started correctly
if kerasService.wait_for_word(word="remastered", timeout=30, interval=1) is None:
if kerasService.wait_for_word(word="overlay", timeout=30, interval=1) is None:
logging.info("Could not find the main menu. Did the game load?")
sys.exit(1)
@@ -150,7 +150,7 @@ def run_benchmark() -> tuple[float]:
terminate_processes(PROCESS_NAME)
am.create_manifest()
time.sleep(15)
return test_start_time, test_end_time