Skip to content

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

fix(playwright): correct test to expect tool call in chat flow

Steven Enamakelecb861f9514a
diff --git a/app/test/playwright/specs/chat-tool-call-flow.spec.ts b/app/test/playwright/specs/chat-tool-call-flow.spec.ts
index 7daa31de30..5556e6c16e 100644
--- a/app/test/playwright/specs/chat-tool-call-flow.spec.ts
+++ b/app/test/playwright/specs/chat-tool-call-flow.spec.ts
@@ -189,7 +189,7 @@ test.describe('Chat Tool Call Flow', () => {
await expect(page.getByTestId('assistant-ui-tool-call')).toHaveCount(1);
const toolCard = page.getByTestId('assistant-ui-tool-call');
await expect(toolCard).toBeVisible();
- await expect(toolCard).toContainText('Fetched from the web');
+ await expect(toolCard).toContainText('Fetching example.com');
// Web-channel turns retain supervised access even if the stored config is
// wider. The external fetch is therefore cancelled without an approval
// surface, and must render its actual terminal state instead of a false