diff --git a/tests/Titano.App.Tests/Settings/SettingsScreenSmokeTests.cs b/tests/Titano.App.Tests/Settings/SettingsScreenSmokeTests.cs index c9c8877d..ebe92133 100644 --- a/tests/Titano.App.Tests/Settings/SettingsScreenSmokeTests.cs +++ b/tests/Titano.App.Tests/Settings/SettingsScreenSmokeTests.cs @@ -105,6 +105,8 @@ public sealed class SettingsScreenSmokeTests var settings = shell.Settings; // 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)); + // 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 manifest = Titano.Core.Archiving.ManifestStore.ReadArchive(manifestPath); Titano.Core.Archiving.ManifestStore.WriteArchive(manifestPath, manifest with { ThumbnailPolicy = new Titano.Core.Archiving.ThumbnailPolicy { LongEdge = 240 } });