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): wait for chat composer\n\n
Steven Enamakel887fd65ba7fc
diff --git a/app/test/e2e/specs/skill-multi-round.spec.ts b/app/test/e2e/specs/skill-multi-round.spec.tsindex d059a79a5e..aeb137117f 100644--- a/app/test/e2e/specs/skill-multi-round.spec.ts+++ b/app/test/e2e/specs/skill-multi-round.spec.ts@@ -33,17 +33,16 @@ describe('Multi-round tool conversation smoke', () => {const hash = await browser.execute(() => window.location.hash);expect(String(hash)).toContain('/chat');- // Wait for rendered chat content, not only the always-mounted shell. Use- // textContent directly because tauri-driver's XPath text lookup can miss- // nested text nodes under WebKitGTK.+ // The welcome copy is optional while the thread is hydrating, so assert the+ // actual agent input surface rather than an empty-state string. Use the+ // host-owned walkthrough marker because tauri-driver's XPath text lookup+ // can miss nested text nodes under WebKitGTK.const chatReady = await browser.waitUntil(async () =>- (await browser.execute(() =>- (- document.querySelector('[data-testid="chat-messages-scroll"]')?.textContent ?? ''- ).includes('Your assistant is ready when you are')+ (await browser.execute(+ () => document.querySelector('[data-walkthrough="chat-agent-panel"]') !== null)) as boolean,- { timeout: 10_000, interval: 250, timeoutMsg: 'Chat ready content did not render' }+ { timeout: 10_000, interval: 250, timeoutMsg: 'Chat composer did not render' });expect(chatReady).toBe(true);});