fix: full verification against the brief — 137 confirmed findings fixed over six passes #4
@@ -105,6 +105,8 @@ public sealed class SettingsScreenSmokeTests
|
|||||||
var settings = shell.Settings;
|
var settings = shell.Settings;
|
||||||
// The open archive's own thumbnail size (archive.json) is what Settings › Archive shows.
|
// The open archive's own thumbnail size (archive.json) is what Settings › Archive shows.
|
||||||
var archive = Assert.NotNull(await Titano.App.Archiving.CurrentArchive.FindAsync(shell.Services.Database!, shell.Services.Settings.LastArchivePath));
|
var archive = Assert.NotNull(await Titano.App.Archiving.CurrentArchive.FindAsync(shell.Services.Database!, shell.Services.Settings.LastArchivePath));
|
||||||
|
// The sample shows a display path as its archive folder; the rows edit only the archive at the archive folder.
|
||||||
|
shell.Services.Settings.LastArchivePath = archive.RootPath;
|
||||||
var manifestPath = new Titano.Core.Archiving.ArchivePaths(archive.RootPath).ManifestPath;
|
var manifestPath = new Titano.Core.Archiving.ArchivePaths(archive.RootPath).ManifestPath;
|
||||||
var manifest = Titano.Core.Archiving.ManifestStore.ReadArchive(manifestPath);
|
var manifest = Titano.Core.Archiving.ManifestStore.ReadArchive(manifestPath);
|
||||||
Titano.Core.Archiving.ManifestStore.WriteArchive(manifestPath, manifest with { ThumbnailPolicy = new Titano.Core.Archiving.ThumbnailPolicy { LongEdge = 240 } });
|
Titano.Core.Archiving.ManifestStore.WriteArchive(manifestPath, manifest with { ThumbnailPolicy = new Titano.Core.Archiving.ThumbnailPolicy { LongEdge = 240 } });
|
||||||
|
|||||||
Reference in new issue
Block a user