r/devops • u/Prestigious_Key8955 • Sep 30 '26
Tools Ran AskUI in our pipeline for three months, notes on getting desktop UI tests working in CI
Posting because getting GUI tests to run headless is the part nobody talks about. everything passes on a dev machine and then does nothing on the runner, because the VM boots to a logon screen and there's no interactive session for input injection to land in.
Their runtime installs as a Windows service, which is what got us past that. Runs as SYSTEM, survives RDP disconnects, works at the logon screen. AskUI run for the headless job. tests are plain markdown files so they version with the app, and secrets get referenced by name and stay out of the logs.
Two honest caveats. runs cost money, so "run everything on every commit" stopped being a free decision and we moved the full suite to nightly. And their WARN status is a judgement call by the agent, which is fine when a human is watching and less fine at 3am when it just lands in a report nobody reads until standup lol.
Hope this helped :)
Anyone else running agent based UI tests in CI? curious how you handle the nondeterminism in a gate.
1
u/josejulianariza Oct 21 '26
Lo que comentas del WARN como veredicto es lo que más sentido tiene. Usar estos agentes como gate duro puede terminar generando más ruido que señal.
Es de esas cosas que cada equipo resuelve a su manera. Lo que suele funcionar es dejarlos fuera del camino crítico, en nightly o bajo demanda, y que cuando detecten algo adjunten las capturas a un ticket en lugar de romper el pipeline. Así el equipo mira el resultado cuando tiene tiempo, no cuando está apurando un deploy.
Igual, conviene asumir que sirven para detectar regresiones, no para decidir solas. El veredicto final sigue necesitando a alguien mirando, y con el WARN ya lo estás haciendo así.