Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: pin PipelineExport's full video history read (#12996)

[._.]/ Adam Eivy512e7957f2ff
diff --git a/client/src/pages/PipelineExport.test.jsx b/client/src/pages/PipelineExport.test.jsx
index d8c37457f7..f3dbdf252f 100644
--- a/client/src/pages/PipelineExport.test.jsx
+++ b/client/src/pages/PipelineExport.test.jsx
@@ -64,4 +64,12 @@ describe('PipelineExport attribution rollup', () => {
expect(await screen.findByLabelText('Attribution and licenses')).toHaveTextContent('Example Model');
expect(screen.queryByRole('alert')).toBeNull();
});
+
+ it('reads the full video history, not the compact catalog, so stamped video licenses survive the rollup', async () => {
+ api.listMediaCollections.mockResolvedValue([{ id: 'sc-ser-1', items: [{ kind: 'image', ref: 'img-1.png' }] }]);
+ renderPage();
+
+ expect(await screen.findByLabelText('Attribution and licenses')).toBeTruthy();
+ expect(api.listVideoHistory).toHaveBeenCalledWith({ silent: true });
+ });
});