From f79de02ead36c3db64db74f929e0a138777acf4c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 9 Sep 2026 15:00:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(smoke):=20s07/s08/s09/s12=E6=AD=BB=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=BF=AE=E6=AD=A3=E2=80=94=E2=80=94sdlc/ops/dist?= =?UTF-8?q?=E5=A3=B3=E4=BB=8E=E6=9C=AA=E6=9C=89agent/index.ui=E5=AD=90?= =?UTF-8?q?=E8=B7=AF=E5=BE=84(git=E5=85=A8=E5=8E=86=E5=8F=B2=E6=9F=A5?= =?UTF-8?q?=E8=AF=81),=E7=9C=9F=E5=AE=9E=E5=A3=B3=E6=98=AF=E9=A1=B6?= =?UTF-8?q?=E5=B1=82index.ui;ops/dist=E8=BD=AF=E9=93=BE=E6=98=AF=E4=B8=8B?= =?UTF-8?q?=E5=88=92=E7=BA=BF=E7=9B=AE=E5=BD=95(pipeline=5Fops/pipeline=5F?= =?UTF-8?q?dist),=E8=BF=9E=E5=AD=97=E7=AC=A6=E8=B7=AF=E5=BE=84403;human=5F?= =?UTF-8?q?todo=5Flist.dspy=E4=B8=8D=E5=AD=98=E5=9C=A8,=E7=9C=9F=E5=AE=9E?= =?UTF-8?q?=E5=BE=85=E5=8A=9E=E7=AB=AF=E7=82=B9my=5Ftodos.dspy;=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=80=81=E5=AE=9E=E6=B5=8B=E5=9B=9B=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=85=A8200(2026-09-09=E7=94=9F=E4=BA=A7=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E5=89=8D=E7=BD=AE=E5=8F=91=E7=8E=B0,=E5=A5=97=E4=BB=B6?= =?UTF-8?q?=E8=87=AAb86b39e=E5=BB=BA=E7=AB=8B=E5=8D=B3=E5=B8=A6=E6=AD=BB?= =?UTF-8?q?=E7=94=A8=E4=BE=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/smoke/cases.json | 162 +++++++++++++++++++++++++++++++++------- 1 file changed, 133 insertions(+), 29 deletions(-) diff --git a/deploy/smoke/cases.json b/deploy/smoke/cases.json index 4f871a9..2852922 100644 --- a/deploy/smoke/cases.json +++ b/deploy/smoke/cases.json @@ -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": "产线" + } + } ] -} +} \ No newline at end of file