Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

test(agentic-ide): the send assertion carries compose again

Haraldc3a4348b47a8
diff --git a/jarvis/ui/web/frontend/src/views/AgenticIdeView.test.tsx b/jarvis/ui/web/frontend/src/views/AgenticIdeView.test.tsx
index 43e1801097..a14d41a4c4 100644
--- a/jarvis/ui/web/frontend/src/views/AgenticIdeView.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/AgenticIdeView.test.tsx
@@ -928,9 +928,12 @@ describe("Agentic IDE running workspace", () => {
fireEvent.click(screen.getByRole("button", { name: /send/i }));
await waitFor(() =>
- // The third argument carries files dropped on the prompt bar — empty
- // here, because this instruction was typed with nothing attached.
+ // ``compose`` is what makes this the same endpoint the spoken
+ // "prompt Mika …" uses: the backend briefs the instruction and types
+ // THAT into the pane. The third argument also carries files dropped on
+ // the prompt bar — empty here, because nothing was attached.
expect(api.promptTerminal).toHaveBeenCalledWith("Mika", "run the tests", {
+ compose: true,
attachments: [],
}),
);