Update tlou2.py (#166)

extra presses for new menus
This commit is contained in:
j-lin-lmg
2025-10-01 14:48:22 -07:00
committed by GitHub
parent 9ba400973a
commit 19340c52ae

View File

@@ -131,6 +131,8 @@ def run_benchmark(keras_service: KerasService) -> tuple:
time.sleep(0.3)
user.press("space")
if keras_service.wait_for_word(word="continue", timeout=5, interval=0.2) is None:
user.press("down")
else:
@@ -242,7 +244,7 @@ def navigate_settings(am: ArtifactManager, keras: KerasService) -> None:
am.take_screenshot("graphics3.png", ArtifactType.CONFIG_IMAGE,
"graphics settings 3") # is at the bottom of the menu
press_n_times("up", 12)
press_n_times("up", 13)
find_word(keras, "scattering", "Couldn't find scattering")