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: add missing test files for Conversations component
Steven Enamakelb2f9f1ac804c
diff --git a/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsx b/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsxindex 9e49ba4ca5..c0c04bb6e3 100644--- a/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsx+++ b/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsx@@ -1,10 +1,11 @@/*** The composer-adjacent surfaces on the ASSISTANT-UI chat panel.*- * `Conversations` picks exactly one main panel — `legacyMainPanel` for the+ * `Conversations` used to pick one of two main panels — a legacy panel for the* mic-cloud voice embed, `assistantUiMainPanel` for everything else — so every* card that was written inline inside the legacy panel stopped rendering on- * `/chat` when the text chat moved to the assistant-ui `Thread`. These are the+ * `/chat` when the text chat moved to the assistant-ui `Thread`. (Voice mode+ * now renders the assistant-ui panel too, with only the composer swapped.) These are the* collateral losses from that switch, each asserted on the surface a real user* looks at (the default `composer="text"` render, i.e. the assistant-ui panel):*@@ -366,7 +367,7 @@ describe('assistant-ui chat surface — composer-adjacent cards', () => {it('shows the prompt-injection advisory when the send is risky', async () => {// The advisory is the composer's only warning that a message will likely- // be refused server-side. It shared `legacyMainPanel`'s fate with the send+ // be refused server-side. It shared the legacy panel's fate with the send// error, and unlike the error nothing else on the page hints at it.await renderChat();diff --git a/app/src/pages/__tests__/Conversations.render.test.tsx b/app/src/pages/__tests__/Conversations.render.test.tsxindex 11a40ed6f4..2e8cd4d94f 100644--- a/app/src/pages/__tests__/Conversations.render.test.tsx+++ b/app/src/pages/__tests__/Conversations.render.test.tsx@@ -2236,9 +2236,8 @@ describe('Conversations — external-transfer disclosure card removed', () => {});/**- * The two turn gates the agent parks on. Both used to render only inside- * `legacyMainPanel`, which `/chat` never mounts — the text surface is- * assistant-ui and the two panels are an either/or — so a parked plan review+ * The two turn gates the agent parks on. Both used to render only inside the+ * legacy voice-mode panel, which `/chat` never mounted, so a parked plan review* hung the turn with nothing to decide, and a `propose_workflow` draft lost its* only route to `flows_create`. They are now rendered from the shared* `agentGateCards` fragment, which the assistant-ui composer header carries.