Skip to content

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

refactor(e2e): remove unused notification waiting helper

Steven Enamakel4d598d20c61d
diff --git a/app/test/e2e/specs/notifications.spec.ts b/app/test/e2e/specs/notifications.spec.ts
index c3ac123eee..b1d18f1ded 100644
--- a/app/test/e2e/specs/notifications.spec.ts
+++ b/app/test/e2e/specs/notifications.spec.ts
@@ -3,10 +3,8 @@ import { browser, expect } from '@wdio/globals';
import { waitForApp } from '../helpers/app-helpers';
import { callOpenhumanRpc } from '../helpers/core-rpc';
-import { dumpAccessibilityTree, waitForText } from '../helpers/element-helpers';
import { supportsExecuteScript } from '../helpers/platform';
import { resetApp } from '../helpers/reset-app';
-import { navigateViaHash } from '../helpers/shared-flows';
import { startMockServer, stopMockServer } from '../mock-server';
function stepLog(message: string, context?: unknown): void {
@@ -18,20 +16,6 @@ function stepLog(message: string, context?: unknown): void {
console.log(`[NotificationsE2E][${stamp}] ${message}`, JSON.stringify(context, null, 2));
}
-async function waitForNotificationsSections(timeout = 10_000): Promise<void> {
- await browser.waitUntil(
- async () =>
- (await browser.execute(() => {
- const integration = document.querySelector(
- '[data-testid="integration-notifications-section"]'
- );
- const system = document.querySelector('[data-testid="system-events-section"]');
- return integration !== null && system !== null;
- })) === true,
- { timeout, timeoutMsg: 'Notifications sections did not render in time' }
- );
-}
-
/**
* Poll the core ping/about RPC until it responds or the deadline expires.
* Fails fast if the sidecar is not reachable within the timeout.