Merge branch 'fix/tests-ci': serial culture tests, screenshot diff, playback, installer and PostgreSQL CI

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-12 11:10:58 +00:00
commit 2a512a61cc
39 files changed
+1825 -218

No files matched your search

+10 -2
View File
@@ -1,3 +1,4 @@
using System.Globalization;
using System.IO;
using System.Windows;
using System.Windows.Media;
@@ -12,6 +13,7 @@ using Titano.App.Library;
using Titano.App.Server;
using Titano.App.Settings;
using Titano.Core.Diagnostics;
using Titano.Ui.Controls;
using Titano.Ui.Theming;
namespace Titano.App.Shell;
@@ -21,8 +23,10 @@ namespace Titano.App.Shell;
/// <c>&lt;screen&gt;-&lt;theme&gt;.png</c> from <see cref="SampleData"/> (first run on an empty index, then a populated
/// one, then the sync table with transfers, a conflict and its confirmation, then the sequence editor on an archive
/// sequence and on a server sequence with proxies, its server job and a read-only account), plus the Library, the
/// editor's Exposure tab and the import plan in Arabic (<c>*-rtl-dark.png</c>, right to left), for visual review and
/// phase reports (BRIEF §20.2), then exits.
/// editor's Exposure tab and the import plan in Arabic (<c>*-rtl-dark.png</c>, right to left), for visual review,
/// the pixel diff against <c>tests/visual/baselines</c> and phase reports (BRIEF §20.2), then exits. The pictures are
/// the same on any day and machine: the clock stands at <see cref="SampleData.Now"/>, formats are English and nothing
/// animates.
/// </summary>
public static class ScreenCapture
{
@@ -34,6 +38,9 @@ public static class ScreenCapture
try
{
Directory.CreateDirectory(directory);
AppClock.Freeze(SampleData.Now);
CultureInfo.CurrentCulture = CultureInfo.DefaultThreadCurrentCulture = CultureInfo.GetCultureInfo("en");
Motion.SetIsEnabled(window, false);
window.WindowStartupLocation = WindowStartupLocation.Manual;
window.Left = -20000;
window.Top = -20000;
@@ -196,6 +203,7 @@ public static class ScreenCapture
dialog.Top = -20000;
dialog.ShowActivated = false;
dialog.ShowInTaskbar = false;
Motion.SetIsEnabled(dialog, false);
dialog.Show();
try
{