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): update attachment tests to use textbox role and input event
Steven Enamakel0bf1ebc2f600
diff --git a/app/src/pages/__tests__/Conversations.attachments.test.tsx b/app/src/pages/__tests__/Conversations.attachments.test.tsxindex 34cc71decb..3c2699b919 100644--- a/app/src/pages/__tests__/Conversations.attachments.test.tsx+++ b/app/src/pages/__tests__/Conversations.attachments.test.tsx@@ -260,7 +260,7 @@ async function renderWithSelectedThread() {</Provider>);- const textarea = await screen.findByPlaceholderText('Send a message...');+ const textarea = await screen.findByRole('textbox', { name: 'Message input' });return { store, textarea, thread };}@@ -501,7 +501,8 @@ describe('Conversations — attachment feature', () => {});await act(async () => {- fireEvent.change(textarea, { target: { value: 'describe this' } });+ textarea.textContent = 'describe this';+ fireEvent.input(textarea, { data: 'describe this', inputType: 'insertText' });});await act(async () => {@@ -538,7 +539,8 @@ describe('Conversations — attachment feature', () => {});await act(async () => {- fireEvent.change(textarea, { target: { value: 'read this' } });+ textarea.textContent = 'read this';+ fireEvent.input(textarea, { data: 'read this', inputType: 'insertText' });});await act(async () => {