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(frontend): align expectations with current UI

Ruben Lütke8d352e5ac51a
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx
index 17b9f11687..155dfb12e9 100644
--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx
@@ -92,7 +92,7 @@ describe("ApiKeysView two-mode", () => {
expect(screen.getByTestId("voice-engine-context").contains(hint)).toBe(true);
// The load-bearing message: which keys you need depends on the SELECTED mode.
expect(hint.textContent).toMatch(
- /realtime needs one realtime-capable key; pipeline needs its own/i,
+ /realtime needs one live provider, using either a subscription login or an API key\. pipeline needs its own/i,
);
});
diff --git a/jarvis/ui/web/frontend/src/views/OutputsView.openbrowser.test.tsx b/jarvis/ui/web/frontend/src/views/OutputsView.openbrowser.test.tsx
index 6134510d2a..b88a3c6924 100644
--- a/jarvis/ui/web/frontend/src/views/OutputsView.openbrowser.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/OutputsView.openbrowser.test.tsx
@@ -114,8 +114,9 @@ describe("OutputsView — Browser opener reaches the real browser", () => {
renderView();
// The single session auto-selects, so its artifact row is on screen.
- await waitFor(() =>
- expect(screen.getByText(REPORT.path)).toBeTruthy(),
+ await waitFor(() => expect(screen.getByText("report.md")).toBeTruthy());
+ expect(screen.getByTestId("artifact-path").getAttribute("title")).toBe(
+ REPORT.path,
);
// Open the "Open with…" chooser (the ChevronDown next to the open button).