qwen-code/integration-tests/terminal-capture/scenarios/cron-loop.ts
tanzhenxin 707b06ca48 fix(cron): replace "Claude" with "Qwen Code" in tool messages
Also adds terminal capture test scenario for cron-loop feature.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-29 13:17:52 +08:00

17 lines
483 B
TypeScript

import type { ScenarioConfig } from '../scenario-runner.js';
/**
* Demonstrates the /loop skill and cron scheduling tools.
* Creates a recurring job, lists it, then clears all jobs.
*/
export default {
name: 'cron-loop',
spawn: ['node', 'dist/cli.js', '--yolo'],
terminal: { title: 'qwen-code', cwd: '../../..' },
flow: [
{ type: 'hi' },
{ type: '/loop 1m say hi to me' },
{ type: '/loop list' },
{ type: '/loop clear' },
],
} satisfies ScenarioConfig;