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

fix: wait for voice options before selecting in registry test

Adam Eivy7cf90a26928c
diff --git a/client/src/components/settings/VoiceTab.test.jsx b/client/src/components/settings/VoiceTab.test.jsx
index 757121d6f1..7c7f4be62e 100644
--- a/client/src/components/settings/VoiceTab.test.jsx
+++ b/client/src/components/settings/VoiceTab.test.jsx
@@ -91,7 +91,9 @@ describe('VoiceTab TTS engine registry', () => {
expect(engineSelect).toHaveValue('qwen3-tts');
expect(screen.getByRole('option', { name: 'Qwen3-TTS (Voice design, cloning, and streaming)' })).toBeTruthy();
- fireEvent.change(await screen.findByRole('combobox', { name: 'Voice' }), {
+ // The selector mounts before its async voice catalog has loaded.
+ await screen.findByRole('option', { name: /Expressive Alto/ });
+ fireEvent.change(screen.getByRole('combobox', { name: 'Voice' }), {
target: { value: 'expressive-alto' },
});
fireEvent.click(screen.getByRole('button', { name: 'Save & Reconcile' }));