Skip to content

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

fix(e2e): add spec for canceling chat harness

Steven Enamakeld69cc21c8d80
diff --git a/app/test/e2e/specs/chat-harness-cancel.spec.ts b/app/test/e2e/specs/chat-harness-cancel.spec.ts
index ecfb1720a2..46fdaf1d79 100644
--- a/app/test/e2e/specs/chat-harness-cancel.spec.ts
+++ b/app/test/e2e/specs/chat-harness-cancel.spec.ts
@@ -159,7 +159,7 @@ describe('Chat harness — mid-stream cancel', () => {
browser.execute(() => {
const stop = document.querySelector('[data-testid="stop-generation-button"]');
const ta = document.querySelector(
- 'textarea[placeholder="How can I help you today?"]'
+ 'textarea[placeholder="Send a message..."]'
) as HTMLTextAreaElement | null;
return !stop && !!ta && !ta.disabled;
}),
@@ -209,7 +209,7 @@ describe('Chat harness — mid-stream cancel', () => {
// The textarea must be re-enabled.
const composerEnabled = await browser.execute(() => {
const ta = document.querySelector(
- 'textarea[placeholder="How can I help you today?"]'
+ 'textarea[placeholder="Send a message..."]'
) as HTMLTextAreaElement | null;
return !!ta && !ta.disabled;
});