test(ui): disabled lists, chart tones, activation, RTL bars, failure toasts, icon names
- Visuals: a disabled list and the card grid keep their fill, a ListView keeps its column headers; chart labels are TextMuted and months without data the Stroke tone; charts show the hand and take the keyboard only with a handler; arrows, Home, Enter and Space choose and activate a bar; category bars start on the reading side in Arabic while months stay left to right. - Screens: every visible icon-only button or segment has a name and a tooltip; a failed archive action raises an error toast, a notice does not. - Uploader: an unexpected error raises an error toast. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
3 files changed
+239
No files matched your search
@@ -83,6 +83,12 @@ public sealed class UploaderScreenSmokeTests
|
||||
await screen.SettleAsync();
|
||||
screen.AssertIconButtonsNamed("settings");
|
||||
vm.IsSettingsOpen = false;
|
||||
|
||||
// A failure interrupts the screen reader (assertive) instead of waiting its turn.
|
||||
Toast? shown = null;
|
||||
vm.PendingToasts.CollectionChanged += (_, e) => shown ??= e.NewItems?.OfType<Toast>().FirstOrDefault();
|
||||
vm.ReportError(new InvalidOperationException("The queue file cannot be read"));
|
||||
Assert.True(Assert.NotNull(shown).IsError, "an unexpected error is announced at once");
|
||||
});
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user