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(conversations): cover rendering of the conversations page
Steven Enamakelc480a30e6e20
diff --git a/app/src/pages/__tests__/Conversations.render.test.tsx b/app/src/pages/__tests__/Conversations.render.test.tsxindex 35eefffcaa..6daa53a3fc 100644--- a/app/src/pages/__tests__/Conversations.render.test.tsx+++ b/app/src/pages/__tests__/Conversations.render.test.tsx@@ -886,6 +886,21 @@ describe('Conversations — smoke render (#1123 welcome-lock removal)', () => {await waitFor(() => expect(picker.value).toBe('low'));});+ it('recalls the last prompt with ArrowUp and switches the placeholder while running', async () => {+ const { textarea } = await renderSelectedConversation();++ await submitComposerText(textarea, 'recall me later');+ await waitFor(() => expect(chatSend).toHaveBeenCalled());++ // The turn is in flight: typed text would queue, and the placeholder says so.+ await waitFor(() => expect(screen.getByText('Queue a follow-up…')).toBeInTheDocument());++ await act(async () => {+ fireEvent.keyDown(textarea, { key: 'ArrowUp' });+ });+ await waitFor(() => expect(textarea.textContent).toBe('recall me later'));+ });+it('persists a local user message and sends through chat service for valid input', async () => {const { textarea, thread } = await renderSelectedConversation();