Run the autotest locally
gamealia_run_autotestBuilds and runs a local headless Chromium autotest for Gamealia games on desktop and mobile to verify SDK lifecycle, rendering, input, ads, console errors, and security before upload.
Instructions
Builds (unless build:false) and runs the full Gamealia autotest locally in headless Chromium, desktop 1280x720 and mobile 390x844, the same checks as the server: SDK lifecycle, blank screen, input response, ads (mock), console errors, static security analysis. Run it before gamealia_upload_version, which repeats it on the server. No login; writes screenshots and report.json to a temp folder; takes a while (progress notifications). Returns pass/warn/fail, the failed checks with fixes, the screenshot paths and key screenshots as images.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Project folder (absolute, or relative to the server's working directory) | |
| build | No | Run the build command first when the project has one (default true) | |
| images | No | How many screenshots to return as images, 0-6 (default 3); all paths are listed anyway | |
| backendHosts | No | Your own servers the game may call, as in the listing, e.g. ["mp.example.com"]; other external hosts are flagged |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| status | Yes | ||
| problems | Yes | ||
| outputDir | Yes | ||
| reportPath | Yes | ||
| screenshots | Yes | ||
| failedRequired | Yes |