Clean release snapshot

This commit is contained in:
byrongamatos
2026-06-16 18:47:13 +02:00
commit 6c110398b4
574 changed files with 162566 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { test, expect } from '@playwright/test';
test('audio session runtime is available on page load', async ({ page }) => {
await page.goto('/');
await page.waitForSelector('.screen.active', { timeout: 10000 });
const snapshot = await page.evaluate(() => {
const appWindow = window as any;
if (!appWindow.slopsmith?.audioSession?.snapshot) {
throw new Error('audioSession host not available');
}
return appWindow.slopsmith.audioSession.snapshot();
});
expect(snapshot.schema).toBe('slopsmith.audio_session.diagnostics.v1');
expect(snapshot.domains['audio-mix']).toBeTruthy();
expect(snapshot.domains['audio-input']).toBeTruthy();
expect(snapshot.domains['audio-monitoring']).toBeTruthy();
expect(snapshot.domains.stems).toBeTruthy();
});