Skip to content

autoqa plan 每次都会失败 #2

@pengxiang01

Description

@pengxiang01

这是我的
autoqa.config.json {
"schemaVersion": 1,
"guardrails": {
"maxToolCallsPerSpec": 200,
"maxConsecutiveErrors": 8,
"maxRetriesPerStep": 5
},
"exportDir": "tests/autoqa",
"plan": {
"baseUrl": "http://127.0.0.1:10086/#",
"maxDepth": 3,
"maxPages": 50,
"includePatterns": ["/lattePrinter"],
"excludePatterns": ["/dashboard", "/develop", "/components", "/dymaic","/permission","/system","/cms","/member"],
"testTypes": ["functional", "form", "navigation", "responsive", "boundary", "security"],
"auth": {
"loginUrl": "http://127.0.0.1:10086/#/login",
"username": "catch@admin.com",
"password": "catchadmin"
},
"guardrails": {
"maxAgentTurnsPerRun": 1000,
"maxSnapshotsPerRun": 500,
"maxPagesPerRun": 100,
"maxTokenPerRun": 5000000
}
}
}
这是测试日志:
zero@192 malong-servers % autoqa plan
🔍 Starting exploration...
[explore] Finished iterating over response
[explore] Total messages processed: 106
[explore] Total turns processed: 106
[explore] Last error: None
[explore] Agent output length: 27811
[explore] Agent output preview (first 1000 chars):
I'll start by navigating to the login URL and taking a snapshot to see the login form structure.
I can see the login form is already filled with the credentials. Now I'll click the login button to submit the form.
Great! Login was successful. I'm now on the dashboard page. I can see there are multiple menu items available. Let me start exploring the navigation systematically. I'll click through each main menu item to discover the pages.
I can see the "开发工具" menu has expanded to show two sub-items: "模块管理" and "Schemas". Let me click on "模块管理" first.
Good! I can see the Module Management page. Now let me click on "Schemas" under the Development Tools menu.
Now let me explore the "组件演示" (Component Demo) menu item.
Good! The Component Demo menu has expanded to show 7 sub-items. Let me click on "动态表单" (Dynamic Form) to continue exploring.
Good! The Dynamic Form menu has expanded with 2 sub-items. Now let me explore "权限管理" (Permission Management).
Good! The Permission Management menu has 5 s
[explore] Agent output preview (last 500 chars):
rom": "p1", "to": "p2", "trigger": "submit", "elementRef": "e5"},
{"from": "p2", "to": "p3", "trigger": "click", "elementRef": "e7"},
{"from": "p3", "to": "p4", "trigger": "click", "elementRef": "e30"},
{"from": "p2", "to": "p5", "trigger": "click", "elementRef": "e14"},
{"from": "p2", "to": "p6", "trigger": "click", "elementRef": "e10"},
{"from": "p2", "to": "p7", "trigger": "click", "elementRef": "e11"}
],
"loginStatus": {
"attempted": true,
"ok": true
}
}


✅ Exploration completed
📊 Pages visited: 7
📁 Exploration results: .autoqa/runs/b590e60c-eb10-4380-98cc-f518a8746e3a/plan-explore/

📋 Generating test cases...
❌ Plan command failed: Planner Agent returned no test cases in TestPlan
zero@192 malong-servers % 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions