Skip to content

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

test(e2e): remove unused Tauri invocation helper\n\nRemove the unused browser-side Tauri invocation helper from the mega-flow test to simplify the test setup.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel7fa37aa8dc98
diff --git a/app/test/e2e/specs/mega-flow.spec.ts b/app/test/e2e/specs/mega-flow.spec.ts
index dc68465cc0..f8f1cf1011 100644
--- a/app/test/e2e/specs/mega-flow.spec.ts
+++ b/app/test/e2e/specs/mega-flow.spec.ts
@@ -113,28 +113,6 @@ async function resetEverything(label: string): Promise<void> {
clearRequestLog();
}
-async function invokeTauri<T = unknown>(
- command: string,
- payload: Record<string, unknown> = {}
-): Promise<{ __ok?: T; __error?: string }> {
- return (await browser.executeAsync(
- (cmd, args, done) => {
- const invoke = (window as any).__TAURI_INTERNALS__?.invoke;
- if (typeof invoke !== 'function') {
- done({ __error: 'window.__TAURI_INTERNALS__.invoke not available' });
- return;
- }
- invoke(cmd, args)
- .then((result: unknown) => done({ __ok: result }))
- .catch((err: unknown) =>
- done({ __error: err instanceof Error ? err.message : String(err) })
- );
- },
- command,
- payload
- )) as { __ok?: T; __error?: string };
-}
-
describe('Mega flow — login + Gmail OAuth + Composio in one session', () => {
before(async function beforeSuite() {
this.timeout(90_000);