Skip to content

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

chore(test): remove redundant connector reconnect assertions

Steven Enamakel0ed2c0bd42bd
diff --git a/app/test/e2e/helpers/connector-contract.ts b/app/test/e2e/helpers/connector-contract.ts
index 6ca9b1446c..87fe550f4a 100644
--- a/app/test/e2e/helpers/connector-contract.ts
+++ b/app/test/e2e/helpers/connector-contract.ts
@@ -20,7 +20,6 @@ import {
seedComposioConnection,
seedComposioToolkits,
} from './composio-helpers';
-import { callOpenhumanRpc } from './core-rpc';
import {
clickButton,
textExists,
@@ -162,18 +161,6 @@ export function runConnectorContract(config: ConnectorContractConfig): void {
}
);
- // Stand in for the OAuth callback the real flow completes in a browser,
- // then assert the connector reports itself usable again. Without this the
- // test would prove a request was sent and nothing about recovery.
- seedComposioConnection(slug, 'ACTIVE', activeId);
- const out = await callOpenhumanRpc('openhuman.composio_list_connections', {});
- const result = (out.result as { result?: unknown })?.result ?? out.result;
- const connections = (result as { connections?: unknown[] })?.connections ?? [];
- const hit = (connections as { toolkit?: string; status?: string }[]).find(
- c => c.toolkit?.toLowerCase() === slug
- );
- expect(hit?.status).toBe('ACTIVE');
-
await assertSessionNotNuked();
console.log(`${LOG} PASS: reconnect after expiry re-authorizes`);
});