This commit is contained in:
Nikolas
2025-07-17 15:15:37 -07:00
parent 1dd60ae28d
commit 084dbcf26f
2 changed files with 9 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ class ArtifactManager:
The newly created artifact's `type` and `description` fields are set to the given
`artifact_type` and `description` arguments respectively while the artifact's `filename`
is set to the basename of `src`.
Raises a `ValueError` if `src` points to a directory instead of a file.
"""
src_path = Path(src)
@@ -108,7 +108,7 @@ class ArtifactManager:
The newly created artifact's `filename`, `type` and `description` fields are set to the
given `filename`, `artifact_type` and `description` arguments respectively.
Raises a `ValueError` if `artifact_type` is not one of the `ArtifactType` values which represents an image.
Raises a `ValueError` if `artifact_type` is not one of the `ArtifactType` values which represents an image.
"""
if artifact_type not in _IMAGE_ARTIFACT_TYPES:
raise ValueError("artifact_type should be a type that represents an image artifact")

View File

@@ -39,8 +39,15 @@ def run_benchmark():
setup_start_time = int(time.time())
exec_steam_run_command(STEAM_GAME_ID)
am = ArtifactManager(LOG_DIRECTORY)
time.sleep(80)
# patch to look for seasonal popup
result = kerasService.look_for_word_vulkan("strange", attempts=30, interval=1)
if result:
user.press("enter")
time.sleep(3)
# Press Z to enter settings
result = kerasService.look_for_word_vulkan("settings", attempts=30, interval=1)
if not result: