From 1fa5ea3faaa780d0600057dbcb6685d45f599ac4 Mon Sep 17 00:00:00 2001 From: Chinesezjc Date: Thu, 24 Sep 2026 18:00:23 +0800 Subject: [PATCH] test: expect the Host Schedule tools in the legacy preset patch case The shipped Web bundle gives every live root Agent the Host Schedule tools, and every other scenario in this file that boots the shipped base/web bundle with the minimal preset expects ['bash', ...SCHEDULE_TOOLS]. This case uses the same bootWeb composition and adds only a settings patch, which does not change tool composition, so its ['bash'] expectation failed on every PR. --- apps/cli/tests/web-agent-presets.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/tests/web-agent-presets.e2e.ts b/apps/cli/tests/web-agent-presets.e2e.ts index 3766a01de6..7d3a25f9af 100644 --- a/apps/cli/tests/web-agent-presets.e2e.ts +++ b/apps/cli/tests/web-agent-presets.e2e.ts @@ -912,7 +912,7 @@ describe('a profile patch stored before Developer tools owned preset selection', setup: agentCtx => legacy.agentPresets.mount(agentCtx).then(() => undefined), }) try { - expect(toolNames(legacy, handle.agent)).toEqual(['bash']) + expect(toolNames(legacy, handle.agent)).toEqual(['bash', ...SCHEDULE_TOOLS]) } finally { await handle.dispose() }