Skip to content

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

test(playwright): add legacy webhook route redirect test

Steven Enamakelf6656eacf2f2
diff --git a/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts b/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts
index ee53cb5708..1b7b58d832 100644
--- a/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts
+++ b/app/test/playwright/specs/webhooks-tunnel-flow.spec.ts
@@ -111,4 +111,14 @@ test.describe('Webhook tunnel CRUD (UI + core RPC + mock backend)', () => {
// Connections surface, not the former trigger-history controls.
await expect(page.getByTestId('two-pane-nav-composio')).toBeVisible();
});
+
+ test('legacy /webhooks route redirects to Connections', async ({ page }) => {
+ await page.goto('/#/webhooks');
+ await waitForAppReady(page);
+
+ await expect
+ .poll(async () => page.evaluate(() => window.location.hash), { timeout: 10_000 })
+ .toContain('/connections');
+ await expect(page.getByTestId('two-pane-nav-composio')).toBeVisible();
+ });
});