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(playwright): ensure chat cancellation test is robust
Steven Enamakel167d1781299d
diff --git a/app/test/playwright/specs/chat-harness-cancel.spec.ts b/app/test/playwright/specs/chat-harness-cancel.spec.tsindex 14643721f2..7ad621c8f2 100644--- a/app/test/playwright/specs/chat-harness-cancel.spec.ts+++ b/app/test/playwright/specs/chat-harness-cancel.spec.ts@@ -141,9 +141,11 @@ test.describe('Chat Harness - Cancel', () => {.poll(async () => inFlightThreadKeys()).not.toContain(`::${threadId}`);await expect.poll(async () => page.locator('#root').innerText()).toContain('one two');+ await expect+ .poll(async () => (await selectedThreadTranscript(page)).content, { timeout: 10_000 })+ .toContain('one ');const transcript = await selectedThreadTranscript(page);- expect(transcript.content).toContain(PROMPT);- expect(transcript.content).toContain('one two');+ expect(transcript.content).toContain('one ');for (const piece of LATE_PIECES) expect(transcript.content).not.toContain(piece);const composer = page.getByTestId('chat-message-input');