test(import): failure sentences, new cards, RTL text and the screen's accessibility
Logic tests for failure mapping, the folder path in replanning, nickname-less cards, entry tooltips, left-to-right paths and the right-to-left session arrow; the smoke test runs every state at 1200 x 788 and checks names on every button, uncut session times and Show plan names, aligned headers, the folder path error only for Folder with its status action, four-digit number boxes, disabled devices with their reason, live regions and the locked form after an import, plus a right-to-left pass in Arabic. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
5 files changed
+322
-2
No files matched your search
@@ -66,6 +66,10 @@ public sealed class ImportChoicesTests
|
||||
Assert.True((a with { FileTemplate = "{name}" }).NeedsNewPlan(a));
|
||||
Assert.True((a with { Destination = ImportDestinationKind.Folder }).NeedsNewPlan(a));
|
||||
Assert.True((a with { IncludeSubfolders = false }).NeedsNewPlan(a));
|
||||
Assert.False((a with { FolderPath = @"D:\Shoots" }).NeedsNewPlan(a), "the folder path is not used for the archive");
|
||||
var folder = a with { Destination = ImportDestinationKind.Folder, FolderPath = @"D:\Shoots" };
|
||||
Assert.True((folder with { FolderPath = @"E:\Backup" }).NeedsNewPlan(folder));
|
||||
Assert.False((folder with { FolderPath = @"d:\shoots" }).NeedsNewPlan(folder), "paths compare without case");
|
||||
Assert.False(a.TitlesChangeNames);
|
||||
Assert.True((a with { FolderTemplate = "{year}/{Title:upper}" }).TitlesChangeNames);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user