test(render): pin the merged phase 4 render sizes end to end
With P1's geometry merged, the render follows the chosen proportions, so the server's managed fallback now writes the advised 16:9 inside the 96x64 box (96x54) instead of the preset's ratio; the test expected the old size. A new Data test renders a turned, straightened 9:16 project with a sepia look through the job engine and checks that every output (fixed box and source-sized) has the size the job was routed with, which P5 could not check before P1's RenderGeometry was in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3c192ddd1b
commit
aaf9c0bba7
2 files changed
+31
-1
No files matched your search
@@ -168,7 +168,8 @@ public sealed class ProcessingModuleTests(TestContext context)
|
||||
var done = await JobApiTests.WaitForAsync(editor, job.Id, "done");
|
||||
Assert.Equal(JobEngineHost.WorkerId, done.NodeId?.Split('#')[0]);
|
||||
var render = (await server.Database.Renders.ListBySequenceAsync(sequence.Id)).Single();
|
||||
Assert.Equal(($"{sequence.Folder}/exports/clip-MJPEG.avi", "Mjpeg", 96, 64), (render.OutputPath, render.Codec, render.Width, render.Height));
|
||||
// The analysis advises 16:9, and the chosen proportions win over the 96×64 box (owner review 1, phase 4): 96×54.
|
||||
Assert.Equal(($"{sequence.Folder}/exports/clip-MJPEG.avi", "Mjpeg", 96, 54), (render.OutputPath, render.Codec, render.Width, render.Height));
|
||||
Assert.Contains(Loc.L("Export.Log.NoRenderNode", Loc.L("Export.Preset.Custom"), "HEVC", "MJPEG"), done.LogTail);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user