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(api-keys): update Codex/Antigravity title asserts for redesigned cards

Ruben Lütkeb299215d3c40
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx
index db026d39fa..c7b6d354d9 100644
--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx
@@ -216,7 +216,9 @@ describe("ApiKeysView — Antigravity (Google subscription) OAuth card", () => {
fireEvent.click(screen.getByRole("tab", { name: /jarvis-agents/i }));
await waitFor(() =>
- expect(screen.getByText("Antigravity (Subscription)")).toBeTruthy(),
+ // The redesign shortens the card title to just "Antigravity"; the
+ // subscription billing now lives in the billing badge, not the title.
+ expect(screen.getByText("Antigravity")).toBeTruthy(),
);
// The "Set active" control now lives ON the subscription card, so there is
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.codex.test.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.codex.test.tsx
index 82c8812542..ed0960b6e5 100644
--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.codex.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.codex.test.tsx
@@ -204,7 +204,9 @@ describe("ApiKeysView - Codex is subagent-only", () => {
// Codex lives in the "Subagents" category tab now; open it first.
fireEvent.click(screen.getByRole("tab", { name: /jarvis-agents/i }));
- await waitFor(() => expect(screen.getByText("OpenAI Codex (Subscription)")).toBeTruthy());
+ // The redesign shortens the card title to just "OpenAI Codex"; the
+ // subscription-vs-API billing now lives in the billing badge, not the title.
+ await waitFor(() => expect(screen.getByText("OpenAI Codex")).toBeTruthy());
expect(screen.queryByText("ChatGPT / Codex login")).toBeNull();
expect(screen.getByText(/chatgpt-user@example\.com/)).toBeTruthy();