Skip to content

Commit efcd568

Browse files
committed
test: fix windows ui test bring app to foreground
1 parent ccc9db5 commit efcd568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/Tests/test/test_windows_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def stop_sample_app():
650650
print(f"{product_name} stopped successfully.")
651651

652652
def bring_sample_app_to_foreground():
653-
product_name = get_product_name()
653+
product_name = os.getenv("UNITY_APP_NAME", get_product_name())
654654
powershell_script_path = "./switch-app.ps1"
655655

656656
print(f"Bring {product_name} to the foreground.")

0 commit comments

Comments
 (0)