Skip to content

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

test(e2e): remove redundant Jira connector cases and clarify spec intent

Steven Enamakel8016f70198f9
diff --git a/app/test/e2e/specs/connector-jira.spec.ts b/app/test/e2e/specs/connector-jira.spec.ts
index 28e5774abd..aa49ae813e 100644
--- a/app/test/e2e/specs/connector-jira.spec.ts
+++ b/app/test/e2e/specs/connector-jira.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,
@@ -29,8 +27,6 @@ import {
navigateViaHash,
} from '../helpers/shared-flows';
import {
- clearRequestLog,
- getRequestLog,
resetMockBehavior,
setMockBehavior,
startMockServer,
@@ -144,8 +140,6 @@ describe('Jira Composio connector flow', () => {
});
-
-
it('failed connection shows error state, not blank screen', async function () {
this.timeout(60_000);
seedComposioConnection(TOOLKIT_SLUG, 'FAILED', 'c-jira-fail');
@@ -168,28 +162,4 @@ describe('Jira Composio connector flow', () => {
console.log(`${LOG} PASS: expired auth does not log user out`);
});
- it('unrelated 401 on composio route does not nuke session', async function () {
- this.timeout(60_000);
- injectComposioFault(400);
- await callOpenhumanRpc('openhuman.composio_execute', {
- connection_id: 'c-jira-1',
- action: 'JIRA_LIST_ISSUES',
- params: {},
- });
- await assertSessionNotNuked();
- console.log(`${LOG} PASS: 401-class error does not nuke session`);
- });
-
- it('disconnect flow removes connection', async function () {
- this.timeout(60_000);
- seedComposioConnection(TOOLKIT_SLUG, 'ACTIVE', 'c-jira-1');
- clearRequestLog();
- await callOpenhumanRpc('openhuman.composio_delete_connection', { connection_id: 'c-jira-1' });
- const deleteReq = getRequestLog().find(
- r => r.method === 'DELETE' && r.url.includes('/composio/connections/')
- );
- expect(deleteReq).toBeDefined();
- console.log(`${LOG} PASS: disconnect routed DELETE`);
- await assertSessionNotNuked();
- });
});
diff --git a/app/test/e2e/specs/notifications.spec.ts b/app/test/e2e/specs/notifications.spec.ts
index 769d216803..15adbd49ba 100644
--- a/app/test/e2e/specs/notifications.spec.ts
+++ b/app/test/e2e/specs/notifications.spec.ts
@@ -56,8 +56,6 @@ async function waitForCoreSidecar(timeout = 30_000): Promise<void> {
);
}
-// Module-level capture: ingest returns a server-generated UUID; share it
-// across tests so mark_read and list can reference the same notification.
describe('Notifications', () => {
before(async function () {
// waitForApp() + waitForCoreSidecar(30s) cannot fit the default 30s Mocha
@@ -75,7 +73,6 @@ describe('Notifications', () => {
await stopMockServer();
});
-
it('Notifications page renders integration notifications', async () => {
await callOpenhumanRpc('openhuman.notification_ingest', {
provider: 'e2e',
@@ -105,7 +102,7 @@ describe('Notifications', () => {
stepLog('Notifications route hash', { currentHash });
// If the route redirected (e.g. auth guard), skip the UI assertions
- // since the RPC tests above already prove the notification backend works.
+ // because this spec owns notifications presentation, not RPC result semantics.
expect(String(currentHash)).toContain('/notifications');
await waitForNotificationsSections(10_000);
diff --git a/app/test/e2e/specs/webhooks-ingress-flow.spec.ts b/app/test/e2e/specs/webhooks-ingress-flow.spec.ts
index bd95491865..ca66bb4a0f 100644
--- a/app/test/e2e/specs/webhooks-ingress-flow.spec.ts
+++ b/app/test/e2e/specs/webhooks-ingress-flow.spec.ts
@@ -41,6 +41,8 @@ describe('Webhooks ingress surface (stub-level)', () => {
expect(atShell).toBe(true);
});
+ // No Rust owner test exercises this RPC wire surface against its router;
+ // retain these assertions until that integration coverage exists.
it('exposes the stub webhook RPC surface with stable result and log shapes', async () => {
const tunnelUuid = 'e2e-webhooks-ingress-tunnel';
diff --git a/app/test/playwright/specs/webhooks-ingress-flow.spec.ts b/app/test/playwright/specs/webhooks-ingress-flow.spec.ts
index c86fdabe44..fd1c0003f0 100644
--- a/app/test/playwright/specs/webhooks-ingress-flow.spec.ts
+++ b/app/test/playwright/specs/webhooks-ingress-flow.spec.ts
@@ -13,6 +13,8 @@ test.describe('Webhooks ingress surface (stub-level)', () => {
await expect(page.getByTestId('chat-message-input')).toBeVisible();
});
+ // No Rust owner test exercises this RPC wire surface against its router;
+ // retain these assertions until that integration coverage exists.
test('exposes the stub webhook RPC surface with stable result and log shapes', async () => {
const tunnelUuid = 'e2e-webhooks-ingress-tunnel';
diff --git a/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts b/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts
index eea8ae904f..ee53cb5708 100644
--- a/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts
+++ b/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts
@@ -65,6 +65,7 @@ test.describe('Webhook tunnel CRUD (UI + core RPC + mock backend)', () => {
await expect(page.getByTestId('chat-message-input')).toBeVisible();
});
+ // No Rust owner test covers tunnel CRUD through the RPC router and backend.
test('creates a tunnel, lists it, deletes it, and matches mock-backend traffic', async () => {
const tunnelName = `e2e-tunnel-${Date.now()}`;
const created = await callCoreRpc<unknown>('openhuman.webhooks_create_tunnel', {