qwen-code/integration-tests/terminal-capture/scenarios/bugfix-2833.ts
tanzhenxin dc833d9d94 feat: add bugfix workflow, test-engineer agent, and debugging skills
- Add test-engineer agent for bug reproduction and verification
- Add /qc:bugfix command for structured bugfix workflow
- Add e2e-testing skill covering headless/interactive modes, MCP testing
- Add structured-debugging skill for hypothesis-driven debugging
- Simplify AGENTS.md to focus on essential commands and conventions
- Add terminal-capture scenario for bugfix workflow testing
- Add .qwen folder to ESLint ignore list

Known limitations: The /qc:bugfix workflow and e2e-testing skill
are experimental and may be unstable or consume significant tokens.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-04 18:30:09 +08:00

24 lines
889 B
TypeScript

import type { ScenarioConfig } from '../scenario-runner.js';
/**
* Streaming capture for /qc:bugfix command on GitHub issue #2833.
* This scenario runs a long-running bugfix workflow with screenshots every 30 seconds
* to capture the full evolution of the debugging process.
*/
export default {
name: 'streaming-bugfix-2833',
spawn: ['node', 'dist/cli.js', '--yolo'],
terminal: { title: 'qwen-code', cwd: '../../..' },
flow: [
{
type: '/qc:bugfix https://github.com/QwenLM/qwen-code/issues/2833',
// Bugfix workflow is long-running (20+ minutes), capture throughout
streaming: {
delayMs: 10000, // Wait 10s for initial prompt processing
intervalMs: 30000, // Capture every 30 seconds
count: 50, // Up to 25 minutes of capture (50 * 30s)
gif: true, // Generate animated GIF
},
},
],
} satisfies ScenarioConfig;