fix(smoke): s07/s08/s09/s12死路径修正——sdlc/ops/dist壳从未有agent/index.ui子路径(git全历史查证),真实壳是顶层index.ui;ops/dist软链是下划线目录(pipeline_ops/pipeline_dist),连字符路径403;human_todo_list.dspy不存在,真实待办端点my_todos.dspy;登录态实测四路径全200(2026-09-09生产部署前置发现,套件自b86b39e建立即带死用例)

This commit is contained in:
yumoqing 2026-09-09 15:00:51 +08:00
parent e249ed983b
commit f79de02ead

View File

@ -2,33 +2,137 @@
"_说明": "冒泡测试用例——增量部署后关键功能点验收。runner: deploy/dsmoke.py。auth=login 的用例先登录拿会话。expect: status 状态码 / contains 响应含串 / not_contains 不含串 / json_field 存在字段。凭据从环境变量 SMOKE_USER/SMOKE_PASS 读(不入库)。",
"base": "",
"cases": [
{"id": "s01", "name": "健康检查", "url": "/", "auth": "none",
"expect": {"status": 200}},
{"id": "s02", "name": "登录", "url": "/rbac/user/up_login.dspy", "method": "POST",
"body": {"username": "${SMOKE_USER}", "password": "${SMOKE_PASS}"}, "auth": "none",
"expect": {"status": 200, "not_contains": "password error"}},
{"id": "s03", "name": "主页壳", "url": "/", "auth": "login",
"expect": {"status": 200, "contains": "产线平台"}},
{"id": "s04", "name": "agent菜单", "url": "/pipeline_core/api/agent_menus.dspy", "auth": "login",
"expect": {"status": 200, "contains": "工作空间"}},
{"id": "s05", "name": "商机产线壳", "url": "/pipeline-opportunity/agent/index.ui", "auth": "login",
"expect": {"status": 200, "contains": "商机产线"}},
{"id": "s06", "name": "投标产线壳", "url": "/pipeline-bidding/agent/index.ui", "auth": "login",
"expect": {"status": 200, "contains": "投标产线"}},
{"id": "s07", "name": "开发产线壳", "url": "/pipeline-sdlc/agent/index.ui", "auth": "login",
"expect": {"status": 200}},
{"id": "s08", "name": "运营产线壳", "url": "/pipeline-ops/agent/index.ui", "auth": "login",
"expect": {"status": 200}},
{"id": "s09", "name": "营销产线壳", "url": "/pipeline-dist/agent/index.ui", "auth": "login",
"expect": {"status": 200}},
{"id": "s10", "name": "商机数据参考(爬虫平台连通)", "url": "/pipeline-opportunity/api/opp_references_popup.dspy", "auth": "login",
"expect": {"status": 200}},
{"id": "s11", "name": "项目管理列表", "url": "/pipeline_core/api/agent_menu_open.dspy", "method": "POST",
"body": {"menu": "workspace"}, "auth": "login",
"expect": {"status": 200}},
{"id": "s12", "name": "待办", "url": "/pipeline_core/api/human_todo_list.dspy", "auth": "login",
"expect": {"status": 200}},
{"id": "s13", "name": "i18n资源", "url": "/i18n/zh/i18n.json", "auth": "none",
"expect": {"status": 200, "contains": "产线"}}
{
"id": "s01",
"name": "健康检查",
"url": "/",
"auth": "none",
"expect": {
"status": 200
}
},
{
"id": "s02",
"name": "登录",
"url": "/rbac/user/up_login.dspy",
"method": "POST",
"body": {
"username": "${SMOKE_USER}",
"password": "${SMOKE_PASS}"
},
"auth": "none",
"expect": {
"status": 200,
"not_contains": "password error"
}
},
{
"id": "s03",
"name": "主页壳",
"url": "/",
"auth": "login",
"expect": {
"status": 200,
"contains": "产线平台"
}
},
{
"id": "s04",
"name": "agent菜单",
"url": "/pipeline_core/api/agent_menus.dspy",
"auth": "login",
"expect": {
"status": 200,
"contains": "工作空间"
}
},
{
"id": "s05",
"name": "商机产线壳",
"url": "/pipeline-opportunity/agent/index.ui",
"auth": "login",
"expect": {
"status": 200,
"contains": "商机产线"
}
},
{
"id": "s06",
"name": "投标产线壳",
"url": "/pipeline-bidding/agent/index.ui",
"auth": "login",
"expect": {
"status": 200,
"contains": "投标产线"
}
},
{
"id": "s07",
"name": "开发产线壳",
"url": "/pipeline-sdlc/index.ui",
"auth": "login",
"expect": {
"status": 200
}
},
{
"id": "s08",
"name": "运营产线壳",
"url": "/pipeline_ops/index.ui",
"auth": "login",
"expect": {
"status": 200
}
},
{
"id": "s09",
"name": "营销产线壳",
"url": "/pipeline_dist/index.ui",
"auth": "login",
"expect": {
"status": 200
}
},
{
"id": "s10",
"name": "商机数据参考(爬虫平台连通)",
"url": "/pipeline-opportunity/api/opp_references_popup.dspy",
"auth": "login",
"expect": {
"status": 200
}
},
{
"id": "s11",
"name": "项目管理列表",
"url": "/pipeline_core/api/agent_menu_open.dspy",
"method": "POST",
"body": {
"menu": "workspace"
},
"auth": "login",
"expect": {
"status": 200
}
},
{
"id": "s12",
"name": "待办",
"url": "/pipeline-sdlc/api/my_todos.dspy",
"auth": "login",
"expect": {
"status": 200
}
},
{
"id": "s13",
"name": "i18n资源",
"url": "/i18n/zh/i18n.json",
"auth": "none",
"expect": {
"status": 200,
"contains": "产线"
}
}
]
}
}