mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-09-13 08:29:28 +00:00
Renames across the entire codebase: - slopsmith/Slopsmith/SLOPSMITH/SlopSmith -> feedBack/FeedBack/FEEDBACK/FeedBack - byron/Byron/Byrongamatos -> got-feedBack/got-feedBack/got-feedBack - /home/byron/ -> /opt/got-feedBack/ - byron@ougsoft.com -> hi@got-feedBack.org - github.com/byrongamatos/ -> github.com/got-feedback/ - com.byron. -> com.got-feedback. - SLOPSMITH_ env vars -> FEEDBACK_ with backward-compat fallback - Protocol/storage strings migrated with read-old/write-new pattern - window.slopsmith JS API -> window.feedBack (canonical) + backward-compat alias Refs: #rename-slopsmith
20 lines
780 B
TypeScript
20 lines
780 B
TypeScript
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.feedBack?.audioSession?.snapshot) {
|
|
throw new Error('audioSession host not available');
|
|
}
|
|
return appWindow.feedBack.audioSession.snapshot();
|
|
});
|
|
|
|
expect(snapshot.schema).toBe('feedBack.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();
|
|
}); |