merge: integration branch claude/keen-knuth-uhxv8w (radio groups, RTL capture) into the Library workstream
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
9 files changed
+31
-54
No files matched your search
@@ -3,7 +3,6 @@ using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Threading;
|
||||
using Titano.App.Infrastructure;
|
||||
using Titano.App.Sections;
|
||||
using Titano.App.Server;
|
||||
@@ -142,8 +141,11 @@ public sealed class SettingsScreenSmokeTests
|
||||
try
|
||||
{
|
||||
Assert.Equal(FlowDirection.RightToLeft, main.FlowDirection);
|
||||
// Loaded comes with the first render, which can follow an idle tick; class handlers run before this one.
|
||||
var loaded = new TaskCompletionSource();
|
||||
dialog.Loaded += (_, _) => loaded.TrySetResult();
|
||||
dialog.Show();
|
||||
await dialog.Dispatcher.InvokeAsync(() => { }, DispatcherPriority.ApplicationIdle);
|
||||
await loaded.Task.WaitAsync(TimeSpan.FromSeconds(10));
|
||||
Assert.Equal(FlowDirection.RightToLeft, dialog.FlowDirection, "a window opened after the switch (a dialog) is mirrored too");
|
||||
await app.ExpectAsync<AboutView>("about-ar");
|
||||
|
||||
|
||||
Reference in new issue
Block a user