The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(e2e): use stable shell marker in webhook flows\n\n
Steven Enamakel67a306505651
diff --git a/app/test/e2e/specs/webhooks-ingress-flow.spec.ts b/app/test/e2e/specs/webhooks-ingress-flow.spec.tsindex cb2ea9330a..bd95491865 100644--- a/app/test/e2e/specs/webhooks-ingress-flow.spec.ts+++ b/app/test/e2e/specs/webhooks-ingress-flow.spec.ts@@ -3,7 +3,6 @@ import { expect } from '@wdio/globals';import { waitForApp } from '../helpers/app-helpers';import { callOpenhumanRpc } from '../helpers/core-rpc';-import { textExists } from '../helpers/element-helpers';import { resetApp } from '../helpers/reset-app';import { clearRequestLog, startMockServer, stopMockServer } from '../mock-server';@@ -34,15 +33,12 @@ describe('Webhooks ingress surface (stub-level)', () => {});it('reaches the app shell after onboarding', async () => {- // Home.tsx: t('home.askAssistant') is the stable home page CTA button text.- // After the /home → /chat redirect (AppRoutes.tsx), the chat new-window hero- // renders t('home.statusOk') instead of the old CTA button.- const atHome =- (await textExists('Ask your assistant anything')) ||- (await textExists('Your device is connected')) ||- (await textExists('Your assistant is ready when you are')) ||- (await textExists('Type something below to get started'));- expect(atHome).toBe(true);+ // The assistant-ui chat view intentionally has no fixed greeting copy.+ // The authenticated sidebar is the stable shell marker after onboarding.+ const atShell = await browser.execute(+ () => document.querySelector('[data-testid="root-shell-sidebar"]') !== null+ );+ expect(atShell).toBe(true);});it('exposes the stub webhook RPC surface with stable result and log shapes', async () => {diff --git a/app/test/e2e/specs/webhooks-tunnel-flow.spec.ts b/app/test/e2e/specs/webhooks-tunnel-flow.spec.tsindex 2cd1ed59f0..31826c1511 100644--- a/app/test/e2e/specs/webhooks-tunnel-flow.spec.ts+++ b/app/test/e2e/specs/webhooks-tunnel-flow.spec.ts@@ -6,7 +6,6 @@*/import { waitForApp } from '../helpers/app-helpers';import { callOpenhumanRpc } from '../helpers/core-rpc';-import { textExists } from '../helpers/element-helpers';import { resetApp } from '../helpers/reset-app';import { navigateViaHash } from '../helpers/shared-flows';import { resetMockBehavior, startMockServer, stopMockServer } from '../mock-server';@@ -29,15 +28,12 @@ describe('Webhook controller surface and retired-route coverage', () => {});it('reached the logged-in shell after onboarding', async () => {- // Home.tsx: t('home.askAssistant') is the stable home page CTA button text.- // After the /home → /chat redirect (AppRoutes.tsx), the chat new-window hero- // renders t('home.statusOk') instead of the old CTA button.- const atHome =- (await textExists('Ask your assistant anything')) ||- (await textExists('Your device is connected')) ||- (await textExists('Your assistant is ready when you are')) ||- (await textExists('Type something below to get started'));- expect(atHome).toBe(true);+ // The assistant-ui chat view intentionally has no fixed greeting copy.+ // The authenticated sidebar is the stable shell marker after onboarding.+ const atShell = await browser.execute(+ () => document.querySelector('[data-testid="root-shell-sidebar"]') !== null+ );+ expect(atShell).toBe(true);});it('exposes backend tunnel CRUD', async () => {