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: expose overlay text check errors in quiet CI (#11323)

[._.]/ Adam Eivy96738881ef08
diff --git a/server/services/musicVideo/overlayTextService.browser.test.js b/server/services/musicVideo/overlayTextService.browser.test.js
index 69afeab3eb..aa555f66c2 100644
--- a/server/services/musicVideo/overlayTextService.browser.test.js
+++ b/server/services/musicVideo/overlayTextService.browser.test.js
@@ -79,7 +79,8 @@ describe.skipIf(!chrome)('overlay text check (headless Chrome)', () => {
const started = await startOverlayTextCheck(created.id);
expect(started.readiness.storyboard.text.status).toBe('running');
const check = await started.done;
- expect(check.status).toBe('complete');
+ // CI quiet mode suppresses service logs; retain the stored lifecycle error on failure.
+ expect(check.status, check.error ?? 'Overlay text check failed without a stored error').toBe('complete');
expect(check.textSamples).toBeGreaterThan(0);
const kinds = (text) => check.findings.filter((f) => f.texts.some((t) => t.includes(text))).map((f) => f.kind).sort();
@@ -119,7 +120,7 @@ describe.skipIf(!chrome)('overlay text check (headless Chrome)', () => {
await importDocumentTemplate(created.id, 'layered');
const started = await startOverlayTextCheck(created.id);
const check = await started.done;
- expect(check).toMatchObject({ status: 'complete', findings: [] });
+ expect(check, check.error ?? 'Overlay text check failed without a stored error').toMatchObject({ status: 'complete', findings: [] });
expect(check.textSamples).toBeGreaterThan(4);
}, 120000);
});