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: expand tool cards before parity assertions
Steven Enamakel0cbc22f5cfbd
diff --git a/app/test/e2e/specs/chat-live-history-parity.spec.ts b/app/test/e2e/specs/chat-live-history-parity.spec.tsindex 3cd5124044..404ac0f9b2 100644--- a/app/test/e2e/specs/chat-live-history-parity.spec.ts+++ b/app/test/e2e/specs/chat-live-history-parity.spec.ts@@ -130,6 +130,25 @@ async function replyBlocks(): Promise<Block[]> {async function expandToolGroups(): Promise<void> {await clickToolGroupTrigger(0, '1 tool call');await clickToolGroupTrigger(1, '1 tool call');+ await browser.execute(() => {+ const messages = document.querySelectorAll('[data-testid="agent-message"]');+ const last = messages[messages.length - 1];+ last+ ?.querySelectorAll('[data-testid="assistant-ui-tool-call"] button[aria-expanded="false"]')+ .forEach(button => (button as HTMLButtonElement).click());+ });+ await browser.waitUntil(+ async () => {+ const blocks = await replyBlocks();+ const toolCalls = blocks+ .filter(block => block.kind === 'tool-group-root')+ .flatMap(block => block.toolCalls ?? []);+ return (+ toolCalls.length === 2 && toolCalls.every(toolCall => toolCall.input.trim().length > 0)+ );+ },+ { timeout: 5_000, timeoutMsg: 'tool call input details did not expand' }+ );}function hasFinalReply(blocks: Block[]): boolean {