fix(copies): close the third verification round and add the match baselines
Integrate trashes a server photo only for the sequence's owner or an admin, a Details stage stops instead of overwriting a server change the user had kept this PC's value against, a merge retried after a stop plans again when work reached the other sequence, detection keeps pairs answered while it ran, and a sync row whose match the server deleted offers Keep here, Upload again and To trash. The Integrate and merge logs say in the UI language why a version was kept. The edit-picker-twins capture scene showed no Twin chip, since a capture has no workspace: it now lists sample workspace projects of the sample matches. The screenshot baselines gain the 38 Matches screens and take the Matches chip, the three Settings > Server rows, the longer priority list and 1.2.0. Refs #73 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e6110d329
commit
3c99badcfe
96 files changed
+910
-147
No files matched your search
@@ -66,6 +66,16 @@ public sealed class CopyScreenSmokeTests
|
||||
var marked = table.Rows.First(r => r.Title == CopyScenes.Lighthouse);
|
||||
Assert.Equal(Loc.L("Server.Sync.State.CopyFound"), marked.StateText);
|
||||
Assert.Equal(SyncAction.Compare, marked.Actions[0].Action);
|
||||
|
||||
// A match the server deleted: the local row offers what the Matches row does (design §6.3), each with a tooltip.
|
||||
await CopyScenes.ShowAsync(shell, "server-copies-gone");
|
||||
var gone = table.Rows.Single(r => r.Title == "Garden 2026");
|
||||
Assert.SequenceEqual([SyncAction.KeepHere, SyncAction.UploadAgain, SyncAction.ToTrash], gone.Actions.Select(a => a.Action));
|
||||
foreach (var action in gone.Actions)
|
||||
{
|
||||
Assert.False(string.IsNullOrWhiteSpace(action.ToolTip), $"{action.Text} has a tooltip");
|
||||
Assert.Equal(Loc.L("Server.Copies.Action." + action.Action), action.Text);
|
||||
}
|
||||
CopyScenes.Reset(shell);
|
||||
});
|
||||
|
||||
@@ -170,6 +180,23 @@ public sealed class CopyScreenSmokeTests
|
||||
CopyScenes.Reset(shell);
|
||||
});
|
||||
|
||||
[Test]
|
||||
public Task EditsPickerMarksAProjectWhoseTimeLapseHasATwin() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
await using var app = await StartAsync();
|
||||
var shell = app.Shell;
|
||||
// A workspace project of this PC: the sample reads it as a linked pair's, with a project on the server.
|
||||
var id = await app.Sample.FillEditorAsync();
|
||||
shell.OpenSequence(id);
|
||||
await shell.Sequence.OpenAsync(id);
|
||||
Assert.Contains(CopyScenes.Views, v => v == "edit-picker-twins");
|
||||
await CopyScenes.ShowAsync(shell, "edit-picker-twins");
|
||||
var twin = Assert.Contains(shell.Sequence.Picker.WorkspaceItems, i => i.HasTwin);
|
||||
Assert.False(string.IsNullOrWhiteSpace(twin.TwinToolTip), "the Twin chip says where the other project is");
|
||||
await app.ExpectAsync<SequenceView>("edit-picker-twins", waitForThumbnails: true);
|
||||
CopyScenes.Reset(shell);
|
||||
});
|
||||
|
||||
[Test]
|
||||
public Task TheLibraryAndSettingsShowTheMatches() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user