The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(voice-panel): keep status refresh pending during save failure
Steven Enamakel0582268f3f66
diff --git a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsxindex 2892906c05..9b57727cd2 100644--- a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx@@ -217,6 +217,10 @@ describe('VoicePanel', () => {const sttSelect = (await screen.findByTestId('stt-provider-select')) as HTMLSelectElement;await waitFor(() => expect(sttSelect.value).toBe('elevenlabs'));+ // Keep the saveRouting refresh pending so it does not clear the error set+ // by the failed persistence attempt.+ vi.mocked(openhumanVoiceStatus).mockImplementation(() => new Promise(() => {}));+// Switch back to cloud, then save.fireEvent.change(sttSelect, { target: { value: 'cloud' } });await waitFor(() => expect(sttSelect.value).toBe('cloud'));