Files
FastapiAdmin/backend/tests/case/api/case.yaml
T
zhangtao 80263e98e1 feat: 重构前端项目结构并优化代码
refactor: 迁移前端资源文件至web目录
feat: 新增多种图标资源
style: 统一代码风格和格式化配置
docs: 更新README和文档说明
chore: 更新依赖和配置文件
fix: 修复部分类型定义和枚举
perf: 优化路由和组件加载逻辑
2026-05-01 01:01:17 +08:00

143 lines
5.2 KiB
YAML

Case:
- Test:
name: test_001_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_002_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_003_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_004_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_005_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_006_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_007_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_008_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_009_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true
- Test:
name: test_010_yaml
run: yes
type: json
request:
method: POST
url: $host/gateway/traceplan/trackPlan/getData
headers:
Content-Type: application/json;charset=UTF-8
token: $token
data: {"staSelect":"09100101","startTime":"2025-10-14 00:00:00","endTime":"2025-10-14 00:30:00","page":1,"limit":50,"showApplication":true,"trackStatus":"4"}
expected:
code: 200
isSuccess: true