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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: require composition capture in provisioned browser CI (#13427)
Adam Eivy417de9c728b4
diff --git a/scripts/lib/browserSuites.js b/scripts/lib/browserSuites.jsindex 8f72dc7528..4d701dc1d6 100644--- a/scripts/lib/browserSuites.js+++ b/scripts/lib/browserSuites.js@@ -8,6 +8,7 @@ export const BROWSER_SUITES = ['server/routes/musicVideoRichAuthoring.browser.test.js','server/routes/musicVideoSongRevision.browser.test.js','server/services/federatedMedia/sourceAudio.browser.test.js',+ 'server/services/htmlComposition/index.test.js','server/services/musicVideo/animaticCapture.browser.test.js','server/services/musicVideo/documentRender.browser.test.js','server/services/musicVideo/documentTemplates/layered/engine.overlay.browser.test.js',diff --git a/server/services/htmlComposition/index.test.js b/server/services/htmlComposition/index.test.jsindex 15bbc1abe5..87c0293eda 100644--- a/server/services/htmlComposition/index.test.js+++ b/server/services/htmlComposition/index.test.js@@ -14,7 +14,7 @@ import { videoGenEvents } from '../videoGen/events.js';import { renderComposition, cancel } from './index.js';import { installMotionKit } from './motionKit.js';import { _cleanupTestBrowser, _createTestArtifactsRoot, _waitForTestChrome, _testChromeCaptureArgs } from './testBrowserCleanup.js';-import { resolveTestChrome } from '../../lib/browserSuiteGate.js';+import { browserSuiteCanRun, resolveTestChrome } from '../../lib/browserSuiteGate.js';vi.mock('./encode.js', async importOriginal => {const actual = await importOriginal();@@ -68,7 +68,9 @@ async function composition(html = fixture(), directory = `compositions/${randomUreturn { directory, jobId: randomUUID() };}-describe.skipIf(!chrome || !ffmpeg)('HTML composition with real Chrome and ffmpeg', () => {+const captureAvailable = browserSuiteCanRun('HTML composition capture', { Chrome: chrome, ffmpeg });++describe.skipIf(!captureAvailable)('HTML composition with real Chrome and ffmpeg', () => {beforeAll(async () => {const profile = join(PATHS.data, 'chrome-test-profile');proc = spawn(chrome, _testChromeCaptureArgs(profile), { stdio: ['ignore', 'ignore', 'pipe'], detached: process.platform !== 'win32' });