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(e2e): remove unused imports and dead wallet quote assertions
Steven Enamakel6ee58f48a294
diff --git a/app/test/e2e/helpers/connector-contract.ts b/app/test/e2e/helpers/connector-contract.tsindex c0820cff66..feabee857e 100644--- a/app/test/e2e/helpers/connector-contract.ts+++ b/app/test/e2e/helpers/connector-contract.ts@@ -20,7 +20,6 @@ import {assertConnectorCardVisible,assertModalPhase,assertSessionNotNuked,- injectComposioFault,openConnectorModal,seedComposioConnection,seedComposioToolkits,diff --git a/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts b/app/test/e2e/specs/chat-harness-subagent-continue.spec.tsindex 84a2d1e89a..c36c20ab61 100644--- a/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts+++ b/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts@@ -32,9 +32,6 @@* Verifies:* - The tool timeline shows a subagent entry.* - The final canary text renders in the DOM.- * - The mock LLM received ≥4 POST requests (orchestrator initial +- * researcher initial + orchestrator relay + orchestrator continue +- * researcher resumed + orchestrator final).* - Persisted thread JSONL contains the final canary text.*/import { waitForApp } from '../helpers/app-helpers';@@ -51,7 +48,7 @@ import { callOpenhumanRpc } from '../helpers/core-rpc';import { textExists } from '../helpers/element-helpers';import { resetApp } from '../helpers/reset-app';import { navigateViaHash } from '../helpers/shared-flows';-import { getRequestLog, setMockBehavior, startMockServer, stopMockServer } from '../mock-server';+import { setMockBehavior, startMockServer, stopMockServer } from '../mock-server';const USER_ID = 'e2e-chat-harness-subagent-continue';// Per-turn probes carry disjoint distinctive tokens so `pickProbeText`'sdiff --git a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts b/app/test/e2e/specs/chat-harness-wallet-flow.spec.tsindex 6cd1afc420..aa961bcd48 100644--- a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts+++ b/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts@@ -1,72 +1,16 @@/**- * Chat harness + wallet flow end-to-end.- *- * This spec locks down the current wallet contract as it exists today:- *- * 1. A user can complete local wallet setup through the real- * Recovery Phrase panel, which persists `state/wallet-state.json`- * in the workspace.- * 2. A real `/chat` turn lets the orchestrator reach the `web3` skill- * pack through `use_skill` and invoke `wallet_prepare_transfer`- * itself (the crypto sub-agent and its `do_crypto` delegate are gone).- * 3. The resulting prepared quote is visible from Rust-side- * test-support introspection, proving the agent flow crossed the- * UI → core → tool-dispatch boundary.- *- * What this does NOT claim:- * - on-chain broadcast- * - desktop-keystore signing- *- * The current core implementation explicitly stops at- * `execute_prepared -> ReadyToSign`, so the E2E keeps its assertion- * surface honest and checks the prepared quote boundary.+ * The Recovery Phrase panel lets a user create and back up a local wallet.+ * This flow covers its visible phrase and persisted wallet setup state.*/import { waitForApp } from '../helpers/app-helpers';-import {- chatMounted,- clickByTitle,- clickSend,- getSelectedThreadId,- typeIntoComposer,- waitForSocketConnected,-} from '../helpers/chat-harness';import { callOpenhumanRpc } from '../helpers/core-rpc';import { clickText, textExists } from '../helpers/element-helpers';import { resetApp } from '../helpers/reset-app';import { navigateViaHash } from '../helpers/shared-flows';-import {- clearRequestLog,- getRequestLog,- setMockBehavior,- startMockServer,- stopMockServer,-} from '../mock-server';+import { setMockBehavior, startMockServer, stopMockServer } from '../mock-server';const USER_ID = 'e2e-chat-harness-wallet-flow';-const CANARY = 'wallet-quote-canary-8d13';const JOHN_ADDRESS = '0x00000000000000000000000000000000000000aa';-const WALLET_PROMPT = `Send John $5 on EVM at ${JOHN_ADDRESS} and tell me ${CANARY}.`;--/** One `use_skill` call into the `web3` pack, the orchestrator's route to wallet tools. */-function web3Call(id: string, tool: string, args: Record<string, unknown>) {- return {- content: '',- toolCalls: [- { id, name: 'use_skill', arguments: JSON.stringify({ skill: 'web3', tool, args }) },- ],- };-}--const FORCED_RESPONSES = [- web3Call('call_wallet_status_1', 'wallet_status', {}),- web3Call('call_wallet_chain_status_1', 'wallet_chain_status', {}),- web3Call('call_wallet_prepare_transfer_1', 'wallet_prepare_transfer', {- chain: 'evm',- toAddress: JOHN_ADDRESS,- amountRaw: '5000000000000000000',- }),- { content: `Prepared a wallet quote for John. ${CANARY}` },-];async function clickRecoveryConsentCheckbox(): Promise<void> {const checkbox = await browser.$('#mnemonic-confirm-checkbox');diff --git a/app/test/e2e/specs/chat-tool-call-flow.spec.ts b/app/test/e2e/specs/chat-tool-call-flow.spec.tsindex 156cc8eafc..9c147144d3 100644--- a/app/test/e2e/specs/chat-tool-call-flow.spec.ts+++ b/app/test/e2e/specs/chat-tool-call-flow.spec.ts@@ -20,13 +20,7 @@ import {import { textExists } from '../helpers/element-helpers';import { resetApp } from '../helpers/reset-app';import { navigateViaHash } from '../helpers/shared-flows';-import {- clearRequestLog,- getRequestLog,- setMockBehavior,- startMockServer,- stopMockServer,-} from '../mock-server';+import { clearRequestLog, setMockBehavior, startMockServer, stopMockServer } from '../mock-server';const LOG_PREFIX = '[chat-tool-call-flow]';const USER_ID = 'e2e-chat-tool-call-flow';diff --git a/app/test/e2e/specs/connector-discord-composio.spec.ts b/app/test/e2e/specs/connector-discord-composio.spec.tsindex e8d44d1a65..83f45e079c 100644--- a/app/test/e2e/specs/connector-discord-composio.spec.ts+++ b/app/test/e2e/specs/connector-discord-composio.spec.ts@@ -10,12 +10,10 @@ import {assertConnectorCardVisible,assertModalPhase,assertSessionNotNuked,- injectComposioFault,openConnectorModal,seedComposioConnection,seedComposioToolkits,} from '../helpers/composio-helpers';-import { callOpenhumanRpc } from '../helpers/core-rpc';import {textExists,waitForText,@@ -26,7 +24,6 @@ import { triggerAuthLoopbackBypass } from '../helpers/loopback-auth-helpers';import { completeOnboardingIfVisible, navigateToSkills } from '../helpers/shared-flows';import {clearRequestLog,- getRequestLog,resetMockBehavior,startMockServer,stopMockServer,diff --git a/app/test/e2e/specs/connector-github.spec.ts b/app/test/e2e/specs/connector-github.spec.tsindex 21c44029b3..8b52fb90dd 100644--- a/app/test/e2e/specs/connector-github.spec.ts+++ b/app/test/e2e/specs/connector-github.spec.ts@@ -13,12 +13,10 @@ import {assertConnectorCardVisible,assertModalPhase,assertSessionNotNuked,- injectComposioFault,openConnectorModal,seedComposioConnection,seedComposioToolkits,} from '../helpers/composio-helpers';-import { callOpenhumanRpc } from '../helpers/core-rpc';import {textExists,waitForText,@@ -29,7 +27,6 @@ import { triggerAuthLoopbackBypass } from '../helpers/loopback-auth-helpers';import { completeOnboardingIfVisible, navigateToSkills } from '../helpers/shared-flows';import {clearRequestLog,- getRequestLog,resetMockBehavior,setMockBehavior,startMockServer,diff --git a/app/test/e2e/specs/connector-gmail-composio.spec.ts b/app/test/e2e/specs/connector-gmail-composio.spec.tsindex 2814085543..123ffa8e3c 100644--- a/app/test/e2e/specs/connector-gmail-composio.spec.ts+++ b/app/test/e2e/specs/connector-gmail-composio.spec.ts@@ -22,7 +22,6 @@ import { completeOnboardingIfVisible, navigateToSkills } from '../helpers/sharedimport {clearRequestLog,resetMockBehavior,- setMockBehavior,startMockServer,stopMockServer,} from '../mock-server';