diff --git a/packages/experimental/cua/tests/agent-scopes.spec.ts b/packages/experimental/cua/tests/agent-scopes.spec.ts index c561d11a6e..26568bca49 100644 --- a/packages/experimental/cua/tests/agent-scopes.spec.ts +++ b/packages/experimental/cua/tests/agent-scopes.spec.ts @@ -53,7 +53,7 @@ it('adds and removes CUA for existing and new PTC Agents without changing other await expect.poll(() => ctx.tools.get('cua', existing.agent)).toBeDefined() expect(ctx.tools.get('cua', standard.agent)).toBeUndefined() expect((await ctx.systemPrompt.assemble({ scope: existing.agent })).sections) - .toContainEqual(expect.objectContaining({ name: 'computer-use:dsh-cua', text: 'Fixture CUA guidance' })) + .toContainEqual(expect.objectContaining({ name: 'computer-use:dsh-cua', text: 'Fixture CUA guidance\n\nMaximum click holdMs: 5000 ms.' })) await ctx.agentPresets.select(existing.agent, 'ptc') expect(ctx.tools.schemas(existing.agent).filter(tool => tool.name === 'cua')).toHaveLength(1) const fresh = await create('fresh', 'ptc')