Skip to content

The agent that grows with you

fix(e2e): re-capture launch-button template + correct fallback fraction

Teknium60493c9e7efc
diff --git a/tests/install/e2e-assets/install-and-launch.ahk b/tests/install/e2e-assets/install-and-launch.ahk
index 873b3a5d658..03079212099 100644
--- a/tests/install/e2e-assets/install-and-launch.ahk
+++ b/tests/install/e2e-assets/install-and-launch.ahk
@@ -115,9 +115,11 @@ installerWin := "ahk_exe " setupExe
appWin := "ahk_exe Hermes.exe"
; Button center as a fraction of the window rect (installer is ~full-screen
-; on the runner). Measured from a live CI frame: center ~ (0.50, 0.59).
+; on the runner). Measured from a live CI frame where the template match
+; landed at screen (511,454) inside window x=64 y=34 w=896 h=659:
+; fx = (511-64)/896 = 0.50 ; fy = (454-34)/659 = 0.637
BTN_FX := 0.50
-BTN_FY := 0.59
+BTN_FY := 0.637
Log("Waiting for a real-sized installer window (" installerWin ") ...")
rect := WaitForRealWindow(installerWin, 90000)
diff --git a/tests/install/e2e-assets/launch-button.png b/tests/install/e2e-assets/launch-button.png
index 6ab89a75ca3..7b2d9fd55c2 100644
Binary files a/tests/install/e2e-assets/launch-button.png and b/tests/install/e2e-assets/launch-button.png differ