fix(uploader): visible password error, no sign-in from the settings panel, installer screenshots in CI
- A refused password draws the Error border over the password box, so it stays visible while the box has focus (the shared template paints its focus border over the box's own). - Enter in the settings panel no longer triggers the sign-in form's default button underneath. - Queue rows the list has not realized are named by their file name; the retry arrow is not mirrored. - CI's Screenshots step also runs Titano.Setup.exe --capture. - Smoke test: the password box shows no error before use; Sign in is the default only outside the panel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
4 files changed
+45
-18
No files matched your search
@@ -42,8 +42,18 @@ public sealed class UploaderScreenSmokeTests
|
||||
Assert.Null(vm.Connect.ErrorText);
|
||||
foreach (var box in screen.Visible<TextBox>())
|
||||
Assert.False(Validation.GetHasError(box), $"{AutomationProperties.GetName(box)} shows an error before use");
|
||||
Assert.False(screen.Named<Border>("PasswordErrorRing").IsVisible, "the password box shows no error before use");
|
||||
screen.AssertIconButtonsNamed("connect");
|
||||
|
||||
// Enter signs in from the form, not from the settings panel drawn over it.
|
||||
var signIn = screen.Visible<Button>().Single(b => Equals(b.Content, Loc.L("Uploader.Connect.SignIn")));
|
||||
Assert.True(signIn.IsDefault, "Enter signs in");
|
||||
vm.IsSettingsOpen = true;
|
||||
await screen.SettleAsync();
|
||||
Assert.False(signIn.IsDefault, "Enter in the settings panel does not sign in");
|
||||
vm.IsSettingsOpen = false;
|
||||
await screen.SettleAsync();
|
||||
|
||||
screen.Sample.ShowQueue();
|
||||
await screen.SettleAsync();
|
||||
screen.AssertIconButtonsNamed("queue");
|
||||
|
||||
Reference in new issue
Block a user