Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): trim redundant connector and chat assertions

Steven Enamakel950fd69e1660
diff --git a/app/test/e2e/helpers/connector-contract.ts b/app/test/e2e/helpers/connector-contract.ts
index feabee857e..6ca9b1446c 100644
--- a/app/test/e2e/helpers/connector-contract.ts
+++ b/app/test/e2e/helpers/connector-contract.ts
@@ -1,12 +1,8 @@
/**
* Table-driven Composio connector contract (plan.md §2.2).
*
- * The per-toolkit connector specs (Airtable, Asana, ClickUp, …) were 11
- * byte-identical WDIO files differing only in a handful of toolkit strings.
- * `runConnectorContract` factors the whole `describe` block out so each toolkit
- * is one `ConnectorContractConfig` row in the single contract spec. Toolkits
- * with bespoke UI/behaviour (Jira's subdomain field, Gmail's 400-on-fetch)
- * keep their own dedicated specs.
+ * The per-toolkit connector specs shared one card/state flow, which remains
+ * represented by Slack. Jira keeps its distinct subdomain-field UI.
*/
import {
clearRequestLog,
@@ -56,8 +52,6 @@ export interface ConnectorContractConfig {
slug: string;
/** Connection-id stem; the contract derives `${idBase}-1|-fail|-expired`. */
idBase: string;
- /** A representative Composio action for the execute-routing case. */
- executeAction: string;
/** Optional auth-deep-link token override (defaults to `e2e-connector-<slug>-token`). */
authToken?: string;
}
diff --git a/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts b/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts
index c36c20ab61..4f498daf24 100644
--- a/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts
+++ b/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts
@@ -252,18 +252,6 @@ describe('Chat harness — orchestrator → subagent continuation flow', () => {
timeout: 45_000,
timeoutMsg: 'orchestrator never produced the final canary text',
});
-
- // IN_FLIGHT must drain after chat_done.
- await browser.waitUntil(
- async () => {
- const snap = await callOpenhumanRpc<{ result: { entries: Array<unknown> } }>(
- 'openhuman.test_support_in_flight_chats',
- {}
- );
- return snap.ok && (snap.result?.result?.entries?.length ?? 0) === 0;
- },
- { timeout: 10_000, timeoutMsg: 'IN_FLIGHT never cleared after orchestrator finished' }
- );
});
it('persisted thread file records the final orchestrator text', async () => {
diff --git a/app/test/e2e/specs/chat-multi-tool-round.spec.ts b/app/test/e2e/specs/chat-multi-tool-round.spec.ts
index 9ad619f00c..6571e99467 100644
--- a/app/test/e2e/specs/chat-multi-tool-round.spec.ts
+++ b/app/test/e2e/specs/chat-multi-tool-round.spec.ts
@@ -11,7 +11,6 @@
* T2.1 — first tool (file_read) appears in the timeline
* T2.2 — second tool (grep) also appears; timeline has 2 entries
* T2.3 — final answer renders after both tools complete
- * T2.4 — mock received ≥ 3 LLM completion calls
* T2.5 — tool timeline has 2 entries in correct order (file_read before grep)
*/
import { waitForApp } from '../helpers/app-helpers';
diff --git a/app/test/e2e/specs/connector-composio-contract.spec.ts b/app/test/e2e/specs/connector-composio-contract.spec.ts
index e5e5bf2b64..3677227805 100644
--- a/app/test/e2e/specs/connector-composio-contract.spec.ts
+++ b/app/test/e2e/specs/connector-composio-contract.spec.ts
@@ -1,17 +1,14 @@
/**
* E2E: Composio connector contract — one table-driven spec covering the
- * toolkits that share the identical connect/sync/execute/disconnect flow
+ * toolkits that share the same connector-card and state UI
* (plan.md §2.2). Collapses 11 byte-identical connector-*.spec.ts files.
*
* Bespoke connectors keep their own specs:
* - connector-jira.spec.ts (subdomain-field UI)
- * - connector-gmail-composio.spec.ts (400-on-fetch-emails handling)
*/
import { type ConnectorContractConfig, runConnectorContract } from '../helpers/connector-contract';
-const TOOLKITS: ConnectorContractConfig[] = [
- { name: 'Slack', slug: 'slack', idBase: 'c-slack', executeAction: 'SLACK_LIST_CHANNELS' },
-];
+const TOOLKITS: ConnectorContractConfig[] = [{ name: 'Slack', slug: 'slack', idBase: 'c-slack' }];
for (const toolkit of TOOLKITS) {
runConnectorContract(toolkit);
diff --git a/app/test/e2e/specs/connector-discord-composio.spec.ts b/app/test/e2e/specs/connector-discord-composio.spec.ts
index 83f45e079c..de1b7b8227 100644
--- a/app/test/e2e/specs/connector-discord-composio.spec.ts
+++ b/app/test/e2e/specs/connector-discord-composio.spec.ts
@@ -1,9 +1,7 @@
/**
* E2E: Discord (Composio) connector flow.
*
- * Critical regression (#2285): clicking the Discord connector card must NOT
- * log the user out, even if the card click triggers a failed auth attempt.
- * `assertSessionNotNuked` is called at every test boundary.
+ * Covers Discord connector-card and connection-state UI.
*/
import { waitForApp } from '../helpers/app-helpers';
import {
diff --git a/app/test/e2e/specs/connector-github.spec.ts b/app/test/e2e/specs/connector-github.spec.ts
index 8b52fb90dd..35a598c085 100644
--- a/app/test/e2e/specs/connector-github.spec.ts
+++ b/app/test/e2e/specs/connector-github.spec.ts
@@ -1,9 +1,7 @@
/**
* E2E: GitHub Composio connector flow.
*
- * Covers the standard connector lifecycle (card visibility, connect, connected
- * state, RPC routing, execute, error/expired states, disconnect) plus a
- * trigger-catalog assertion specific to GitHub.
+ * Covers GitHub connector-card and connection-state UI.
*
* All backend calls are served by the mock server — no live GitHub account
* is required.
diff --git a/app/test/e2e/specs/connector-gmail-composio.spec.ts b/app/test/e2e/specs/connector-gmail-composio.spec.ts
index 123ffa8e3c..c6d6f50290 100644
--- a/app/test/e2e/specs/connector-gmail-composio.spec.ts
+++ b/app/test/e2e/specs/connector-gmail-composio.spec.ts
@@ -1,5 +1,5 @@
/**
- * E2E: Gmail (Composio) connector flow.
+ * E2E: Gmail (Composio) connector-card and connection-state UI.
* Covers the connector card and its connection states.
*/
import { waitForApp } from '../helpers/app-helpers';
diff --git a/app/test/e2e/specs/gmail-flow.spec.ts b/app/test/e2e/specs/gmail-flow.spec.ts
index b9afbcc8b7..d20420ea08 100644
--- a/app/test/e2e/specs/gmail-flow.spec.ts
+++ b/app/test/e2e/specs/gmail-flow.spec.ts
@@ -292,14 +292,10 @@ describe('Gmail Integration Flows', () => {
// 9.2 Permission Enforcement
// -------------------------------------------------------------------------
- describe('9.2 Permission Enforcement', () => {});
-
// -------------------------------------------------------------------------
// 9.3 Email Processing
// -------------------------------------------------------------------------
- describe('9.3 Email Processing', () => {});
-
// -------------------------------------------------------------------------
// 9.4 Disconnect & Re-Run Setup
// -------------------------------------------------------------------------
diff --git a/app/test/e2e/specs/webhooks-tunnel-flow.spec.ts b/app/test/e2e/specs/webhooks-tunnel-flow.spec.ts
index 31826c1511..b436e6b53b 100644
--- a/app/test/e2e/specs/webhooks-tunnel-flow.spec.ts
+++ b/app/test/e2e/specs/webhooks-tunnel-flow.spec.ts
@@ -36,6 +36,7 @@ describe('Webhook controller surface and retired-route coverage', () => {
expect(atShell).toBe(true);
});
+ // Rust coverage does not exercise tunnel RPCs through the router/backend.
it('exposes backend tunnel CRUD', async () => {
const listed = await callOpenhumanRpc('openhuman.webhooks_list_tunnels', {});
expect(listed.ok).toBe(true);