添加 agentation 成功
This commit is contained in:
@@ -42,3 +42,12 @@ TEST_BASE_URL=http://localhost:8000 pytest tests/ -v
|
||||
| POST /api/projects/create | 无 token 401、非市场部 403、市场部且必填齐全 201、缺合同编号/项目名称 400、校验失败可含 errors 数组 |
|
||||
| POST /api/projects/update | 无 token 401、缺 id 400/422、存在项目 200 保存成功、不存在 404 |
|
||||
| POST /api/projects/logs | 无 token 401、缺 id 400/422、有 token 返回 list/total/page/pageSize、不存在项目 404、更新后有一条含 summary 的日志、列表项含 id/operatorId/operatorName/operatedAt/summary |
|
||||
|
||||
### E2E 流程(登录成功后 → 列表 → 创建 → 修改 → 日志)
|
||||
|
||||
| 用例 | 说明 |
|
||||
|------|------|
|
||||
| test_e2e_login_then_get_project_list | 登录成功后获取项目列表,返回 200 且含 list/total/page/pageSize |
|
||||
| test_e2e_login_then_create_project_then_list_includes_it | 登录(市场部)→ 创建项目 → 获取列表,列表中包含新建项目 |
|
||||
| test_e2e_login_then_create_then_detail_then_update_then_detail_reflects | 登录 → 创建 → 查详情 → 修改 → 再查详情,详情反映修改 |
|
||||
| test_e2e_login_then_create_and_update_then_logs_contain_record | 登录 → 创建 → 修改 → 获取操作日志,日志中含记录且含 summary |
|
||||
|
||||
Reference in New Issue
Block a user