Skip to content

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

test(e2e): remove stray blank lines and dead test code

Steven Enamakel40d34b77551c
diff --git a/app/test/e2e/helpers/connector-contract.ts b/app/test/e2e/helpers/connector-contract.ts
index 31024403fd..c0820cff66 100644
--- a/app/test/e2e/helpers/connector-contract.ts
+++ b/app/test/e2e/helpers/connector-contract.ts
@@ -108,9 +108,6 @@ export function runConnectorContract(config: ConnectorContractConfig): void {
console.log(`${LOG} PASS: card opens its connection UI`);
});
-
-
-
it('failed connection shows error state, not blank screen', async function () {
this.timeout(60_000);
seedComposioConnection(slug, 'FAILED', failId);
@@ -187,7 +184,5 @@ export function runConnectorContract(config: ConnectorContractConfig): void {
await assertSessionNotNuked();
console.log(`${LOG} PASS: reconnect after expiry re-authorizes`);
});
-
-
});
}
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 e5055d2a5d..84a2d1e89a 100644
--- a/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts
+++ b/app/test/e2e/specs/chat-harness-subagent-continue.spec.ts
@@ -269,7 +269,6 @@ describe('Chat harness — orchestrator → subagent continuation flow', () => {
);
});
-
it('persisted thread file records the final orchestrator text', async () => {
const threadId = await getSelectedThreadId();
expect(typeof threadId).toBe('string');
diff --git a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts b/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
index 34811846fe..6cd1afc420 100644
--- a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
+++ b/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
@@ -166,5 +166,4 @@ describe('Chat harness — wallet flow', () => {
expect(content).toContain('"chain": "solana"');
expect(content).toContain('"chain": "tron"');
});
-
});
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 f962476171..9ad619f00c 100644
--- a/app/test/e2e/specs/chat-multi-tool-round.spec.ts
+++ b/app/test/e2e/specs/chat-multi-tool-round.spec.ts
@@ -26,12 +26,7 @@ import {
import { textExists } from '../helpers/element-helpers';
import { resetApp } from '../helpers/reset-app';
import { navigateViaHash } from '../helpers/shared-flows';
-import {
- clearRequestLog,
- setMockBehavior,
- startMockServer,
- stopMockServer,
-} from '../mock-server';
+import { clearRequestLog, setMockBehavior, startMockServer, stopMockServer } from '../mock-server';
const LOG_PREFIX = '[chat-multi-tool-round]';
const USER_ID = 'e2e-chat-multi-tool-round';
@@ -201,7 +196,6 @@ describe('Chat multi-tool round', () => {
console.log(`${LOG_PREFIX} T2.3: passed — canary visible`);
});
-
it('T2.5 — tool timeline has 2 entries (file_read before grep)', async () => {
console.log(`${LOG_PREFIX} T2.5: verifying timeline order`);
diff --git a/app/test/e2e/specs/chat-tool-call-flow.spec.ts b/app/test/e2e/specs/chat-tool-call-flow.spec.ts
index 569e075e3d..156cc8eafc 100644
--- a/app/test/e2e/specs/chat-tool-call-flow.spec.ts
+++ b/app/test/e2e/specs/chat-tool-call-flow.spec.ts
@@ -189,6 +189,4 @@ describe('Chat tool-call lifecycle', () => {
});
console.log(`${LOG_PREFIX} T1.3: passed — canary visible`);
});
-
-
});
diff --git a/app/test/e2e/specs/composio-triggers-flow.spec.ts b/app/test/e2e/specs/composio-triggers-flow.spec.ts
index 461eb3c7ce..3a4ac8070e 100644
--- a/app/test/e2e/specs/composio-triggers-flow.spec.ts
+++ b/app/test/e2e/specs/composio-triggers-flow.spec.ts
@@ -46,7 +46,6 @@ describe('Composio trigger section UI', () => {
await stopMockServer();
});
-
it('Triggers section renders in the Composio modal for an ACTIVE connection', async () => {
// Seed one active trigger so the modal shows both the enabled and
// available rows when it loads.
diff --git a/app/test/e2e/specs/connector-discord-composio.spec.ts b/app/test/e2e/specs/connector-discord-composio.spec.ts
index 150d586009..e8d44d1a65 100644
--- a/app/test/e2e/specs/connector-discord-composio.spec.ts
+++ b/app/test/e2e/specs/connector-discord-composio.spec.ts
@@ -67,10 +67,6 @@ describe('Discord (Composio) connector flow', () => {
console.log(`${LOG} PASS: card visible`);
});
-
-
-
-
it('failed connection shows error state, not blank screen', async function () {
this.timeout(60_000);
seedComposioConnection(TOOLKIT_SLUG, 'FAILED', 'c-discord-fail');
@@ -95,6 +91,4 @@ describe('Discord (Composio) connector flow', () => {
await assertSessionNotNuked();
console.log(`${LOG} PASS: expired auth does not log user out`);
});
-
-
});
diff --git a/app/test/e2e/specs/connector-github.spec.ts b/app/test/e2e/specs/connector-github.spec.ts
index 0f0e93a62e..21c44029b3 100644
--- a/app/test/e2e/specs/connector-github.spec.ts
+++ b/app/test/e2e/specs/connector-github.spec.ts
@@ -81,10 +81,6 @@ describe('GitHub Composio connector flow', () => {
console.log(`${LOG} PASS: card visible`);
});
-
-
-
-
it('failed connection shows error state, not blank screen', async function () {
this.timeout(60_000);
seedComposioConnection(TOOLKIT_SLUG, 'FAILED', 'c-github-fail');
@@ -108,6 +104,4 @@ describe('GitHub Composio connector flow', () => {
await assertSessionNotNuked();
console.log(`${LOG} PASS: expired auth does not log user out`);
});
-
-
});
diff --git a/app/test/e2e/specs/connector-gmail-composio.spec.ts b/app/test/e2e/specs/connector-gmail-composio.spec.ts
index df36708c8f..2814085543 100644
--- a/app/test/e2e/specs/connector-gmail-composio.spec.ts
+++ b/app/test/e2e/specs/connector-gmail-composio.spec.ts
@@ -62,7 +62,6 @@ describe('Gmail (Composio) connector flow', () => {
console.log(`${LOG} PASS: card visible`);
});
-
it('failed connection shows error state, not blank screen', async function () {
this.timeout(60_000);
seedComposioConnection(TOOLKIT_SLUG, 'FAILED', 'c-gmail-fail');
diff --git a/app/test/e2e/specs/connector-jira.spec.ts b/app/test/e2e/specs/connector-jira.spec.ts
index aa49ae813e..d35dc0bece 100644
--- a/app/test/e2e/specs/connector-jira.spec.ts
+++ b/app/test/e2e/specs/connector-jira.spec.ts
@@ -139,7 +139,6 @@ describe('Jira Composio connector flow', () => {
await assertSessionNotNuked();
});
-
it('failed connection shows error state, not blank screen', async function () {
this.timeout(60_000);
seedComposioConnection(TOOLKIT_SLUG, 'FAILED', 'c-jira-fail');
@@ -161,5 +160,4 @@ describe('Jira Composio connector flow', () => {
await assertSessionNotNuked();
console.log(`${LOG} PASS: expired auth does not log user out`);
});
-
});
diff --git a/app/test/e2e/specs/gmail-flow.spec.ts b/app/test/e2e/specs/gmail-flow.spec.ts
index b012135933..b9afbcc8b7 100644
--- a/app/test/e2e/specs/gmail-flow.spec.ts
+++ b/app/test/e2e/specs/gmail-flow.spec.ts
@@ -286,33 +286,19 @@ describe('Gmail Integration Flows', () => {
await navigateToHome();
console.log(`${LOG_PREFIX} 9.1.1 PASSED`);
});
-
-
});
// -------------------------------------------------------------------------
// 9.2 Permission Enforcement
// -------------------------------------------------------------------------
- describe('9.2 Permission Enforcement', () => {
-
-
-
-
-
- });
+ describe('9.2 Permission Enforcement', () => {});
// -------------------------------------------------------------------------
// 9.3 Email Processing
// -------------------------------------------------------------------------
- describe('9.3 Email Processing', () => {
-
-
-
-
-
- });
+ describe('9.3 Email Processing', () => {});
// -------------------------------------------------------------------------
// 9.4 Disconnect & Re-Run Setup
diff --git a/app/test/e2e/specs/harness-composio-tool-flow.spec.ts b/app/test/e2e/specs/harness-composio-tool-flow.spec.ts
index fc46b34c24..4c6cd955f1 100644
--- a/app/test/e2e/specs/harness-composio-tool-flow.spec.ts
+++ b/app/test/e2e/specs/harness-composio-tool-flow.spec.ts
@@ -220,10 +220,7 @@ describe('Harness — Composio tool-call prompt flow', () => {
// ── C1.2 — GitHub GITHUB_LIST_REPOS ──────────────────────────────────────
-
// ── C1.3 — Composio execute failure ──────────────────────────────────────
-
// ── C1.4 — Linear LINEAR_CREATE_ISSUE ────────────────────────────────────
-
});
diff --git a/app/test/playwright/specs/composio-triggers-flow.spec.ts b/app/test/playwright/specs/composio-triggers-flow.spec.ts
index 05de847a09..d34ceb8cf4 100644
--- a/app/test/playwright/specs/composio-triggers-flow.spec.ts
+++ b/app/test/playwright/specs/composio-triggers-flow.spec.ts
@@ -76,7 +76,6 @@ test.describe('Composio trigger section UI', () => {
await bootSkillsPage(page, 'pw-composio-triggers-' + testSlug);
});
-
test('renders the Triggers section in the Gmail modal', async ({ page }) => {
await setMockBehavior({
composioActiveTriggers: JSON.stringify([
diff --git a/app/test/playwright/specs/connector-gmail-composio.spec.ts b/app/test/playwright/specs/connector-gmail-composio.spec.ts
index f348e7b20b..f377f964f4 100644
--- a/app/test/playwright/specs/connector-gmail-composio.spec.ts
+++ b/app/test/playwright/specs/connector-gmail-composio.spec.ts
@@ -33,7 +33,6 @@ async function setMockBehavior(behavior: Record<string, unknown>) {
});
}
-
async function seedConnector(status: 'ACTIVE' | 'FAILED' | 'EXPIRED' = 'ACTIVE') {
await setMockBehavior({
composioToolkits: JSON.stringify([TOOLKIT_SLUG]),
@@ -144,7 +143,6 @@ async function openModal(page: Page) {
return dialog;
}
-
test.describe('Gmail connector', () => {
test.beforeEach(async ({ page }, testInfo) => {
const testSlug = testInfo.title.toLowerCase().replace(/[^a-z0-9]+/g, '-');
@@ -172,15 +170,4 @@ test.describe('Gmail connector', () => {
await expect(dialog).toContainText(CONNECTOR_NAME);
await assertSessionNotNuked(page);
});
-
-});
- const requests = await getRequestLog();
- const deleteReq = requests.find(
- request =>
- request.method === 'DELETE' &&
- request.url?.includes('/agent-integrations/composio/connections/')
- );
- expect(deleteReq).toBeDefined();
- await assertSessionNotNuked(page);
- });
});
diff --git a/app/test/playwright/specs/gmail-flow.spec.ts b/app/test/playwright/specs/gmail-flow.spec.ts
index 37b618bad6..a09113477c 100644
--- a/app/test/playwright/specs/gmail-flow.spec.ts
+++ b/app/test/playwright/specs/gmail-flow.spec.ts
@@ -130,6 +130,4 @@ test.describe('Gmail Integration Flows', () => {
/Auth expired|Reconnect/i
);
});
-
-
});
diff --git a/app/test/playwright/specs/notifications.spec.ts b/app/test/playwright/specs/notifications.spec.ts
index 732f30d329..ce3220072a 100644
--- a/app/test/playwright/specs/notifications.spec.ts
+++ b/app/test/playwright/specs/notifications.spec.ts
@@ -21,7 +21,6 @@ async function waitForNotificationsSections(page: Page): Promise<void> {
}
test.describe('Notifications', () => {
-
test('Notifications page renders integration notifications', async ({ page }) => {
const title = `PW Notification UI ${Date.now()}`;
const body = `Created by the notifications Playwright spec ${Date.now()}`;