test(app): screen smoke tests and thumbnail decoding on Windows

Every screen is rendered from the --capture sample data in an off-screen
main window in both themes; thumbnails are decoded from embedded previews
with orientation. The sign-in flow now stores the login token on every
IServerApi, and thumbnail pending loads include index lookups so capture
waits for them. A cancelled-load test no longer depends on scheduling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 12:40:57 +00:00
1 parent ffbea7cb74
commit 8d4b00aceb
6 files changed
+461 -9

No files matched your search

+2
View File
@@ -141,6 +141,8 @@ public sealed class ConnectFlow(IServerApiFactory factory, ITrustStore trust) :
{
var login = await _api.LoginAsync(username.Trim(), password, ct);
if (login.Token is null) return Retry(ConnectError.BadCredentials);
// TitanoClient keeps the token itself; set it explicitly so every IServerApi behaves the same.
_api.Token = login.Token;
User = login.User;
return Set(ConnectStep.Connected, ConnectError.None);
}