46 lines
1.5 KiB
AutoHotkey
46 lines
1.5 KiB
AutoHotkey
; Mosis Designer Test Configuration
|
|
; AutoHotkey v2
|
|
|
|
; Paths
|
|
global DESIGNER_EXE := A_ScriptDir . "\..\build\Debug\mosis-designer.exe"
|
|
global ASSETS_PATH := A_ScriptDir . "\..\..\src\main\assets"
|
|
global HOME_RML := ASSETS_PATH . "\apps\home\home.rml"
|
|
global LOG_FILE := A_ScriptDir . "\test_output.log"
|
|
global SCREENSHOT_DIR := A_ScriptDir . "\screenshots"
|
|
|
|
; Window settings
|
|
global WINDOW_TITLE := "Mosis Designer"
|
|
global PHONE_WIDTH := 540
|
|
global PHONE_HEIGHT := 960
|
|
|
|
; Timeouts (milliseconds)
|
|
global STARTUP_TIMEOUT := 10000 ; Wait for window to appear
|
|
global NAVIGATION_TIMEOUT := 2000 ; Wait for navigation to complete
|
|
global CLICK_DELAY := 100 ; Delay after click
|
|
|
|
; App icon positions on home screen (approximate center of each icon)
|
|
; Grid is 4 columns, icons are ~135px apart horizontally
|
|
; First row starts around Y=100
|
|
global APP_POSITIONS := Map(
|
|
"phone", {x: 67, y: 120},
|
|
"messages", {x: 202, y: 120},
|
|
"contacts", {x: 337, y: 120},
|
|
"browser", {x: 472, y: 120},
|
|
"gallery", {x: 67, y: 220},
|
|
"camera", {x: 202, y: 220},
|
|
"settings", {x: 337, y: 220},
|
|
"music", {x: 472, y: 220},
|
|
"calendar", {x: 67, y: 320},
|
|
"clock", {x: 202, y: 320},
|
|
"notes", {x: 337, y: 320},
|
|
"maps", {x: 472, y: 320}
|
|
)
|
|
|
|
; Dock positions (bottom of screen)
|
|
global DOCK_POSITIONS := Map(
|
|
"phone", {x: 67, y: 920},
|
|
"messages", {x: 202, y: 920},
|
|
"contacts", {x: 337, y: 920},
|
|
"browser", {x: 472, y: 920}
|
|
)
|